Public vulnerability disclosure

CVE-2024-21907

Improper Handling of Exceptional Conditions in Newtonsoft.Json

publishedCWE-755

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.

Technical severity7.5 highCVSS 3.1 · ADP: CISA-ADP
Published2024-01-03Source updated 2026-11-08
Collected2026-11-083 attributed sources

Fixes and workarounds

Fix

The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.

Source: CNA: VulnCheck

Fix

The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.

Source: CNA: VulnCheck

Fix

Newtonsoft.Json (NuGet): OSV reports a fixed version 13.0.1. Check the advisory for supported release branches.

Source: OSV GHSA-5crp-9r3c-p9vr

Affected products and versions

Affected products, source version ranges and reporting authorities
ProductVersionsAuthority


Newtonsoft.Json
nuget
≥ 0; < 13.0.1 (affected, semver 2.0.0)
Other versions: unaffected
CNA: VulnCheck
Newtonsoft.Json

Newtonsoft.Json
NuGet
10.0.1 (affected, NuGet)
10.0.1-beta1 (affected, NuGet)
10.0.2 (affected, NuGet)
10.0.3 (affected, NuGet)
11.0.1 (affected, NuGet)
11.0.1-beta1 (affected, NuGet)
11.0.1-beta2 (affected, NuGet)
11.0.1-beta3 (affected, NuGet)
11.0.2 (affected, NuGet)
12.0.1 (affected, NuGet)
12.0.1-beta1 (affected, NuGet)
12.0.1-beta2 (affected, NuGet)
12.0.2 (affected, NuGet)
12.0.2-beta1 (affected, NuGet)
12.0.2-beta2 (affected, NuGet)
12.0.2-beta3 (affected, NuGet)
12.0.3 (affected, NuGet)
12.0.3-beta1 (affected, NuGet)
12.0.3-beta2 (affected, NuGet)
13.0.1-beta1 (affected, NuGet)
13.0.1-beta2 (affected, NuGet)
3.5.8 (affected, NuGet)
4.0.1 (affected, NuGet)
4.0.2 (affected, NuGet)
4.0.3 (affected, NuGet)
4.0.4 (affected, NuGet)
4.0.5 (affected, NuGet)
4.0.6 (affected, NuGet)
4.0.7 (affected, NuGet)
4.0.8 (affected, NuGet)
4.5.1 (affected, NuGet)
4.5.10 (affected, NuGet)
4.5.11 (affected, NuGet)
4.5.2 (affected, NuGet)
4.5.3 (affected, NuGet)
4.5.4 (affected, NuGet)
4.5.5 (affected, NuGet)
4.5.6 (affected, NuGet)
4.5.7 (affected, NuGet)
4.5.8 (affected, NuGet)
4.5.9 (affected, NuGet)
5.0.1 (affected, NuGet)
5.0.2 (affected, NuGet)
5.0.3 (affected, NuGet)
5.0.4 (affected, NuGet)
5.0.5 (affected, NuGet)
5.0.6 (affected, NuGet)
5.0.7 (affected, NuGet)
5.0.8 (affected, NuGet)
6.0.1 (affected, NuGet)
6.0.1-beta1 (affected, NuGet)
6.0.2 (affected, NuGet)
6.0.3 (affected, NuGet)
6.0.4 (affected, NuGet)
6.0.5 (affected, NuGet)
6.0.6 (affected, NuGet)
6.0.7 (affected, NuGet)
6.0.8 (affected, NuGet)
7.0.1 (affected, NuGet)
7.0.1-beta1 (affected, NuGet)
7.0.1-beta2 (affected, NuGet)
7.0.1-beta3 (affected, NuGet)
8.0.1 (affected, NuGet)
8.0.1-beta1 (affected, NuGet)
8.0.1-beta2 (affected, NuGet)
8.0.1-beta3 (affected, NuGet)
8.0.1-beta4 (affected, NuGet)
8.0.2 (affected, NuGet)
8.0.3 (affected, NuGet)
8.0.4-beta1 (affected, NuGet)
9.0.1 (affected, NuGet)
9.0.1-beta1 (affected, NuGet)
9.0.2-beta1 (affected, NuGet)
9.0.2-beta2 (affected, NuGet)
Ecosystem version events: introduced 0; fixed 13.0.1
Source events (ECOSYSTEM)
[
  {
    "introduced": "0"
  },
  {
    "fixed": "13.0.1"
  }
]

Other versions: unaffected
OSV GHSA-5crp-9r3c-p9vr

Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.

CVSS assessments

CVSS scores, vectors and reporting authorities
Version / scoreVectorAuthority
3.1 / 7.5
high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HADP: CISA-ADP

Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

References

For agents and automation

Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.

Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.

Endpoints and access details

https://api.y2.dev/api/v2/cyber/cves
https://api.y2.dev/api/v2/cyber/cves/{cveId}

A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.

For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.

Agent access JSON · OpenAPI · CVE API guide