Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. authlib
  4. ›
  5. CVE-2024-37568

CVE-2024-37568: Authlib has algorithm confusion with asymmetric public keys

June 9, 2024 (updated June 10, 2024)

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

References

  • github.com/advisories/GHSA-5357-c2jx-v7qh
  • github.com/lepture/authlib
  • github.com/lepture/authlib/issues/654
  • github.com/pypa/advisory-database/tree/main/vulns/authlib/PYSEC-2024-52.yaml
  • nvd.nist.gov/vuln/detail/CVE-2024-37568

Code Behaviors & Features

Detect and mitigate CVE-2024-37568 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.3.1

Fixed versions

  • 1.3.1

Solution

Upgrade to version 1.3.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-327: Use of a Broken or Risky Cryptographic Algorithm

Source file

pypi/authlib/CVE-2024-37568.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:15 +0000.