Authlib has algorithm confusion with asymmetric public keys
High severity
GitHub Reviewed
Published
Jun 9, 2024
to the GitHub Advisory Database
•
Updated Aug 15, 2024
Description
Published by the National Vulnerability Database
Jun 9, 2024
Published to the GitHub Advisory Database
Jun 9, 2024
Reviewed
Jun 10, 2024
Last updated
Aug 15, 2024
lepture Authlib before 1.3.1 has algorithm confusion with asymmetric public keys. Unless an algorithm is specified in a jwt.decode call, HMAC verification is allowed with any asymmetric public key. (This is similar to CVE-2022-29217 and CVE-2024-33663.)
References