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.
CVE-2024-21907 - High Severity Vulnerability
Vulnerable Library - newtonsoft.json.10.0.1.nupkg
Json.NET is a popular high-performance JSON framework for .NET
Library home page: https://api.nuget.org/packages/newtonsoft.json.10.0.1.nupkg
Path to dependency file: /src/VisualStudio/Tools/Test/OpenRiaServices.VisualStudio.DomainServices.Tools.Test.csproj
Path to vulnerable library: /home/wss-scanner/.nuget/packages/newtonsoft.json/10.0.1/newtonsoft.json.10.0.1.nupkg
Dependency Hierarchy: - EFCoreModels-1.0.0 (Root Library) - microsoft.entityframeworkcore.sqlserver.3.1.32.nupkg - microsoft.data.sqlclient.1.1.3.nupkg - microsoft.identitymodel.protocols.openidconnect.5.5.0.nupkg - microsoft.identitymodel.protocols.5.5.0.nupkg - microsoft.identitymodel.tokens.5.5.0.nupkg - :x: **newtonsoft.json.10.0.1.nupkg** (Vulnerable Library)
Found in HEAD commit: 2505fca835708b6a24650d21bd678cff09bb49e8
Found in base branch: main
Vulnerability Details
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.
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 Fix
Type: 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