CVEfocus › CVE database › CVE-2024-21907

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

CVSS 7.5 HighEPSS 2.5% (higher than 85% of CVEs)Published 2024-01-03Updated 2026-11-08Assigner: VulnCheck

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.

CWE-755

What to do

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

4Fix pending
2Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04newtonsoft-jsonUnder investigationUBUNTU-CVE-2024-21907
Ubuntu 22.04newtonsoft-jsonUnder investigationUBUNTU-CVE-2024-21907
Ubuntu 20.04newtonsoft-jsonFix pendingUBUNTU-CVE-2024-21907
Ubuntu 18.04newtonsoft-jsonFix pendingUBUNTU-CVE-2024-21907
Ubuntu 16.04newtonsoft-jsonFix pendingUBUNTU-CVE-2024-21907
Ubuntu 14.04newtonsoft-jsonFix pending

What the vendor says

As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.