NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2024-37568: Authlib has algorithm confusion with asymmetric public keys

highCVSS 3.1 7.4GHSA-5357-c2jx-v7qh

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

Published Jun 9, 2024 · Updated Nov 3, 2025

Affected packages

authlib

Ecosystem
PyPI
Affected
>= 0, < 1.3.1
Fixed in
1.3.1
Check
pip show authlib

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries