Security mailing lists by PureSourceCode

CVE-2024-37568

HIGH 7.5CVSS 3.1

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

Published
9 Jun 2024
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-284CWE-327CWE-347
Also known as
GHSA-5357-c2jx-v7qhPYSEC-2024-52
Sources
NVDJSONOSV GHSA-5357-c2jx-v7qhJSONOSV PYSEC-2024-52JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
OSV GitHub CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD authlib authlib
cpe:2.3:a:authlib:authlib:*:*:*:*:*:*:*:*
< 1.3.1 1.3.1
OSV PyPI authlib < 1.3.1 1.3.1

References

History

  • 25 Nov 2026 20:55 UTC · NVD: first stored (published 9 Jun 2024)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Jun 2024)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 9 Jun 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.