What’s Vulnerable › Vulnerabilities

CVE-2024-21907: Improper Handling of Exceptional Conditions in Newtonsoft.Json

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.

Affected products

How to fix

Upgrade to a fixed version: Newtonsoft Json.Net 13.0.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-21907 or the next vulnerability affects your stack