GHSA-3m2r-q8x3-xmf7: Microsoft.AspNetCore.Server.Kestrel.Core Moderate Severity Vulnerability That Affects Vulnerability

MODERATE
Published
Advisory Summary

GHSA-3m2r-q8x3-xmf7 is a MODERATE moderate severity vulnerability that affects vulnerability (General Security Weakness) affecting Microsoft.AspNetCore.Server.Kestrel.Core libraries in the NuGet ecosystem. The issue involves moderate severity vulnerability that affects microsoft.aspnetcore.all, microsoft.aspnetcore.server.kestrel.core, microsoft.aspnetcore.server.kestrel.transport.abstractions, and microsoft.aspnetcore.server.kestrel.transport.libuv. Remediation is available by upgrading affected packages to version 2.0.3, 2.0.8.

GHSA-3m2r-q8x3-xmf7 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-3m2r-q8x3-xmf7
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification General Security Weakness
Affected Product Microsoft.AspNetCore.Server.Kestrel.Core
Package Ecosystem NuGet
Published Date
Last Updated

How to Fix GHSA-3m2r-q8x3-xmf7

To remediate this vulnerability, upgrade all affected Microsoft.AspNetCore.Server.Kestrel.Core dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

Microsoft.AspNetCore.Server.Kestrel.Core fixed: 2.0.3
Upgrade Microsoft.AspNetCore.Server.Kestrel.Core to 2.0.3
Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions fixed: 2.0.3
Upgrade Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions to 2.0.3
Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv fixed: 2.0.3
Upgrade Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv to 2.0.3
Microsoft.AspNetCore.All fixed: 2.0.8
Upgrade Microsoft.AspNetCore.All to 2.0.8
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for Microsoft.AspNetCore.Server.Kestrel.Core

How to Check if You Are Affected

To determine whether your application is affected by GHSA-3m2r-q8x3-xmf7, inspect your project dependencies for Microsoft.AspNetCore.Server.Kestrel.Core:

inspect dependencies for Microsoft.AspNetCore.Server.Kestrel.Core

Analyze the terminal output to locate any version of Microsoft.AspNetCore.Server.Kestrel.Core in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.3), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Microsoft.AspNetCore.Server.Kestrel.Core, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

Microsoft made an internal discovery of a security vulnerability in version 2.x of ASP.NET Core where a specially crafted request can cause excess resource consumption in Kestrel.

GHSA-3m2r-q8x3-xmf7 Affected Microsoft.AspNetCore.Server.Kestrel.Core Versions

4 component(s)
Fixed Versions:
2.0.32.0.8
Product / Package Ecosystem Affected Versions Fixed Version
Microsoft.AspNetCore.Server.Kestrel.Core
NuGet
≥ 2.0.0
< 2.0.3
2.0.3
Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions
NuGet
≥ 2.0.0
< 2.0.3
2.0.3
Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv
NuGet
≥ 2.0.0
< 2.0.3
2.0.3
Microsoft.AspNetCore.All
NuGet
≥ 2.0.0
< 2.0.8
2.0.8

References

Frequently Asked Questions

What is GHSA-3m2r-q8x3-xmf7?
GHSA-3m2r-q8x3-xmf7 is a security vulnerability in Microsoft.AspNetCore.Server.Kestrel.Core involving Moderate severity vulnerability that affects Microsoft.AspNetCore.All, Microsoft.AspNetCore.Server.Kestrel.Core, Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions, and Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv under General Security Weakness.
Which Microsoft.AspNetCore.Server.Kestrel.Core versions are affected?
Affected versions include releases prior to 2.0.3, 2.0.8 across affected packages: Microsoft.AspNetCore.Server.Kestrel.Core, Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions, Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv, Microsoft.AspNetCore.All.
What version fixes GHSA-3m2r-q8x3-xmf7?
Upgrading to 2.0.3, 2.0.8 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Microsoft.AspNetCore.Server.Kestrel.Core affected?
Yes, Microsoft.AspNetCore.Server.Kestrel.Core is affected in releases prior to 2.0.3. Upgrade your dependency to 2.0.3 or later.
Is Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions affected?
Yes, Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions is affected in releases prior to 2.0.3. Upgrade your dependency to 2.0.3 or later.
What CWE is associated with GHSA-3m2r-q8x3-xmf7?
GHSA-3m2r-q8x3-xmf7 is classified under General Security Weakness.
How can I check NuGet dependencies for GHSA-3m2r-q8x3-xmf7?
Run the dependency tree command: 'inspect dependencies for Microsoft.AspNetCore.Server.Kestrel.Core'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-3m2r-q8x3-xmf7",
  "modified" : "2021-12-03T14:27:36Z",
  "published" : "2018-10-16T19:59:48Z",
  "aliases" : [ ],
  "summary" : "Moderate severity vulnerability that affects Microsoft.AspNetCore.All, Microsoft.AspNetCore.Server.Kestrel.Core, Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions, and Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv",
  "details" : "Microsoft made an internal discovery of a security vulnerability in version 2.x of ASP.NET Core where\na specially crafted request can cause excess resource consumption in Kestrel.\n",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.Server.Kestrel.Core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "2.0.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "2.0.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.Server.Kestrel.Transport.Libuv"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "2.0.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.All"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.0.0"
      }, {
        "fixed" : "2.0.8"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/aspnet/Announcements/issues/300"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-3m2r-q8x3-xmf7"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T20:55:28Z",
    "nvd_published_at" : null
  }
}