CVE-2024-21907
Newtonsoft.Json Denial of Service
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.
Source :
[email protected]
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.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-21907
.
URL | Resource |
---|---|
https://alephsecurity.com/2018/10/22/StackOverflowException/ | Exploit |
https://alephsecurity.com/vulns/aleph-2018004 | Exploit |
https://github.com/JamesNK/Newtonsoft.Json/commit/7e77bbe1beccceac4fc7b174b53abfefac278b66 | Patch |
https://github.com/JamesNK/Newtonsoft.Json/issues/2457 | Exploit Issue Tracking Third Party Advisory |
https://github.com/JamesNK/Newtonsoft.Json/pull/2462 | Patch |
https://github.com/advisories/GHSA-5crp-9r3c-p9vr | Third Party Advisory |
https://security.snyk.io/vuln/SNYK-DOTNET-NEWTONSOFTJSON-2774678 | Exploit Third Party Advisory |
https://vulncheck.com/advisories/vc-advisory-GHSA-5crp-9r3c-p9vr | Third Party Advisory |
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.
SCA testing
C#
None
C# Shell Dockerfile
Little test project for generating a SBOM.
csharp cyclonedx sbom
C#
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
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