CVE-2024-21907
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.
How to fix
- Newtonsoft.Json13.0.1 or later
- newtonsoft json.net13.0.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Newtonsoft.JsonNuGet | v < 13.0.1 | 13.0.1 |
| newtonsoft json.net | v < 13.0.1 | 13.0.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.