Nexmo / dotnet-skeleton-app

Sample .NET app to test environment setup
MIT License
0 stars 0 forks source link

microsoft.visualstudio.web.codegeneration.design.3.0.0.nupkg: 5 vulnerabilities (highest severity is: 8.1) #7

Open mend-for-github-com[bot] opened 2 years ago

mend-for-github-com[bot] commented 2 years ago
Vulnerable Library - microsoft.visualstudio.web.codegeneration.design.3.0.0.nupkg

Path to dependency file: /dotnet-skeleton-app.csproj

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

Found in HEAD commit: b6a7222f95cd8614a9edf80fbe0a0a861abf0566

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (microsoft.visualstudio.web.codegeneration.design.3.0.0.nupkg version) Remediation Possible** Reachability
CVE-2021-26701 High 8.1 Unproven 8.1% system.text.encodings.web.4.5.0.nupkg Transitive N/A*
CVE-2024-21907 High 7.5 Not Defined 0.3% newtonsoft.json.11.0.2.nupkg Transitive N/A*
CVE-2019-0820 High 7.5 Not Defined 0.2% system.text.regularexpressions.4.3.0.nupkg Transitive N/A*
CVE-2020-11022 Medium 6.9 Proof of concept 6.3% microsoft.visualstudio.web.codegenerators.mvc.3.0.0.nupkg Transitive N/A*
CVE-2018-8292 Medium 5.3 Not Defined 1.6% 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-2021-26701 ### Vulnerable Library - system.text.encodings.web.4.5.0.nupkg

Provides types for encoding and escaping strings for use in JavaScript, HyperText Markup Language (H...

Library home page: https://api.nuget.org/packages/system.text.encodings.web.4.5.0.nupkg

Path to dependency file: /dotnet-skeleton-app.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/system.text.encodings.web/4.5.0/system.text.encodings.web.4.5.0.nupkg

Dependency Hierarchy: - microsoft.visualstudio.web.codegeneration.design.3.0.0.nupkg (Root Library) - microsoft.visualstudio.web.codegenerators.mvc.3.0.0.nupkg - microsoft.visualstudio.web.codegeneration.3.0.0.nupkg - microsoft.visualstudio.web.codegeneration.entityframeworkcore.3.0.0.nupkg - microsoft.visualstudio.web.codegeneration.core.3.0.0.nupkg - microsoft.visualstudio.web.codegeneration.templating.3.0.0.nupkg - microsoft.aspnetcore.razor.runtime.2.2.0.nupkg - microsoft.aspnetcore.html.abstractions.2.2.0.nupkg - :x: **system.text.encodings.web.4.5.0.nupkg** (Vulnerable Library)

Found in HEAD commit: b6a7222f95cd8614a9edf80fbe0a0a861abf0566

Found in base branch: main

### Vulnerability Details

.NET Core Remote Code Execution Vulnerability

Publish Date: 2021-02-25

URL: CVE-2021-26701

### Threat Assessment

Exploit Maturity: Unproven

EPSS: 8.1%

### CVSS 3 Score Details (8.1)

Base Score Metrics: - Exploitability Metrics: - Attack Vector: Network - Attack Complexity: High - 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

Release Date: 2021-02-25

Fix Resolution: System.Text.Encodings.Web - 4.5.1,4.7.2,5.0.1

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: /dotnet-skeleton-app.csproj

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

Dependency Hierarchy: - microsoft.visualstudio.web.codegeneration.design.3.0.0.nupkg (Root Library) - microsoft.visualstudio.web.codegenerators.mvc.3.0.0.nupkg - microsoft.visualstudio.web.codegeneration.3.0.0.nupkg - microsoft.visualstudio.web.codegeneration.entityframeworkcore.3.0.0.nupkg - microsoft.visualstudio.web.codegeneration.core.3.0.0.nupkg - :x: **newtonsoft.json.11.0.2.nupkg** (Vulnerable Library)

Found in HEAD commit: b6a7222f95cd8614a9edf80fbe0a0a861abf0566

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 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

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: /dotnet-skeleton-app.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.3.0.0.nupkg (Root Library) - microsoft.visualstudio.web.codegenerators.mvc.3.0.0.nupkg - microsoft.visualstudio.web.codegeneration.3.0.0.nupkg - microsoft.visualstudio.web.codegeneration.entityframeworkcore.3.0.0.nupkg - microsoft.visualstudio.web.codegeneration.core.3.0.0.nupkg - microsoft.visualstudio.web.codegeneration.templating.3.0.0.nupkg - microsoft.visualstudio.web.codegeneration.utils.3.0.0.nupkg - nuget.frameworks.4.7.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: b6a7222f95cd8614a9edf80fbe0a0a861abf0566

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

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 0.2%

### 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

CVE-2020-11022 ### Vulnerable Library - microsoft.visualstudio.web.codegenerators.mvc.3.0.0.nupkg

Code Generators for ASP.NET Core MVC. Contains code generators for MVC Controllers and Views. This ...

Library home page: https://api.nuget.org/packages/microsoft.visualstudio.web.codegenerators.mvc.3.0.0.nupkg

Path to dependency file: /dotnet-skeleton-app.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/microsoft.visualstudio.web.codegenerators.mvc/3.0.0/microsoft.visualstudio.web.codegenerators.mvc.3.0.0.nupkg

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

Found in HEAD commit: b6a7222f95cd8614a9edf80fbe0a0a861abf0566

Found in base branch: main

### Vulnerability Details

In jQuery versions greater than or equal to 1.2 and before 3.5.0, passing HTML from untrusted sources - even after sanitizing it - to one of jQuery's DOM manipulation methods (i.e. .html(), .append(), and others) may execute untrusted code. This problem is patched in jQuery 3.5.0.

Publish Date: 2020-04-29

URL: CVE-2020-11022

### Threat Assessment

Exploit Maturity: Proof of concept

EPSS: 6.3%

### CVSS 3 Score Details (6.9)

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

For more information on CVSS3 Scores, click here.

### Suggested Fix

Type: Upgrade version

Origin: https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-11022

Release Date: 2020-04-29

Fix Resolution: jQuery - 3.5.0

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: /dotnet-skeleton-app.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.3.0.0.nupkg (Root Library) - microsoft.visualstudio.web.codegenerators.mvc.3.0.0.nupkg - microsoft.visualstudio.web.codegeneration.3.0.0.nupkg - microsoft.visualstudio.web.codegeneration.entityframeworkcore.3.0.0.nupkg - microsoft.visualstudio.web.codegeneration.core.3.0.0.nupkg - microsoft.visualstudio.web.codegeneration.templating.3.0.0.nupkg - microsoft.visualstudio.web.codegeneration.utils.3.0.0.nupkg - nuget.frameworks.4.7.0.nupkg - netstandard.library.1.6.1.nupkg - :x: **system.net.http.4.3.0.nupkg** (Vulnerable Library)

Found in HEAD commit: b6a7222f95cd8614a9edf80fbe0a0a861abf0566

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

### Threat Assessment

Exploit Maturity: Not Defined

EPSS: 1.6%

### 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