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

EcosystemPackageFixed inAdvisory
Debian:12python-authlib1.2.0-1+deb12u1DEBIAN-CVE-2024-37568
Debian:13python-authlib1.3.1-1DEBIAN-CVE-2024-37568
Debian:14python-authlib1.3.1-1DEBIAN-CVE-2024-37568
PyPIauthlib1.3.1PYSEC-2024-52
PyPIauthlib1.3.1GHSA-5357-c2jx-v7qh
Ubuntu:25.10python-authlibno fix listedUBUNTU-CVE-2024-37568
Ubuntu:26.10python-authlibno fix listedUBUNTU-CVE-2024-37568

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-284 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

References