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.)
[
{
"cpes": [
"cpe:2.3:a:lepture:authlib:*:*:*:*:*:*:*:*"
],
"vendor": "lepture",
"product": "authlib",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "1.3.1",
"versionType": "custom"
}
],
"defaultStatus": "unknown"
}
]
github.com/lepture/authlib/issues/654
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FHJI32SN4FNAUVNALVGOKWHNSQ6XS3M5/
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IZI7HYGN7VZAYFV6UV3SRLYF7QGERXIU/
www.vicarius.io/vsociety/posts/algorithm-confusion-in-lepture-authlib-cve-2024-37568