lukebrogan-mend / NuGetGallery

NuGet Gallery is a package repository that powers https://www.nuget.org. Use this repo for reporting NuGet.org issues.
Other
0 stars 0 forks source link

WS-2022-0161 (High) detected in newtonsoft.json.11.0.2.nupkg, newtonsoft.json.10.0.3.nupkg - autoclosed #43

Closed mend-for-github-com[bot] closed 1 year ago

mend-for-github-com[bot] commented 1 year ago

WS-2022-0161 - High Severity Vulnerability

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

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/NuGetGallery.WebUITests.ReadOnlyMode/NuGetGallery.WebUITests.ReadOnlyMode.csproj

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

Dependency Hierarchy: - NuGet.Services.Configuration-2.86.0 (Root Library) - NuGet.Services.KeyVault-2.86.0 - microsoft.azure.keyvault.3.0.5.nupkg - microsoft.rest.clientruntime.azure.3.3.18.nupkg - microsoft.rest.clientruntime.2.3.20.nupkg - :x: **newtonsoft.json.11.0.2.nupkg** (Vulnerable Library)

newtonsoft.json.10.0.3.nupkg

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

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

Path to dependency file: /tests/NuGetGallery.Core.Facts/NuGetGallery.Core.Facts.csproj

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

Dependency Hierarchy: - :x: **newtonsoft.json.10.0.3.nupkg** (Vulnerable Library)

Found in HEAD commit: f7868b07f506ab36aebd1f786f99d8f90f2f8723

Found in base branch: main

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


:rescue_worker_helmet: Automatic Remediation is available for this issue

mend-for-github-com[bot] commented 1 year 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.