Vulnerability · Published Jun 9, 2024 · Assigned by mitre
CVE-2024-37568
High 7.5
In plain English
A high-severity improper access control in the python-authlib package (Debian). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.4%top 66.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known
Official 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.)
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | python-authlib | 1.2.0-1+deb12u1 | DEBIAN-CVE-2024-37568 |
| Debian:13 | python-authlib | 1.3.1-1 | DEBIAN-CVE-2024-37568 |
| Debian:14 | python-authlib | 1.3.1-1 | DEBIAN-CVE-2024-37568 |
| PyPI | authlib | 1.3.1 | PYSEC-2024-52 |
| PyPI | authlib | 1.3.1 | GHSA-5357-c2jx-v7qh |
| Ubuntu:25.10 | python-authlib | no fix listed | UBUNTU-CVE-2024-37568 |
| Ubuntu:26.10 | python-authlib | no fix listed | UBUNTU-CVE-2024-37568 |
Affected products (as reported)
Weakness: CWE-284 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N