valdisiljuconoks / localization-provider-core

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

WS-2022-0161 (High) detected in newtonsoft.json.9.0.1.nupkg, newtonsoft.json.11.0.2.nupkg #107

Closed mend-bolt-for-github[bot] closed 2 years ago

mend-bolt-for-github[bot] commented 2 years ago

WS-2022-0161 - High Severity Vulnerability

Vulnerable Libraries - newtonsoft.json.9.0.1.nupkg, newtonsoft.json.11.0.2.nupkg

newtonsoft.json.9.0.1.nupkg

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

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

Path to dependency file: /tests/DbLocalizationProvider.AdminUI.AspNetCore.Tests/DbLocalizationProvider.AdminUI.AspNetCore.Tests.csproj

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

Dependency Hierarchy: - microsoft.testplatform.testhost.17.0.0.nupkg (Root Library) - :x: **newtonsoft.json.9.0.1.nupkg** (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: ae4b3d8ded6f17b8497fcc97507eaf71a4a64833

Found in base branch: master

Vulnerability Details

Improper Handling of Exceptional Conditions in Newtonsoft.Json. Newtonsoft.Json prior to version 13.0.1 is vulnerable to Insecure Defaults due to improper handling of StackOverFlow exception (SOE) whenever nested expressions are being processed. Exploiting this vulnerability results in Denial Of Service (DoS), and it is exploitable when an attacker sends 5 requests that cause SOE in time frame of 5 minutes. This vulnerability affects Internet Information Services (IIS) Applications.

Publish Date: 2022-06-22

URL: WS-2022-0161

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

Release Date: 2022-06-22

Fix Resolution: Newtonsoft.Json - 13.0.1;Microsoft.Extensions.ApiDescription.Server - 6.0.0


Step up your Open Source Security Game with Mend here

mend-bolt-for-github[bot] commented 2 years ago

:heavy_check_mark: This issue was automatically closed by Mend because the vulnerable library in the specific branch(es) was either marked as ignored or it is no longer part of the Mend inventory.

mend-bolt-for-github[bot] commented 2 years ago

:information_source: This issue was automatically re-opened by Mend because the vulnerable library in the specific branch(es) has been detected in the Mend inventory.