{"cve":"CVE-2024-37568","nvd":{"published":"2024-06-09T19:15:52.323","modified":"2026-06-17T07:38:37.637","status":"Modified","description":"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.)","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5},"cwes":["CWE-347","CWE-284"],"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://github.com/lepture/authlib/issues/654"],"products":["authlib:authlib"],"source":"nvd","synced_at":"2026-10-19T21:51:20.603330631+00:00"},"epss":{"cve":"CVE-2024-37568","score":0.00388,"percentile":0.32899,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-5357-c2jx-v7qh","url":"https://osv.dev/vulnerability/GHSA-5357-c2jx-v7qh","summary":"Authlib has algorithm confusion with asymmetric public keys","modified":"2025-11-03T19:51:46.365561Z","packages":[{"ecosystem":"PyPI","name":"authlib","purl":"pkg:pypi/authlib","ranges":["<1.3.1"],"fixed":["1.3.1"]}]},{"id":"PYSEC-2024-52","url":"https://osv.dev/vulnerability/PYSEC-2024-52","summary":"","modified":"2026-06-10T17:00:37.089999360Z","packages":[{"ecosystem":"PyPI","name":"authlib","purl":"pkg:pypi/authlib","ranges":["<1.3.1"],"fixed":["1.3.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}