Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

microsoft.aspnetcore.azureappservices.hostingstartup.2.0.1.nupkg: 3 vulnerabilities (highest severity is: 8.1) reachable #7

Open
dev-mend-for-github-com bot opened this issue Dec 5, 2024 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@dev-mend-for-github-com
Copy link

dev-mend-for-github-com bot commented Dec 5, 2024

Vulnerable Library - microsoft.aspnetcore.azureappservices.hostingstartup.2.0.1.nupkg

Path to dependency file: /dvcsharp-core-api.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/microsoft.aspnetcore.hosting/2.0.1/microsoft.aspnetcore.hosting.2.0.1.nupkg

Found in HEAD commit: 21f9b3d8a5499484535381f975f1b15ceb2519a9

Vulnerabilities

CVE Severity CVSS Dependency Type Fixed in (microsoft.aspnetcore.azureappservices.hostingstartup.2.0.1.nupkg version) Remediation Possible** Reachability
CVE-2021-26701 High 8.1 system.text.encodings.web.4.4.0.nupkg Transitive N/A*

Reachable

CVE-2018-0808 High 7.5 microsoft.aspnetcore.hosting.2.0.1.nupkg Transitive N/A*

Reachable

CVE-2020-1045 High 7.5 microsoft.aspnetcore.http.2.0.1.nupkg Transitive N/A*

Unreachable

*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.4.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.4.0.nupkg

Path to dependency file: /dvcsharp-core-api.csproj

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

Dependency Hierarchy:

  • microsoft.aspnetcore.azureappservices.hostingstartup.2.0.1.nupkg (Root Library)
    • microsoft.aspnetcore.hosting.abstractions.2.0.1.nupkg
      • microsoft.aspnetcore.http.abstractions.2.0.1.nupkg
        • system.text.encodings.web.4.4.0.nupkg (Vulnerable Library)

Found in HEAD commit: 21f9b3d8a5499484535381f975f1b15ceb2519a9

Found in base branch: master

Reachability Analysis

This vulnerability is potentially reachable

dvcsharp_core_api.Program (Application)
  -> Microsoft.AspNetCore.WebHost (Extension)
   -> Microsoft.Extensions.DependencyInjection.RoutingServiceCollectionExtensions (Extension)
    -> System.Text.Encodings.Web.UrlEncoder (Extension)
     -> ❌ System.Text.Encodings.Web.TextEncoder (Vulnerable Component)

Vulnerability Details

.NET Core Remote Code Execution Vulnerability

Publish Date: 2021-02-25

URL: CVE-2021-26701

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

Vulnerable Library - microsoft.aspnetcore.hosting.2.0.1.nupkg

ASP.NET Core hosting infrastructure and startup logic for web applications.

Library home page: https://api.nuget.org/packages/microsoft.aspnetcore.hosting.2.0.1.nupkg

Path to dependency file: /dvcsharp-core-api.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/microsoft.aspnetcore.hosting/2.0.1/microsoft.aspnetcore.hosting.2.0.1.nupkg

Dependency Hierarchy:

  • microsoft.aspnetcore.azureappservices.hostingstartup.2.0.1.nupkg (Root Library)
    • microsoft.aspnetcore.azureappservicesintegration.2.0.1.nupkg
      • microsoft.aspnetcore.hosting.2.0.1.nupkg (Vulnerable Library)

Found in HEAD commit: 21f9b3d8a5499484535381f975f1b15ceb2519a9

Found in base branch: master

Reachability Analysis

This vulnerability is potentially reachable

dvcsharp_core_api.Program (Application)
  -> Microsoft.AspNetCore.WebHost (Extension)
   -> Microsoft.AspNetCore.Hosting.WebHostBuilder (Extension)
    -> ❌ Microsoft.AspNetCore.Hosting.Internal.WebHost (Vulnerable Component)

Vulnerability Details

ASP.NET Core 1.0. 1.1, and 2.0 allow an elevation of privilege vulnerability due to how ASP.NET web applications handle web requests, aka "ASP.NET Core Elevation Of Privilege Vulnerability". This CVE is unique from CVE-2018-0784.

Publish Date: 2018-03-14

URL: CVE-2018-0808

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://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-0808

Release Date: 2018-03-14

Fix Resolution: Microsoft.AspNetCore.Server.IISIntegration - 2.1.0, Microsoft.AspNetCore.Hosting - 2.1.0

CVE-2020-1045

Vulnerable Library - microsoft.aspnetcore.http.2.0.1.nupkg

ASP.NET Core default HTTP feature implementations.

Library home page: https://api.nuget.org/packages/microsoft.aspnetcore.http.2.0.1.nupkg

Path to dependency file: /dvcsharp-core-api.csproj

Path to vulnerable library: /home/wss-scanner/.nuget/packages/microsoft.aspnetcore.http/2.0.1/microsoft.aspnetcore.http.2.0.1.nupkg

Dependency Hierarchy:

  • microsoft.aspnetcore.azureappservices.hostingstartup.2.0.1.nupkg (Root Library)
    • microsoft.aspnetcore.azureappservicesintegration.2.0.1.nupkg
      • microsoft.aspnetcore.hosting.2.0.1.nupkg
        • microsoft.aspnetcore.http.2.0.1.nupkg (Vulnerable Library)

Found in HEAD commit: 21f9b3d8a5499484535381f975f1b15ceb2519a9

Found in base branch: master

Reachability Analysis

The vulnerable code is unreachable

Vulnerability Details

A security feature bypass vulnerability exists in the way Microsoft ASP.NET Core parses encoded cookie names.

The ASP.NET Core cookie parser decodes entire cookie strings which could allow a malicious attacker to set a second cookie with the name being percent encoded.

The security update addresses the vulnerability by fixing the way the ASP.NET Core cookie parser handles encoded names.

Publish Date: 2020-09-11

URL: CVE-2020-1045

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: High
    • Availability Impact: None

For more information on CVSS3 Scores, click here.

Suggested Fix

Type: Upgrade version

Release Date: 2020-09-11

Fix Resolution: Microsoft.AspNetCore.App - 2.1.22, Microsoft.AspNetCore.All - 2.1.22,Microsoft.NETCore.App - 2.1.22, Microsoft.AspNetCore.Http - 2.1.22

@dev-mend-for-github-com dev-mend-for-github-com bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend
Projects
None yet
Development

No branches or pull requests

0 participants