NetSight
high7.4

CVE-2024-37568

Authlib has algorithm confusion with asymmetric public keys

Impact

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.)

Affected packages

EcosystemPackageAffectedFixed in
pipauthlib>= 0, < 1.3.11.3.1

Affected products

VendorProductAffected versions
AuthlibAuthlib
before 1.3.1

Weakness classification

References