CVE-2024-21907
Improper Handling of Exceptional Conditions in Newtonsoft.Json
Summary
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package Newtonsoft.Json --version 13.0.1
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (1)
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| Newtonsoft.Json | nuget | 10.0.1, 10.0.1-beta1, 10.0.2, 10.0.3 (+70 more) | 13.0.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-755
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/JamesNK/Newtonsoft.Json/issues/2457WEB
- https://github.com/JamesNK/Newtonsoft.Json/pull/2462WEB
- https://github.com/JamesNK/Newtonsoft.Json/commit/7e77bbe1beccceac4fc7b174b53abfefac278b66WEB
- https://alephsecurity.com/2018/10/22/StackOverflowExceptionWEB
- https://alephsecurity.com/vulns/aleph-2018004WEB
- https://github.com/JamesNK/Newtonsoft.JsonPACKAGE
- https://security.snyk.io/vuln/SNYK-DOTNET-NEWTONSOFTJSON-2774678WEB
Frequently Asked Questions
- What is CVE-2024-21907?
- Improper Handling of Exceptional Conditions in Newtonsoft.Json This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2024-21907?
- CVE-2024-21907 affects Newtonsoft.Json. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2024-21907 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2026-64679HIGH
Atlantis Workspace Handling has Path Traversal that Allows Out-of-Bounds Directory Deletion/Creation
- CVE-2026-55839HIGH
Kestra vulnerable to stored XSS via custom Markdown [[link]] attribute injection
- CVE-2026-54347HIGH
Froxlor: Stored XSS in DNS TXT Record Content Allows Customer-to-Admin Account Takeover
- CVE-2026-63135HIGH
YOURLS has stored XSS in referrer statistics chart via crafted Referer header
- CVE-2026-63337HIGH
RabbitMQ Java client: Unvalidated Class.forName in JSON-RPC ProcedureDescription enables arbitrary class loading
- CVE-2026-54178HIGH
Laravel Backpack CRUD: Arbitrary file deletion via attacker-controlled clear_<attr>[] in HasUploadFields::uploadMultipleFilesToDisk
- CVE-2026-54167HIGH
Pipelines-as-Code GitHub App token request can be redirected via untrusted Enterprise Host header
- CVE-2026-54182HIGH
Laravel Backpack CRUD: OS command injection in Stats::makeCurlRequest via attacker-controlled Host header (pre-auth)
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies