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.
Vulnerable Library - Newtonsoft.Json-10.0.3.21018.dll
Json.NET .NET 2.0
Library home page: https://api.nuget.org/packages/newtonsoft.json.10.0.3.nupkg
Path to vulnerable library: /packages/Newtonsoft.Json.10.0.3/lib/net20/Newtonsoft.Json.dll
Found in HEAD commit: d5c64a6a7baa8b9e8b6ace4f2594d5a52b4b99aa
Vulnerabilities
**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation
Details
CVE-2024-21907
### Vulnerable Libraries - Newtonsoft.Json-10.0.3.21018.dll, Newtonsoft.Json-10.0.3.21018.dll, Newtonsoft.Json-10.0.3.21018.dll, Newtonsoft.Json-10.0.3.21018.dll, Newtonsoft.Json-10.0.3.21018.dll, Newtonsoft.Json-10.0.3.21018.dll, Newtonsoft.Json-10.0.3.21018.dll, Newtonsoft.Json-10.0.3.21018.dll### Newtonsoft.Json-10.0.3.21018.dll
Json.NET .NET 2.0
Library home page: https://api.nuget.org/packages/newtonsoft.json.10.0.3.nupkg
Path to vulnerable library: /packages/Newtonsoft.Json.10.0.3/lib/net20/Newtonsoft.Json.dll
Dependency Hierarchy: - :x: **Newtonsoft.Json-10.0.3.21018.dll** (Vulnerable Library) ### Newtonsoft.Json-10.0.3.21018.dll
Json.NET Portable
Library home page: https://api.nuget.org/packages/newtonsoft.json.10.0.3.nupkg
Path to vulnerable library: /packages/Newtonsoft.Json.10.0.3/lib/portable-net45+win8+wp8+wpa81/Newtonsoft.Json.dll
Dependency Hierarchy: - :x: **Newtonsoft.Json-10.0.3.21018.dll** (Vulnerable Library) ### Newtonsoft.Json-10.0.3.21018.dll
Json.NET .NET Standard 1.0
Library home page: https://api.nuget.org/packages/newtonsoft.json.10.0.3.nupkg
Path to vulnerable library: /packages/Newtonsoft.Json.10.0.3/lib/netstandard1.0/Newtonsoft.Json.dll
Dependency Hierarchy: - :x: **Newtonsoft.Json-10.0.3.21018.dll** (Vulnerable Library) ### Newtonsoft.Json-10.0.3.21018.dll
Json.NET Portable .NET 4.0
Library home page: https://api.nuget.org/packages/newtonsoft.json.10.0.3.nupkg
Path to vulnerable library: /packages/Newtonsoft.Json.10.0.3/lib/portable-net40+sl5+win8+wp8+wpa81/Newtonsoft.Json.dll
Dependency Hierarchy: - :x: **Newtonsoft.Json-10.0.3.21018.dll** (Vulnerable Library) ### Newtonsoft.Json-10.0.3.21018.dll
Json.NET .NET 3.5
Library home page: https://api.nuget.org/packages/newtonsoft.json.10.0.3.nupkg
Path to vulnerable library: /packages/Newtonsoft.Json.10.0.3/lib/net35/Newtonsoft.Json.dll
Dependency Hierarchy: - :x: **Newtonsoft.Json-10.0.3.21018.dll** (Vulnerable Library) ### Newtonsoft.Json-10.0.3.21018.dll
Json.NET .NET 4.0
Library home page: https://api.nuget.org/packages/newtonsoft.json.10.0.3.nupkg
Path to vulnerable library: /packages/Newtonsoft.Json.10.0.3/lib/net40/Newtonsoft.Json.dll
Dependency Hierarchy: - :x: **Newtonsoft.Json-10.0.3.21018.dll** (Vulnerable Library) ### Newtonsoft.Json-10.0.3.21018.dll
Json.NET .NET Standard 1.3
Library home page: https://api.nuget.org/packages/newtonsoft.json.10.0.3.nupkg
Path to vulnerable library: /packages/Newtonsoft.Json.10.0.3/lib/netstandard1.3/Newtonsoft.Json.dll
Dependency Hierarchy: - :x: **Newtonsoft.Json-10.0.3.21018.dll** (Vulnerable Library) ### Newtonsoft.Json-10.0.3.21018.dll
Json.NET
Library home page: https://api.nuget.org/packages/newtonsoft.json.10.0.3.nupkg
Path to vulnerable library: /packages/Newtonsoft.Json.10.0.3/lib/net45/Newtonsoft.Json.dll
Dependency Hierarchy: - :x: **Newtonsoft.Json-10.0.3.21018.dll** (Vulnerable Library)
Found in HEAD commit: d5c64a6a7baa8b9e8b6ace4f2594d5a52b4b99aa
Found in base branch: master
### Vulnerability DetailsNewtonsoft.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.
Publish Date: 2024-01-03
URL: CVE-2024-21907
### CVSS 3 Score Details (7.5)Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: Unchanged - Impact Metrics: - Confidentiality Impact: None - Integrity Impact: None - Availability Impact: High
For more information on CVSS3 Scores, click here. ### Suggested FixType: Upgrade version
Origin: https://github.com/advisories/GHSA-5crp-9r3c-p9vr
Release Date: 2024-01-03
Fix Resolution: Newtonsoft.Json - 13.0.1
Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)