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 :

Sept. 6, 2024, 7:35 p.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

3.9
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.

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
References to Advisories, Solutions, and Tools

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: 1 month, 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: 2 months, 1 week 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

Updated: 2 months, 2 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: 10 months, 1 week 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.

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 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.
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.

Exploit Prediction

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

0.27 }} -0.02%

score

0.68378

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability