Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS01MzU3LWMyangtdjdxaM4AA83F

Authlib has algorithm confusion with asymmetric public keys

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.)

Permalink: https://github.com/advisories/GHSA-5357-c2jx-v7qh
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS01MzU3LWMyangtdjdxaM4AA83F
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 6 months ago
Updated: 3 months ago


CVSS Score: 7.4
CVSS vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Identifiers: GHSA-5357-c2jx-v7qh, CVE-2024-37568
References: Repository: https://github.com/lepture/authlib
Blast Radius: 24.7

Affected Packages

pypi:authlib
Dependent packages: 157
Dependent repositories: 2,180
Downloads: 15,303,773 last month
Affected Version Ranges: >= 0, < 1.3.1
Fixed in: 1.3.1
All affected versions: 0.2.1, 0.4.1, 0.5.1, 0.12.1, 0.14.1, 0.14.2, 0.14.3, 0.15.1, 0.15.2, 0.15.3, 0.15.4, 0.15.5, 0.15.6, 1.0.0, 1.0.1, 1.1.0, 1.2.0, 1.2.1, 1.3.0
All unaffected versions: 1.3.1, 1.3.2