CVE-2024-21907
CVE-2024-21907 is a high-severity vulnerability in Newtonsoft Json.net with a CVSS 3.x base score of 7.5. Its EPSS exploit-prediction score of 33% places it in the 98th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-755.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- EPSS exploit prediction: 33% (98th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2022-5935
- Weakness: CWE-755
- Affected product: Newtonsoft Json.net
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2024-21907?
- CVE-2024-21907 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2024-21907 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 33% (98th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-21907?
- CVE-2024-21907 affects Newtonsoft Json.net. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-21907?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2024-21907 have an EU (EUVD) identifier?
- Yes. CVE-2024-21907 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2022-5935.
- When was CVE-2024-21907 published?
- CVE-2024-21907 was published on 2024-01-03 and last updated on 2026-06-17.
References
- 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
- 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
Affected products (1)
- cpe:2.3:a:newtonsoft:json.net:*:*:*:*:*:*:*:*
Other CWE-755 (Improper Handling of Exceptional Conditions) vulnerabilities
- CVE-2025-34193 — Critical (CVSS 9.8): Vasion Print (formerly PrinterLogic) Virtual Appliance Host versions prior to 25.1.102 and Application versions prior…
- CVE-2025-10156 — Critical (CVSS 9.8): An Improper Handling of Exceptional Conditions vulnerability in the ZIP archive scanning component of mmaitre314…
- CVE-2021-42142 — Critical (CVSS 9.8): An issue was discovered in Contiki-NG tinyDTLS through master branch 53a0d97. DTLS servers mishandle the early use of a…
- CVE-2021-42141 — Critical (CVSS 9.8): An issue was discovered in Contiki-NG tinyDTLS through 2018-08-30. One incorrect handshake could complete with…
- CVE-2023-38406 — Critical (CVSS 9.8): bgpd/bgp_flowspec.c in FRRouting (FRR) before 8.4.3 mishandles an nlri length of zero, aka a "flowspec overflow."
- CVE-2022-23121 — Critical (CVSS 9.8): This vulnerability allows remote attackers to execute arbitrary code on affected installations of Netatalk.…
Browse all CWE-755 (Improper Handling of Exceptional Conditions) vulnerabilities →