CVE-2024-37568
HIGHAuthlib < 1.3.1 - Algorithm Confusion in JWT Verification
Title source: llmDescription
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 (5)
Core 5
Core References
Exploit, Issue Tracking
https://github.com/lepture/authlib/issues/654
Third Party Advisory
https://www.vicarius.io/vsociety/posts/algorithm-confusion-in-lepture-authlib-cve-2024-37568
Mailing List, Third Party Advisory vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IZI7HYGN7VZAYFV6UV3SRLYF7QGERXIU/
Mailing List, Third Party Advisory vendor-advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FHJI32SN4FNAUVNALVGOKWHNSQ6XS3M5/
Scores
CVSS v3
7.5
EPSS
0.0038
EPSS Percentile
29.8%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-284
CWE-347
Status
published
Products (2)
authlib/authlib
< 1.3.1
pypi/authlib
0 - 1.3.1PyPI
Published
Jun 09, 2024
Tracked Since
Feb 18, 2026