Skip to content
Fencer Vulns
high 7.5

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

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

Sources

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.