udayblearn1 / Demo4TestProject

0 stars 2 forks source link

microsoft.testplatform.testhost.16.11.0.nupkg: 1 vulnerabilities (highest severity is: 7.5) - autoclosed #2

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

mend-bolt-for-github[bot] commented 6 months ago
Vulnerable Library - microsoft.testplatform.testhost.16.11.0.nupkg

Path to dependency file: /TestProject1/TestProject1.csproj

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

Found in HEAD commit: aa8652647143fe41a4ad32cd68e362d56d36ec82

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (microsoft.testplatform.testhost.16.11.0.nupkg version) Remediation Possible**
CVE-2024-21907 High 7.5 newtonsoft.json.9.0.1.nupkg Transitive N/A*

*For some transitive vulnerabilities, there is no version of direct dependency with a fix. Check the "Details" section below to see if there is a version of transitive dependency where vulnerability is fixed.

**In some cases, Remediation PR cannot be created automatically for a vulnerability despite the availability of remediation

Details

CVE-2024-21907 ### Vulnerable Library - 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: /TestProject1/TestProject1.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.16.11.0.nupkg (Root Library) - :x: **newtonsoft.json.9.0.1.nupkg** (Vulnerable Library)

Found in HEAD commit: aa8652647143fe41a4ad32cd68e362d56d36ec82

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](https://www.whitesourcesoftware.com/full_solution_bolt_github)
mend-bolt-for-github[bot] commented 6 months 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.