valdisiljuconoks / localization-provider-core

Database driven localization provider for .NET applications (with administrative management UI)
Apache License 2.0
118 stars 22 forks source link

CVE-2024-21907 (High) detected in newtonsoft.json.11.0.2.nupkg #140

Closed mend-bolt-for-github[bot] closed 8 months ago

mend-bolt-for-github[bot] commented 8 months ago

CVE-2024-21907 - High Severity Vulnerability

Vulnerable Library - newtonsoft.json.11.0.2.nupkg

Json.NET is a popular high-performance JSON framework for .NET

Library home page: https://api.nuget.org/packages/newtonsoft.json.11.0.2.nupkg

Path to dependency file: /tests/DbLocalizationProvider.Core.AspNetSample/DbLocalizationProvider.Core.AspNetSample.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/newtonsoft.json/11.0.2/newtonsoft.json.11.0.2.nupkg

Dependency Hierarchy: - microsoft.visualstudio.web.codegeneration.design.5.0.2.nupkg (Root Library) - microsoft.visualstudio.web.codegenerators.mvc.5.0.2.nupkg - microsoft.visualstudio.web.codegeneration.5.0.2.nupkg - microsoft.visualstudio.web.codegeneration.entityframeworkcore.5.0.2.nupkg - microsoft.visualstudio.web.codegeneration.core.5.0.2.nupkg - :x: **newtonsoft.json.11.0.2.nupkg** (Vulnerable Library)

Found in HEAD commit: 1730dbd2fd2196e1c2c763b561de51bb6ca9ae0b

Found in base branch: master

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;Microsoft.Extensions.ApiDescription.Server - 6.0.0


Step up your Open Source Security Game with Mend here