MichaelStevenson2207 / govuk-dotnet-core-template

Dot net core template app for Gov uk sites
MIT License
1 stars 0 forks source link

microsoft.visualstudio.web.codegeneration.design.7.0.6.nupkg: 5 vulnerabilities (highest severity is: 9.8) - autoclosed #17

Closed mend-bolt-for-github[bot] closed 1 month ago

mend-bolt-for-github[bot] commented 1 year ago
Vulnerable Library - microsoft.visualstudio.web.codegeneration.design.7.0.6.nupkg

Path to dependency file: /govuk-dotnet-core-template.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/system.net.http/4.3.0/system.net.http.4.3.0.nupkg

Found in HEAD commit: db482c304ccf5f485a2aff176b5eb012624fa53f

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (microsoft.visualstudio.web.codegeneration.design.7.0.6.nupkg version) Remediation Possible**
CVE-2024-0057 Critical 9.8 nuget.packaging.6.3.1.nupkg Transitive N/A*
CVE-2024-38095 High 7.5 system.formats.asn1.5.0.0.nupkg Transitive N/A*
CVE-2019-0820 High 7.5 system.text.regularexpressions.4.3.0.nupkg Transitive N/A*
CVE-2023-29337 High 7.1 detected in multiple dependencies Transitive N/A*
CVE-2018-8292 Medium 5.3 system.net.http.4.3.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-0057 ### Vulnerable Library - nuget.packaging.6.3.1.nupkg

NuGet's understanding of packages. Reading nuspec, nupkgs and package signing.

Library home page: https://api.nuget.org/packages/nuget.packaging.6.3.1.nupkg

Path to dependency file: /govuk-dotnet-core-template.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/nuget.packaging/6.3.1/nuget.packaging.6.3.1.nupkg

Dependency Hierarchy: - microsoft.visualstudio.web.codegeneration.design.7.0.6.nupkg (Root Library) - microsoft.visualstudio.web.codegenerators.mvc.7.0.6.nupkg - :x: **nuget.packaging.6.3.1.nupkg** (Vulnerable Library)

Found in HEAD commit: db482c304ccf5f485a2aff176b5eb012624fa53f

Found in base branch: main

### Vulnerability Details

NET, .NET Framework, and Visual Studio Security Feature Bypass Vulnerability

Publish Date: 2024-01-09

URL: CVE-2024-0057

### CVSS 3 Score Details (9.8)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://github.com/advisories/GHSA-68w7-72jg-6qpp

Release Date: 2024-01-09

Fix Resolution: NuGet.CommandLine - 5.11.6,6.0.6,6.3.4,6.4.3,6.6.2,6.7.1,6.8.1, NuGet.Packaging - 5.11.6,6.0.6,6.3.4,6.4.3,6.6.2,6.7.1,6.8.1

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2024-38095 ### Vulnerable Library - system.formats.asn1.5.0.0.nupkg

Provides classes that can read and write the ASN.1 BER, CER, and DER data formats. Commonly Used Ty...

Library home page: https://api.nuget.org/packages/system.formats.asn1.5.0.0.nupkg

Path to dependency file: /govuk-dotnet-core-template.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/system.formats.asn1/5.0.0/system.formats.asn1.5.0.0.nupkg

Dependency Hierarchy: - microsoft.visualstudio.web.codegeneration.design.7.0.6.nupkg (Root Library) - microsoft.visualstudio.web.codegenerators.mvc.7.0.6.nupkg - nuget.packaging.6.3.1.nupkg - system.security.cryptography.cng.5.0.0.nupkg - :x: **system.formats.asn1.5.0.0.nupkg** (Vulnerable Library)

Found in HEAD commit: db482c304ccf5f485a2aff176b5eb012624fa53f

Found in base branch: main

### Vulnerability Details

.NET and Visual Studio Denial of Service Vulnerability

Publish Date: 2024-07-09

URL: CVE-2024-38095

### 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-447r-wph3-92pm

Release Date: 2024-07-09

Fix Resolution: Microsoft.NetCore.App.Runtime - 6.0.32,8.0.7, System.Formats.Asn1 - 6.0.1,8.0.1

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2019-0820 ### Vulnerable Library - system.text.regularexpressions.4.3.0.nupkg

Provides the System.Text.RegularExpressions.Regex class, an implementation of a regular expression e...

Library home page: https://api.nuget.org/packages/system.text.regularexpressions.4.3.0.nupkg

Path to dependency file: /govuk-dotnet-core-template.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/system.text.regularexpressions/4.3.0/system.text.regularexpressions.4.3.0.nupkg

Dependency Hierarchy: - microsoft.visualstudio.web.codegeneration.design.7.0.6.nupkg (Root Library) - microsoft.visualstudio.web.codegenerators.mvc.7.0.6.nupkg - microsoft.visualstudio.web.codegeneration.7.0.6.nupkg - microsoft.visualstudio.web.codegeneration.entityframeworkcore.7.0.6.nupkg - microsoft.visualstudio.web.codegeneration.core.7.0.6.nupkg - microsoft.visualstudio.web.codegeneration.templating.7.0.6.nupkg - microsoft.visualstudio.web.codegeneration.utils.7.0.6.nupkg - microsoft.dotnet.scaffolding.shared.7.0.6.nupkg - microsoft.codeanalysis.csharp.features.4.4.0.nupkg - microsoft.codeanalysis.features.4.4.0.nupkg - microsoft.diasymreader.1.4.0.nupkg - netstandard.library.1.6.1.nupkg - system.xml.xdocument.4.3.0.nupkg - system.xml.readerwriter.4.3.0.nupkg - :x: **system.text.regularexpressions.4.3.0.nupkg** (Vulnerable Library)

Found in HEAD commit: db482c304ccf5f485a2aff176b5eb012624fa53f

Found in base branch: main

### Vulnerability Details

A denial of service vulnerability exists when .NET Framework and .NET Core improperly process RegEx strings, aka '.NET Framework and .NET Core Denial of Service Vulnerability'. This CVE ID is unique from CVE-2019-0980, CVE-2019-0981. Mend Note: After conducting further research, Mend has determined that CVE-2019-0820 only affects environments with versions 4.3.0 and 4.3.1 only on netcore50 environment of system.text.regularexpressions.nupkg.

Publish Date: 2019-05-16

URL: CVE-2019-0820

### 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-cmhx-cq75-c4mj

Release Date: 2019-05-16

Fix Resolution: System.Text.RegularExpressions - 4.3.1

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2023-29337 ### Vulnerable Libraries - nuget.common.6.3.1.nupkg, nuget.protocol.6.3.1.nupkg

### nuget.common.6.3.1.nupkg

Common utilities and interfaces for all NuGet libraries.

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

Path to dependency file: /govuk-dotnet-core-template.csproj

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

Dependency Hierarchy: - microsoft.visualstudio.web.codegeneration.design.7.0.6.nupkg (Root Library) - microsoft.visualstudio.web.codegenerators.mvc.7.0.6.nupkg - nuget.packaging.6.3.1.nupkg - nuget.configuration.6.3.1.nupkg - :x: **nuget.common.6.3.1.nupkg** (Vulnerable Library) ### nuget.protocol.6.3.1.nupkg

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

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

Path to dependency file: /govuk-dotnet-core-template.csproj

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

Dependency Hierarchy: - microsoft.visualstudio.web.codegeneration.design.7.0.6.nupkg (Root Library) - microsoft.visualstudio.web.codegenerators.mvc.7.0.6.nupkg - microsoft.visualstudio.web.codegeneration.7.0.6.nupkg - microsoft.visualstudio.web.codegeneration.entityframeworkcore.7.0.6.nupkg - microsoft.visualstudio.web.codegeneration.core.7.0.6.nupkg - microsoft.visualstudio.web.codegeneration.templating.7.0.6.nupkg - microsoft.visualstudio.web.codegeneration.utils.7.0.6.nupkg - microsoft.dotnet.scaffolding.shared.7.0.6.nupkg - nuget.projectmodel.6.3.1.nupkg - nuget.dependencyresolver.core.6.3.1.nupkg - :x: **nuget.protocol.6.3.1.nupkg** (Vulnerable Library)

Found in HEAD commit: db482c304ccf5f485a2aff176b5eb012624fa53f

Found in base branch: main

### Vulnerability Details

NuGet Client Remote Code Execution Vulnerability

Publish Date: 2023-06-14

URL: CVE-2023-29337

### CVSS 3 Score Details (7.1)

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

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

Step up your Open Source Security Game with Mend [here](https://www.whitesourcesoftware.com/full_solution_bolt_github)
CVE-2018-8292 ### Vulnerable Library - system.net.http.4.3.0.nupkg

Provides a programming interface for modern HTTP applications, including HTTP client components that allow applications to consume web services over HTTP and HTTP components that can be used by both clients and servers for parsing HTTP headers.

Library home page: https://api.nuget.org/packages/system.net.http.4.3.0.nupkg

Path to dependency file: /govuk-dotnet-core-template.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/system.net.http/4.3.0/system.net.http.4.3.0.nupkg

Dependency Hierarchy: - microsoft.visualstudio.web.codegeneration.design.7.0.6.nupkg (Root Library) - microsoft.visualstudio.web.codegenerators.mvc.7.0.6.nupkg - microsoft.visualstudio.web.codegeneration.7.0.6.nupkg - microsoft.visualstudio.web.codegeneration.entityframeworkcore.7.0.6.nupkg - microsoft.visualstudio.web.codegeneration.core.7.0.6.nupkg - microsoft.visualstudio.web.codegeneration.templating.7.0.6.nupkg - microsoft.visualstudio.web.codegeneration.utils.7.0.6.nupkg - microsoft.dotnet.scaffolding.shared.7.0.6.nupkg - microsoft.codeanalysis.csharp.features.4.4.0.nupkg - microsoft.codeanalysis.features.4.4.0.nupkg - microsoft.diasymreader.1.4.0.nupkg - netstandard.library.1.6.1.nupkg - :x: **system.net.http.4.3.0.nupkg** (Vulnerable Library)

Found in HEAD commit: db482c304ccf5f485a2aff176b5eb012624fa53f

Found in base branch: main

### Vulnerability Details

An information disclosure vulnerability exists in .NET Core when authentication information is inadvertently exposed in a redirect, aka ".NET Core Information Disclosure Vulnerability." This affects .NET Core 2.1, .NET Core 1.0, .NET Core 1.1, PowerShell Core 6.0.

Publish Date: 2018-10-10

URL: CVE-2018-8292

### CVSS 3 Score Details (5.3)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Release Date: 2018-10-10

Fix Resolution: System.Net.Http - 4.3.4;Microsoft.PowerShell.Commands.Utility - 6.1.0-rc.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 1 month 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.