GHSA-5357-c2jx-v7qh

Authlib has algorithm confusion with asymmetric public keys

En bref

Publiée
Mise à jour
CVE
CVE-2024-37568
Alias
PYSEC-2024-52
CVSS_V3
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

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

Paquets affectés

PaquetVersions
PyPI · authlibintroduced 0, fixed 1.3.1

Références

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database