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
| Id | Name |
|---|---|
| CWE-347 | Improper Verification of Cryptographic Signature |
| CWE-284 | Improper Access Control |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/lepture/authlib/issues/654 | nvd | 2024-06-09 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| authlib:authlib | < 1.3.1 | no | nvd | /v1/products/authlib/authlib |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| lepture/authlib | issues, package | yes | /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