7.5
HIGH CVSS 3.1
CVE-2024-21907
Improper Handling of Exceptional Conditions in Newtonsoft.Json
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.

INFO

Published Date :

Jan. 3, 2024, 4:15 p.m.

Last Modified :

Nov. 21, 2024, 8:55 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2024-21907 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Newtonsoft json.net
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 HIGH [email protected]
CVSS 3.1 HIGH 134c704f-9b21-4f2e-91b3-4a467353bcc0
Solution
Update Newtonsoft.Json to version 13.0.1 or later to fix denial of service.
  • Update Newtonsoft.Json library to version 13.0.1 or later.
Public PoC/Exploit Available at Github

CVE-2024-21907 has a 4 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2024-21907 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2024-21907 weaknesses.

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

This is a list of artifacts from the GitHub Advisory Database where the corresponding JSON files are missing CVE identifiers, despite the fact that these artifacts are listed in the NVD (National Vulnerability Database). I cross-referenced the data, retrieved the missing CVEs, and compiled everything into a list.

Updated: 11 months, 1 week ago
0 stars 0 fork 0 watcher
Born at : Oct. 1, 2024, 9:03 p.m. This repo has been linked 99 different CVEs too.

SCA testing

C#

Updated: 1 year ago
0 stars 0 fork 0 watcher
Born at : Sept. 2, 2024, 1:04 p.m. This repo has been linked 3 different CVEs too.

None

C# Shell Dockerfile

Updated: 9 months, 4 weeks ago
1 stars 0 fork 0 watcher
Born at : June 29, 2024, 4:17 p.m. This repo has been linked 1 different CVEs too.

Little test project for generating a SBOM.

csharp cyclonedx sbom

C#

Updated: 1 year, 8 months ago
0 stars 0 fork 0 watcher
Born at : Jan. 5, 2024, 1:44 p.m. This repo has been linked 2 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2024-21907 vulnerability anywhere in the article.

  • CrowdStrike.com
September 2025 Patch Tuesday: Two Publicly Disclosed Zero-Days and Eight Critical Vulnerabilities Among 84 CVEs

Microsoft has addressed 84 vulnerabilities in its September 2025 security update release. This month's patches address two publicly disclosed zero-day vulnerabilities and eight Critical vulnerabilitie ... Read more

Published Date: Sep 10, 2025 (1 hour, 22 minutes ago)
  • CrowdStrike.com
September 2025 Patch Tuesday: Two Publicly Disclosed Zero-Days and Eight Critical Vulnerabilities Among 84 CVEs

Microsoft has addressed 84 vulnerabilities in its September 2025 security update release. This month's patches address two publicly disclosed zero-day vulnerabilities and eight Critical vulnerabilitie ... Read more

Published Date: Sep 10, 2025 (3 hours, 22 minutes ago)
  • The Register
This Patch Tuesday, SAP is the worst offender and Microsoft users can kinda chill

September’s Patch Tuesday won’t require Microsoft users to rapidly repair rancid software, but SAP users need to move fast to address extremely dangerous bugs. Microsoft did find two bugs worthy of ur ... Read more

Published Date: Sep 10, 2025 (6 hours, 48 minutes ago)
  • CrowdStrike.com
September 2025 Patch Tuesday: Two Publicly Disclosed Zero-Days and Eight Critical Vulnerabilities Among 84 CVEs

Microsoft has addressed 84 vulnerabilities in its September 2025 security update release. This month's patches address two publicly disclosed zero-day vulnerabilities and eight Critical vulnerabilitie ... Read more

Published Date: Sep 10, 2025 (8 hours, 22 minutes ago)
  • TheCyberThrone
Microsoft Patch Tuesday – September 2025

September 10, 2025Microsoft’s September 2025 Patch Tuesday is one of the year’s largest update releases, remediating 81 security vulnerabilities in Windows, Office, Azure, SQL Server, and more—includi ... Read more

Published Date: Sep 10, 2025 (9 hours, 14 minutes ago)
  • The Cyber Express
Microsoft Patch Tuesday September 2025 Fixes Risky Kernel Flaws

Three high-risk Windows kernel flaws were among the fixes included in Microsoft’s September 2025 Patch Tuesday updates released today. In all, the Patch Tuesday September 2025 updates included fixes f ... Read more

Published Date: Sep 09, 2025 (13 hours, 59 minutes ago)
  • Zero Day Initiative
The September 2025 Security Update Review

There’s a crispness in the air – at least here in North America – and with it comes the latest security patches from Adobe and Microsoft. Take a break from your scheduled activities and join us as we ... Read more

Published Date: Sep 09, 2025 (15 hours, 13 minutes ago)
  • BleepingComputer
Microsoft September 2025 Patch Tuesday fixes 81 flaws, two zero-days

Today is Microsoft's September 2025 Patch Tuesday, which includes security updates for 81 flaws, including two publicly disclosed zero-day vulnerabilities. This Patch Tuesday also fixes nine "Critical ... Read more

Published Date: Sep 09, 2025 (16 hours, 36 minutes ago)
  • CybersecurityNews
Microsoft September 2025 Patch Tuesday – 81 Vulnerabilities Fixed Including 22 RCE

Microsoft has released its September 2025 Patch Tuesday updates, addressing a total of 81 security vulnerabilities across its product suite. The security patches cover a wide range of software, includ ... Read more

Published Date: Sep 09, 2025 (17 hours, 8 minutes ago)

The following table lists the changes that have been made to the CVE-2024-21907 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://alephsecurity.com/2018/10/22/StackOverflowException/
    Added Reference https://alephsecurity.com/vulns/aleph-2018004
    Added Reference https://github.com/advisories/GHSA-5crp-9r3c-p9vr
    Added Reference https://github.com/JamesNK/Newtonsoft.Json/commit/7e77bbe1beccceac4fc7b174b53abfefac278b66
    Added Reference https://github.com/JamesNK/Newtonsoft.Json/issues/2457
    Added Reference https://github.com/JamesNK/Newtonsoft.Json/pull/2462
    Added Reference https://security.snyk.io/vuln/SNYK-DOTNET-NEWTONSOFTJSON-2774678
    Added Reference https://vulncheck.com/advisories/vc-advisory-GHSA-5crp-9r3c-p9vr
  • CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0

    Sep. 06, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 CISA-ADP AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Jan. 17, 2024

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
    Changed Reference Type https://alephsecurity.com/2018/10/22/StackOverflowException/ No Types Assigned https://alephsecurity.com/2018/10/22/StackOverflowException/ Exploit
    Changed Reference Type https://alephsecurity.com/vulns/aleph-2018004 No Types Assigned https://alephsecurity.com/vulns/aleph-2018004 Exploit
    Changed Reference Type https://github.com/advisories/GHSA-5crp-9r3c-p9vr No Types Assigned https://github.com/advisories/GHSA-5crp-9r3c-p9vr Third Party Advisory
    Changed Reference Type https://github.com/JamesNK/Newtonsoft.Json/commit/7e77bbe1beccceac4fc7b174b53abfefac278b66 No Types Assigned https://github.com/JamesNK/Newtonsoft.Json/commit/7e77bbe1beccceac4fc7b174b53abfefac278b66 Patch
    Changed Reference Type https://github.com/JamesNK/Newtonsoft.Json/issues/2457 No Types Assigned https://github.com/JamesNK/Newtonsoft.Json/issues/2457 Exploit, Issue Tracking, Third Party Advisory
    Changed Reference Type https://github.com/JamesNK/Newtonsoft.Json/pull/2462 No Types Assigned https://github.com/JamesNK/Newtonsoft.Json/pull/2462 Patch
    Changed Reference Type https://security.snyk.io/vuln/SNYK-DOTNET-NEWTONSOFTJSON-2774678 No Types Assigned https://security.snyk.io/vuln/SNYK-DOTNET-NEWTONSOFTJSON-2774678 Exploit, Third Party Advisory
    Changed Reference Type https://vulncheck.com/advisories/vc-advisory-GHSA-5crp-9r3c-p9vr No Types Assigned https://vulncheck.com/advisories/vc-advisory-GHSA-5crp-9r3c-p9vr Third Party Advisory
    Added CWE NIST CWE-755
    Added CPE Configuration OR *cpe:2.3:a:newtonsoft:json.net:*:*:*:*:*:*:*:* versions up to (excluding) 13.0.1
  • CVE Received by [email protected]

    Jan. 03, 2024

    Action Type Old Value New Value
    Added 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.
    Added Reference VulnCheck https://github.com/JamesNK/Newtonsoft.Json/issues/2457 [No types assigned]
    Added Reference VulnCheck https://github.com/JamesNK/Newtonsoft.Json/pull/2462 [No types assigned]
    Added Reference VulnCheck https://github.com/JamesNK/Newtonsoft.Json/commit/7e77bbe1beccceac4fc7b174b53abfefac278b66 [No types assigned]
    Added Reference VulnCheck https://alephsecurity.com/2018/10/22/StackOverflowException/ [No types assigned]
    Added Reference VulnCheck https://alephsecurity.com/vulns/aleph-2018004 [No types assigned]
    Added Reference VulnCheck https://security.snyk.io/vuln/SNYK-DOTNET-NEWTONSOFTJSON-2774678 [No types assigned]
    Added Reference VulnCheck https://github.com/advisories/GHSA-5crp-9r3c-p9vr [No types assigned]
    Added Reference VulnCheck https://vulncheck.com/advisories/vc-advisory-GHSA-5crp-9r3c-p9vr [No types assigned]
    Added CWE VulnCheck CWE-755
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 7.5
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact
Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

1.94 }} -0.58%

score

0.82331

percentile