CVE-2024-21907
HIGH 7.5CVSS 3.1Improper Handling of Exceptional Conditions in Newtonsoft.Json
Newtonsoft.Json before version 13.0.1 is affected by a mishandling of exceptional conditions vulnerability. Crafted data that is passed to the JsonConvert.DeserializeObject method may trigger a StackOverflow exception resulting in denial of service. Depending on the usage of the library, an unauthenticated and remote attacker may be able to cause the denial of service condition.
- Published
- 3 Jan 2024
- Last modified
- 14 Jul 2026
- Assigned by
- disclosure@vulncheck.com
- NVD status
- Modified
- Weakness
- CWE-755
- Also known as
- GHSA-5crp-9r3c-p9vr
- Sources
- NVDJSONOSV GHSA-5crp-9r3c-p9vrJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | newtonsoft | json.netcpe:2.3:a:newtonsoft:json.net:*:*:*:*:*:*:*:* |
< 13.0.1 | 13.0.1 |
| OSV | NuGet | Newtonsoft.Json | < 13.0.1 | 13.0.1 |
References
- https://alephsecurity.com/2018/10/22/StackOverflowException/ · Exploit, WEB
- https://alephsecurity.com/vulns/aleph-2018004 · Exploit, WEB
- https://github.com/JamesNK/Newtonsoft.Json/commit/7e77bbe1beccceac4fc7b174b53abfefac278b66 · Patch, WEB
- https://github.com/JamesNK/Newtonsoft.Json/issues/2457 · Exploit, Issue Tracking, Third Party Advisory, WEB
- https://github.com/JamesNK/Newtonsoft.Json/pull/2462 · Patch, WEB
- https://github.com/advisories/GHSA-5crp-9r3c-p9vr · Third Party Advisory
- https://security.snyk.io/vuln/SNYK-DOTNET-NEWTONSOFTJSON-2774678 · Exploit, Third Party Advisory, WEB
- https://vulncheck.com/advisories/vc-advisory-GHSA-5crp-9r3c-p9vr · Third Party Advisory
- https://github.com/JamesNK/Newtonsoft.Json · PACKAGE
History
- 25 Nov 2026 20:37 UTC · NVD: first stored (published 3 Jan 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 Jun 2022)