udayblearn1 / Demo4TestProject

0 stars 2 forks source link

swashbuckle.aspnetcore.6.2.3.nupkg: 1 vulnerabilities (highest severity is: 7.5) #8

Open mend-bolt-for-github[bot] opened 6 months ago

mend-bolt-for-github[bot] commented 6 months ago
Vulnerable Library - swashbuckle.aspnetcore.6.2.3.nupkg

Path to dependency file: /WebApplication1/WebApplication1.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/microsoft.extensions.apidescription.server/3.0.0/microsoft.extensions.apidescription.server.3.0.0.nupkg

Found in HEAD commit: d3eddf807ae25bde6bf525dc44904a47ce92143a

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (swashbuckle.aspnetcore.6.2.3.nupkg version) Remediation Possible**
CVE-2024-21907 High 7.5 microsoft.extensions.apidescription.server.3.0.0.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 - microsoft.extensions.apidescription.server.3.0.0.nupkg

MSBuild tasks and targets for build-time Swagger and OpenApi document generation This package was b...

Library home page: https://api.nuget.org/packages/microsoft.extensions.apidescription.server.3.0.0.nupkg

Path to dependency file: /WebApplication1/WebApplication1.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/microsoft.extensions.apidescription.server/3.0.0/microsoft.extensions.apidescription.server.3.0.0.nupkg

Dependency Hierarchy: - swashbuckle.aspnetcore.6.2.3.nupkg (Root Library) - :x: **microsoft.extensions.apidescription.server.3.0.0.nupkg** (Vulnerable Library)

Found in HEAD commit: d3eddf807ae25bde6bf525dc44904a47ce92143a

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

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)