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

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

Affected products (1)

Other CWE-755 (Improper Handling of Exceptional Conditions) vulnerabilities

Browse all CWE-755 (Improper Handling of Exceptional Conditions) vulnerabilities →