VDB
Sign up
—

PYSEC-2024-52

Quick fix

PYSEC-2024-52 — authlib: upgrade to the fixed version with the command below.

pip install --upgrade 'authlib>=1.3.1'

Details

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

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/authlib
Introduced in: 0Fixed in: 1.3.1
Fixpip install --upgrade 'authlib>=1.3.1'

References