CVE-2024-21907 in the critical feed json
Improper Handling of Exceptional Conditions in Newtonsoft.Json
published 2022-06-22 4 y ago modified 2026-11-08 22 h ago also EUVD-2022-5935 , GHSA-5crp-9r3c-p9vr
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 32.9%
- EPSS 32.9% chance of exploitation in 30 days, percentile 98%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- nuget Newtonsoft.Json 13.0.1
- newtonsoft json.net 13.0.1
- github.com/JamesNK/Newtonsoft.Json@7e77bbe commit
- github.com/JamesNK/Newtonsoft.Json#2462 pull request
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
32.91% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/JamesNK/Newtonsoft.Json/issues/2457 referenced PoC, tagged "exploit" by a source, unverified
- alephsecurity.com https://alephsecurity.com/2018/10/22/StackOverflowException/ referenced PoC, tagged "exploit" by a source, unverified
- alephsecurity.com https://alephsecurity.com/vulns/aleph-2018004 referenced PoC, tagged "exploit" by a source, unverified
- security.snyk.io https://security.snyk.io/vuln/SNYK-DOTNET-NEWTONSOFTJSON-2774678 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| nuget | Newtonsoft.Json | <13.0.1 |
13.0.1 |
Classification
- Weakness
-
- CWE-755 Improper Handling of Exceptional Conditions
References
-
github.com
/JamesNK/Newtonsoft.Json/pull/2462
issue-tracking, patch, related, web
-
github.com
/JamesNK/Newtonsoft.Json/commit/7e77bbe1beccceac4fc7b174b53abfefac278b66
patch, related, web
-
github.com
/JamesNK/Newtonsoft.Json/issues/2457
issue-tracking, web, exploit, third-party-advisory
-
alephsecurity.com
/2018/10/22/StackOverflowException/
related, exploit
-
alephsecurity.com
/vulns/aleph-2018004
related, web, exploit
-
security.snyk.io
/vuln/SNYK-DOTNET-NEWTONSOFTJSON-2774678
related, web, exploit, third-party-advisory
-
github.com
/advisories/GHSA-5crp-9r3c-p9vr
vendor-advisory, third-party-advisory
-
vulncheck.com
/advisories/vc-advisory-GHSA-5crp-9r3c-p9vr
third-party-advisory
-
alephsecurity.com
/2018/10/22/StackOverflowException
web
-
github.com
/JamesNK/Newtonsoft.Json
package
Sources
- CVE List CVE-2024-21907
- GitHub Advisory GHSA-5crp-9r3c-p9vr
- NVD CVE-2024-21907
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.