CVE-2024-21907
published high CVSS 3.1 · 7.5Improper Handling of Exceptional Conditions in Newtonsoft.Json
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | Newtonsoft.Json0 to < 13.0.1 · Other versions: unaffected | Affected | Not stated | VulnCheck |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Newtonsoft.Json | 0 to < 13.0.1 (affected · semver 2.0.0)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-755 CWE-755 Improper Handling of Exceptional Conditions
References
8- https://alephsecurity.com/2018/10/22/StackOverflowException/
- https://alephsecurity.com/vulns/aleph-2018004
- https://github.com/JamesNK/Newtonsoft.Json/commit/7e77bbe1beccceac4fc7b174b53abfefac278b66
- https://github.com/JamesNK/Newtonsoft.Json/issues/2457
- https://github.com/JamesNK/Newtonsoft.Json/pull/2462
- GitHub Security Advisory (GHSA-5crp-9r3c-p9vr) https://github.com/advisories/GHSA-5crp-9r3c-p9vr
- https://security.snyk.io/vuln/SNYK-DOTNET-NEWTONSOFTJSON-2774678
- https://vulncheck.com/advisories/vc-advisory-GHSA-5crp-9r3c-p9vr
Provider assertions
3VulnCheck · cna
Improper Handling of Exceptional Conditions in Newtonsoft.Json
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 5d69f40a6708d06dd48bc3558d75d8ebb2b36e1b4f8c52abd7e60749f860e2f5
- Ingested
- 08 Nov 2026, 14:03:33 UTC
- Source record
- Official CVE record