Advisory

PYSEC-2024-52

Also known as: CVE-2024-37568, GHSA-5357-c2jx-v7qh

Summary

The record has no summary.

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

Severity

Not rated by the source.

Dates

Published
2024-06-09 19:15 UTC
Modified
2026-06-10 17:00 UTC

Affected packages and fixes

authlib

PyPI · All systems

Affected

  • introduced 0, fixed 1.3.1 (ecosystem)

Fixed versions

1.3.1

Fix

  • Fixed version 1.3.1
    pip install --upgrade authlib==1.3.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences