SecurityContext

CVE-2024-37568: Authlib - JWT Verification Bypass

  • Cve: CVE-2024-37568
  • Name: Authlib - JWT Verification Bypass
  • 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.)
  • Impact: Attackers can bypass JWT verification, potentially leading to impersonation or unauthorized access.
  • Remediation: Update to version 1.3.1 or later.
  • Vulnerability type: jwt_misconfiguration
  • Vulnerability impact: information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
  • Epss score: 0.00388
  • Epss percentile: 0.33605
  • Assignee: [email protected]
  • Published at: 2024-06-09T19:15:52Z
  • Age in days: 898
  • Modified at: 2026-06-17T07:38:37Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-37568
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-347Improper Verification of Cryptographic Signature
CWE-284Improper Access Control

Public exploits

UrlSourceAdded date
https://github.com/lepture/authlib/issues/654nvd2024-06-09

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/lepture/authlib/issues/654Exploit, Issue Tracking
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FHJI32SN4FNAUVNALVGOKWHNSQ6XS3M5/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IZI7HYGN7VZAYFV6UV3SRLYF7QGERXIU/
https://www.vicarius.io/vsociety/posts/algorithm-confusion-in-lepture-authlib-cve-2024-37568
https://lists.debian.org/debian-lts-announce/2025/10/msg00032.html

Products

ProductAffectedPlatform boundSourcesUrl
authlib:authlib< 1.3.1nonvd/v1/products/authlib/authlib

Projects

RepositoryLink kindsIndexedUrl
lepture/authlibissues, packageyes/v1/repositories/lepture/authlib

Index

  • Repositories: 110
  • Repositories high signal: 78
  • Packages: 1

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2024-06-09
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts