Vulnerability
CVE-2024-37568
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.)
9 advisories report this vulnerability, across 5 ecosystems.
Advisories
-
DEBIAN-CVE-2024-37568
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…
-
DLA-4352-1
python-authlib - security update
-
GHSA-5357-c2jx-v7qh
Authlib has algorithm confusion with asymmetric public keys
-
PYSEC-2024-52
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…
-
SUSE-SU-2024:2064-1
Security update for python-Authlib
-
UBUNTU-CVE-2024-37568
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…
-
USN-8065-1
python-authlib vulnerabilities
-
openSUSE-SU-2024:14035-1
python310-Authlib-1.3.1-1.1 on GA media
-
openSUSE-SU-2026:11614-1
python313-Authlib-1.7.2-3.1 on GA media
References
- https://github.com/lepture/authlib/issues/654
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FHJI32SN4FNAUVNALVGOKWHNSQ6XS3M5/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IZI7HYGN7VZAYFV6UV3SRLYF7QGERXIU/
- https://www.vicarius.io/vsociety/posts/algorithm-confusion-in-lepture-authlib-cve-2024-37568
- https://lists.debian.org/debian-lts-announce/2025/10/msg00032.html