Live threats

All CVEs / Newtonsoft

CVE-2024-21907Newtonsoft Json.net

High 7.5 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Json.net.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
newtonsoftjson.net< 13.0.1

Official sources

References

Links published by the sources. Open them with care.