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.authentication.facebook.2.0.1.nupkg: 3 vulnerabilities (highest severity is: 9.2) reachable #45

Open
mend-for-jackfan.us.kg bot opened this issue Feb 1, 2025 · 0 comments
Labels
Mend: dependency security vulnerability Security vulnerability detected by Mend

Comments

@mend-for-jackfan.us.kg
Copy link
Contributor

Vulnerable Library - microsoft.aspnetcore.authentication.facebook.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

Found in HEAD commit: 169cda0ff1feb6d10abc920cb8a3bc3ba917f822

Vulnerabilities

CVE Severity CVSS Exploit Maturity EPSS Dependency Type Fixed in (microsoft.aspnetcore.authentication.facebook.2.0.1.nupkg version) Remediation Possible** Reachability
CVE-2021-26701 Critical 9.2 Unproven 14.7% system.text.encodings.web.4.4.0.nupkg Transitive N/A*

Reachable

CVE-2022-34716 High 8.2 Unproven 5.5% system.security.cryptography.xml.4.4.0.nupkg Transitive N/A*

Reachable

CVE-2020-1045 High 7.7 Proof of concept 0.1% 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.authentication.facebook.2.0.1.nupkg (Root Library)
    • microsoft.aspnetcore.authentication.oauth.2.0.1.nupkg
      • microsoft.aspnetcore.authentication.2.0.1.nupkg
        • microsoft.aspnetcore.dataprotection.2.0.1.nupkg
          • 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: 169cda0ff1feb6d10abc920cb8a3bc3ba917f822

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)
    -> Microsoft.AspNetCore.Routing.Internal.UriBuilderContextPooledObjectPolicy (Extension)
     -> Microsoft.AspNetCore.Routing.Internal.UriBuildingContext (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

Threat Assessment

Exploit Maturity: Unproven

EPSS: 14.7%

CVSS 4 Score Details (9.2)

Base Score Metrics:

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

Release Date: 2021-02-25

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

CVE-2022-34716

Vulnerable Library - system.security.cryptography.xml.4.4.0.nupkg

Provides classes to support the creation and validation of XML digital signatures. The classes in th...

Library home page: https://api.nuget.org/packages/system.security.cryptography.xml.4.4.0.nupkg

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

Path to vulnerable library: /home/wss-scanner/.nuget/packages/system.security.cryptography.xml/4.4.0/system.security.cryptography.xml.4.4.0.nupkg

Dependency Hierarchy:

  • microsoft.aspnetcore.authentication.facebook.2.0.1.nupkg (Root Library)
    • microsoft.aspnetcore.authentication.oauth.2.0.1.nupkg
      • microsoft.aspnetcore.authentication.2.0.1.nupkg
        • microsoft.aspnetcore.dataprotection.2.0.1.nupkg
          • system.security.cryptography.xml.4.4.0.nupkg (Vulnerable Library)

Found in HEAD commit: 169cda0ff1feb6d10abc920cb8a3bc3ba917f822

Found in base branch: master

Reachability Analysis

This vulnerability is potentially reachable

FxResources.System.Security.Cryptography.Xml.SR (Application)
  -> System.SR (Extension)
   -> System.Xml.XmlWriter (Extension)
    -> Newtonsoft.Json.Converters.XmlNodeConverter (Extension)
    ...
      -> Newtonsoft.Json.JsonTextReader (Extension)
       -> Newtonsoft.Json.Linq.JObject (Extension)
        -> ❌ dvcsharp_core_api.UsersController (Vulnerable Component)

Vulnerability Details

Microsoft is releasing this security advisory to provide information about a vulnerability in .NET Core 3.1 and .NET 6.0. An information disclosure vulnerability exists in .NET Core 3.1 and .NET 6.0 that could lead to unauthorized access of privileged information.

Affected software

  • Any .NET 6.0 application running on .NET 6.0.7 or earlier.
  • Any .NET Core 3.1 applicaiton running on .NET Core 3.1.27 or earlier.

Patches

Publish Date: 2022-08-09

URL: CVE-2022-34716

Threat Assessment

Exploit Maturity: Unproven

EPSS: 5.5%

CVSS 4 Score Details (8.2)

Base Score Metrics:

  • Exploitability Metrics:
    • Attack Vector: Network
    • Attack Complexity: High
    • 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: GHSA-2m65-m22p-9wjw

Release Date: 2022-08-09

Fix Resolution: Microsoft.AspNetCore.App.Runtime.linux-arm - 3.1.28,6.0.8;Microsoft.AspNetCore.App.Runtime.linux-arm64 - 3.1.28,6.0.8;Microsoft.AspNetCore.App.Runtime.linux-musl-arm - 3.1.28,6.0.8;Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 - 3.1.28,6.0.8;Microsoft.AspNetCore.App.Runtime.linux-musl-x64 - 3.1.28,6.0.8;Microsoft.AspNetCore.App.Runtime.linux-x64 - 3.1.28,6.0.8;Microsoft.AspNetCore.App.Runtime.osx-x64 - 3.1.28,6.0.8;Microsoft.AspNetCore.App.Runtime.win-arm - 3.1.28,6.0.8;Microsoft.AspNetCore.App.Runtime.win-arm64 - 3.1.28,6.0.8;Microsoft.AspNetCore.App.Runtime.win-x64 - 3.1.28,6.0.8;Microsoft.AspNetCore.App.Runtime.win-x86 - 3.1.28,6.0.8;System.Security.Cryptography.Xml - 4.7.1,6.0.1

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.authentication.facebook.2.0.1.nupkg (Root Library)
    • microsoft.aspnetcore.authentication.oauth.2.0.1.nupkg
      • microsoft.aspnetcore.authentication.2.0.1.nupkg
        • microsoft.aspnetcore.authentication.core.2.0.1.nupkg
          • microsoft.aspnetcore.http.2.0.1.nupkg (Vulnerable Library)

Found in HEAD commit: 169cda0ff1feb6d10abc920cb8a3bc3ba917f822

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

Threat Assessment

Exploit Maturity: Proof of concept

EPSS: 0.1%

CVSS 4 Score Details (7.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: GHSA-hxrm-9w7p-39cc

Release Date: 2020-09-11

Fix Resolution: Microsoft.AspNetCore.Http - 2.1.22. Microsoft.AspNetCore.App - 2.1.22, Microsoft.AspNetCore.App.Runtime - 3.1.8, Microsoft.Owin - 4.1.1

@mend-for-jackfan.us.kg mend-for-jackfan.us.kg bot added the Mend: dependency security vulnerability Security vulnerability detected by Mend label Feb 1, 2025
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