CVE-2024-21907Newtonsoft Json.net
High 7.5 No auth needed
Follow: this CVE · Newtonsoft · Newtonsoft Json.net We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- 2.5% probability of exploitation in 30 days · percentile 85
- Auth required
- No
- Published
- Jan 3, 2024
- Updated
- Jul 14, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-755
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
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.
What to do
- Apply the vendor's security update for Json.net.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| NuGet | Newtonsoft.Json |
< 13.0.1 |
13.0.1 |
dotnet add package Newtonsoft.Json --version 13.0.1 |
Per OSV / GitHub Advisories (GHSA-5crp-9r3c-p9vr). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| newtonsoft | json.net | < 13.0.1 |
Official sources
References
Links published by the sources. Open them with care.
- alephsecurity.com Exploit
- alephsecurity.com Exploit
- github.com Patch
- github.com Exploit Issue Tracking Third Party Advisory
- github.com Patch
- github.com Third Party Advisory
- security.snyk.io Exploit Third Party Advisory
- vulncheck.com Third Party Advisory