CVE-2025-65015: joserfc - Information Disclosure
- Cve: CVE-2025-65015
- Name: joserfc - Information Disclosure
- Description: joserfc is a Python library that provides an implementation of several JSON Object Signing and Encryption (JOSE) standards. In versions from 1.3.3 to before 1.3.5 and from 1.4.0 to before 1.4.2, the ExceededSizeError exception messages are embedded with non-decoded JWT token parts and may cause Python logging to record an arbitrarily large, forged JWT payload. In situations where a misconfigured — or entirely absent — production-grade web server sits in front of a Python web application, an attacker may be able to send arbitrarily large bearer tokens in the HTTP request headers. When this occurs, Python logging or diagnostic tools (e.g., Sentry) may end up processing extremely large log messages containing the full JWT header during the joserfc.jwt.decode() operation. The same behavior also appears when validating claims and signature payload sizes, as the library raises joserfc.errors.ExceededSizeError() with the full payload embedded in the exception message. Since the payload is already fully loaded into memory at this stage, the library cannot prevent or reject it. This issue has been patched in versions 1.3.5 and 1.4.2.
- Impact: Attackers can cause logging of arbitrarily large JWT payloads, potentially leading to information disclosure or denial of service via log flooding.
- Remediation: Update to versions 1.3.5 or 1.4.2 or later.
- Vulnerability type: information_disclosure
- Vulnerability impact: information_disclosure, denial_of_service
- 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:N/A:H
- Epss score: 0.0044
- Epss percentile: 0.38977
- Assignee: [email protected]
- Published at: 2025-11-18T23:15:56Z
- Age in days: 371
- Modified at: 2026-10-18T20:10:00Z
- 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-2025-65015
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-770 | Allocation of Resources Without Limits or Throttling |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/authlib/joserfc/security/advisories/GHSA-frfh-8v73-gjg4 | nvd | 2025-11-18 |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| hsiaoming:joserfc | >= 1.4.0, < 1.4.2; >= 1.3.3, < 1.3.5 | no | nvd | /v1/products/hsiaoming/joserfc |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| authlib/joserfc | commit, fix, package, releases, security_advisory | yes | /v1/repositories/authlib/joserfc |
Index
- Repositories: 1
- Checked, none or zero: repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2025-11-18
- 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