Vulnerability in Newtonsoft Json.net
CVE-2024-21907
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 · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS: 0.329 (98.3th percentile), scored .
Moderate probability of exploitation in the next 30 days — watch for active exploitation reports. 98th percentile — 98.3% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.329 · newest: 0.329 · change: 0.000
Affected products
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/JamesNK/Newtonsoft.Json/issues/2457 (issue-tracking, Exploit, Third Party Advisory, Issue Tracking)
- github.com/JamesNK/Newtonsoft.Json/pull/2462 (issue-tracking, related, Patch)
- github.com/JamesNK/Newtonsoft.Json/commit/7e77bbe1beccceac4fc7b174b53abfefac278… (related, Patch, patch)
- alephsecurity.com/2018/10/22/StackOverflowException/ (related, Exploit)
- alephsecurity.com/vulns/aleph-2018004 (related, Exploit)
- security.snyk.io/vuln/SNYK-DOTNET-NEWTONSOFTJSON-2774678 (related, Exploit, Third Party Advisory)
- github.com/advisories/GHSA-5crp-9r3c-p9vr (vendor-advisory, Third Party Advisory, third-party-advisory)
- vulncheck.com/advisories/vc-advisory-GHSA-5crp-9r3c-p9vr (Third Party Advisory, third-party-advisory)
Frequently asked questions
- What is CVE-2024-21907?
- CVE-2024-21907 is a high-severity vulnerability in Newtonsoft Json.net, classified under Improper Handling of Exceptional Conditions. CVSS score: 7.5/10. Published 2024-01-03.
- How severe is CVE-2024-21907?
- High severity. CVSS v3 base score is 7.5 out of 10.
- Is CVE-2024-21907 known to be exploited?
- 8 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.