{"id":"CVE-2024-37568","published":"2024-06-09T00:00:00Z","modified":"2025-11-03T17:31:16Z","title":"lepture Authlib before 1.3.1 has algorithm confusion with asymmetric public keys","vendor":null,"product":null,"tier":"tail","description":{"text":"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.)","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00388,"percentile":0.33742,"provenance":"source"},"cwes":[{"id":"CWE-284","name":"Improper Access Control"}],"references":[{"url":"https://github.com/lepture/authlib/issues/654","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IZI7HYGN7VZAYFV6UV3SRLYF7QGERXIU/","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FHJI32SN4FNAUVNALVGOKWHNSQ6XS3M5/","tags":["vendor-advisory"]},{"url":"https://www.vicarius.io/vsociety/posts/algorithm-confusion-in-lepture-authlib-cve-2024-37568","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00032.html","tags":[]}],"priority":{"score":12.0,"factors":[{"name":"EPSS percentile","points":6.75},{"name":"CVSS severity","points":5.25}]},"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2024-08-15T15:15:48.042808Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"authlib","vulnerableRanges":["<1.3.1"],"patched":["1.3.1"],"from":["GHSA-5357-c2jx-v7qh","PYSEC-2024-52"],"provenance":"source"}],"summary":{"text":"The flaw is an algorithm confusion weakness in lepture Authlib versions before 1.3.1, affecting its JWT handling. When no algorithm is specified in a jwt.decode call, the library permits HMAC verification using any asymmetric public key. An attacker with network access and no authentication or user interaction can forge tokens that pass verification, which compromises integrity of the token-based access decisions, and no unusual configuration is required beyond the default of omitting an explicit algorithm.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:50:54Z"},"euvd":{"id":"EUVD-2024-0018","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-authlib-cve-2024-37568","parents":[{"from":"CVE-2022-29217","to":"CVE-2024-37568","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"(This is similar to CVE-2022-29217 and CVE-2024-33663.)","from":"CVE.org","in":"CVE-2024-37568"}]},{"from":"CVE-2024-33663","to":"CVE-2024-37568","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"(This is similar to CVE-2022-29217 and CVE-2024-33663.)","from":"CVE.org","in":"CVE-2024-37568"}]}],"children":[{"from":"CVE-2024-37568","to":"CVE-2026-114615","relation":"bypass","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"bypass","quote":"This is a bypass of the remediation for CVE-2024-37568.","from":"CVE.org","in":"CVE-2026-114615"}]}],"packageHistory":[{"cve":"CVE-2024-37568","published":"2024-06-09","fixed":"1.3.1","kev":false},{"cve":"CVE-2025-59420","published":"2025-09-22","fixed":"1.6.4","kev":false,"link":{"from":"CVE-2024-37568","to":"CVE-2025-59420","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:authlib","fromFixed":"1.3.1","toFixed":"1.6.4","daysApart":470}]}},{"cve":"CVE-2025-61920","published":"2025-10-10","fixed":"1.6.5","kev":false},{"cve":"CVE-2025-62706","published":"2025-10-22","fixed":"1.6.5","kev":false}],"package":"PyPI:authlib"}}