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

nuget.protocol.5.9.0.nupkg: 3 vulnerabilities (highest severity is: 8.7) #47

Open mend-for-github-com[bot] opened 1 year ago

mend-for-github-com[bot] commented 1 year ago
Vulnerable Library - nuget.protocol.5.9.0.nupkg

NuGet's implementation for interacting with feeds. Contains functionality for all feed types.

Library home page: https://api.nuget.org/packages/nuget.protocol.5.9.0.nupkg

Path to dependency file: /tests/VerifyMicrosoftPackage.Facts/VerifyMicrosoftPackage.Facts.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/nuget.protocol/5.9.0/nuget.protocol.5.9.0.nupkg

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (nuget.protocol.5.9.0.nupkg version) Remediation Possible** Reachability
CVE-2024-21907 High 8.7 Not Defined 0.3% newtonsoft.json.11.0.2.nupkg Transitive N/A*
CVE-2022-41032 High 8.5 Unproven 0.0% nuget.protocol.5.9.0.nupkg Direct NuGet.CommandLine - 4.9.6,5.7.3,5.9.3,5.11.3,6.0.3,6.2.2,6.3.1;NuGet.Commands - 4.9.6,5.7.3,5.9.3,5.11.3,6.0.3,6.2.2,6.3.1;NuGet.Protocol - 4.9.6,5.7.3,5.9.3,5.11.3,6.0.3,6.2.2,6.3.1
CVE-2023-29337 High 7.5 Unproven 1.0% detected in multiple dependencies Direct NuGet.CommandLine - 6.0.5,6.2.4,6.3.3,6.4.2,6.5.1,6.6.1, NuGet.Commands - 6.0.5,6.2.4,6.3.3,6.4.2,6.5.1,6.6.1, NuGet.Common - 6.0.5,6.2.4,6.3.3,6.4.2,6.5.1,6.6.1, NuGet.PackageManagement - 6.0.5,6.2.4,6.3.3,6.4.2,6.5.1,6.6.1, NuGet.Protocol - 6.0.5,6.2.4,6.3.3,6.4.2,6.5.1,6.6.1

*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.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.protocol.5.9.0.nupkg (Root Library) - nuget.packaging.5.9.0.nupkg - :x: **newtonsoft.json.11.0.2.nupkg** (Vulnerable Library)

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

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.3%

### CVSS 4 Score Details (8.7)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: Low - Privileges Required: None - User Interaction: None - Scope: N/A - Impact Metrics: - Confidentiality Impact: N/A - Integrity Impact: N/A - Availability Impact: N/A

For more information on CVSS4 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

CVE-2022-41032 ### Vulnerable Library - nuget.protocol.5.9.0.nupkg

NuGet's implementation for interacting with feeds. Contains functionality for all feed types.

Library home page: https://api.nuget.org/packages/nuget.protocol.5.9.0.nupkg

Path to dependency file: /tests/VerifyMicrosoftPackage.Facts/VerifyMicrosoftPackage.Facts.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/nuget.protocol/5.9.0/nuget.protocol.5.9.0.nupkg

Dependency Hierarchy: - :x: **nuget.protocol.5.9.0.nupkg** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

NuGet Client Elevation of Privilege Vulnerability.

Publish Date: 2022-10-11

URL: CVE-2022-41032

### Threat Assessment

Exploit Maturity: Unproven

EPSS: 0.0%

### CVSS 4 Score Details (8.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Local - Attack Complexity: Low - Privileges Required: Low - User Interaction: None - Scope: N/A - Impact Metrics: - Confidentiality Impact: N/A - Integrity Impact: N/A - Availability Impact: N/A

For more information on CVSS4 Scores, click here.

### Suggested Fix

Type: Upgrade version

Release Date: 2022-10-11

Fix Resolution: NuGet.CommandLine - 4.9.6,5.7.3,5.9.3,5.11.3,6.0.3,6.2.2,6.3.1;NuGet.Commands - 4.9.6,5.7.3,5.9.3,5.11.3,6.0.3,6.2.2,6.3.1;NuGet.Protocol - 4.9.6,5.7.3,5.9.3,5.11.3,6.0.3,6.2.2,6.3.1

In order to enable automatic remediation, please create workflow rules

CVE-2023-29337 ### Vulnerable Libraries - nuget.protocol.5.9.0.nupkg, nuget.common.5.9.0.nupkg

### nuget.protocol.5.9.0.nupkg

NuGet's implementation for interacting with feeds. Contains functionality for all feed types.

Library home page: https://api.nuget.org/packages/nuget.protocol.5.9.0.nupkg

Path to dependency file: /tests/VerifyMicrosoftPackage.Facts/VerifyMicrosoftPackage.Facts.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/nuget.protocol/5.9.0/nuget.protocol.5.9.0.nupkg

Dependency Hierarchy: - :x: **nuget.protocol.5.9.0.nupkg** (Vulnerable Library) ### nuget.common.5.9.0.nupkg

Common utilities and interfaces for all NuGet libraries.

Library home page: https://api.nuget.org/packages/nuget.common.5.9.0.nupkg

Path to dependency file: /tests/VerifyMicrosoftPackage.Facts/VerifyMicrosoftPackage.Facts.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/nuget.common/5.9.0/nuget.common.5.9.0.nupkg

Dependency Hierarchy: - nuget.protocol.5.9.0.nupkg (Root Library) - nuget.packaging.5.9.0.nupkg - nuget.configuration.5.9.0.nupkg - :x: **nuget.common.5.9.0.nupkg** (Vulnerable Library)

Found in base branch: main

### Vulnerability Details

NuGet Client Remote Code Execution Vulnerability

Publish Date: 2023-06-14

URL: CVE-2023-29337

### Threat Assessment

Exploit Maturity: Unproven

EPSS: 1.0%

### CVSS 4 Score Details (7.5)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - Privileges Required: Low - User Interaction: N/A - Scope: N/A - Impact Metrics: - Confidentiality Impact: N/A - Integrity Impact: N/A - Availability Impact: N/A

For more information on CVSS4 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-6qmf-mmc7-6c2p

Release Date: 2023-06-14

Fix Resolution: NuGet.CommandLine - 6.0.5,6.2.4,6.3.3,6.4.2,6.5.1,6.6.1, NuGet.Commands - 6.0.5,6.2.4,6.3.3,6.4.2,6.5.1,6.6.1, NuGet.Common - 6.0.5,6.2.4,6.3.3,6.4.2,6.5.1,6.6.1, NuGet.PackageManagement - 6.0.5,6.2.4,6.3.3,6.4.2,6.5.1,6.6.1, NuGet.Protocol - 6.0.5,6.2.4,6.3.3,6.4.2,6.5.1,6.6.1

In order to enable automatic remediation, please create workflow rules


In order to enable automatic remediation for this issue, please create workflow rules