Vulnerabilities in pkg:nuget/System.IO.Pipelines

PACKAGE
Advisory Identifier: GHSA-j378-6mmw-hqfr
Advisory Summary

CVE-2018-8409 is a HIGH (CVSS 7.5) denial of service vulnerability (General Security Weakness) affecting Microsoft.AspNetCore.All libraries in the NuGet ecosystem. The issue involves denial of service vulnerability exists when system.io.pipelines improperly handles requests. Remediation is available by upgrading affected packages to version 2.1.4, 4.5.1.

1 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:nuget/System.IO.Pipelines

1 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:nuget/System.IO.Pipelines. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-j378-6mmw-hqfr CVE-2018-8409 HIGH Denial of service vulnerability exists when System.IO.Pipelines improperly handles requests

CVE-2018-8409 at a Glance

CVE Identifier CVE-2018-8409
GHSA Identifier GHSA-j378-6mmw-hqfr
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification General Security Weakness
Affected Product Microsoft.AspNetCore.All
Package Ecosystem NuGet
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix CVE-2018-8409

To remediate this vulnerability, upgrade all affected Microsoft.AspNetCore.All 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.All fixed: 2.1.4
Upgrade Microsoft.AspNetCore.All to 2.1.4
Microsoft.AspNetCore.App fixed: 2.1.4
Upgrade Microsoft.AspNetCore.App to 2.1.4
System.IO.Pipelines fixed: 4.5.1
Upgrade System.IO.Pipelines to 4.5.1
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.All

How to Check if You Are Affected

To determine whether your application is affected by CVE-2018-8409, inspect your project dependencies for Microsoft.AspNetCore.All:

inspect dependencies for Microsoft.AspNetCore.All

Analyze the terminal output to locate any version of Microsoft.AspNetCore.All in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.1.4), 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.All, 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

A denial of service vulnerability exists when System.IO.Pipelines improperly handles requests, aka "System.IO.Pipelines Denial of Service." This affects .NET Core 2.1, System.IO.Pipelines, ASP.NET Core 2.1.

CVE-2018-8409 Affected Microsoft.AspNetCore.All Versions

3 component(s)
Fixed Versions:
2.1.44.5.1
Product / Package Ecosystem Affected Versions Fixed Version
Microsoft.AspNetCore.All
NuGet
≥ 2.1.0
< 2.1.4
2.1.4
Microsoft.AspNetCore.App
NuGet
≥ 2.1.0
< 2.1.4
2.1.4
System.IO.Pipelines
NuGet
≥ 4.5.0
< 4.5.1
All 1 versions
4.5.0
4.5.1

References

Frequently Asked Questions

What is CVE-2018-8409?
CVE-2018-8409 is a security vulnerability in Microsoft.AspNetCore.All involving Denial of service vulnerability exists when System.IO.Pipelines improperly handles requests under General Security Weakness.
Which Microsoft.AspNetCore.All versions are affected?
Affected versions include releases prior to 2.1.4, 4.5.1 across affected packages: Microsoft.AspNetCore.All, Microsoft.AspNetCore.App, System.IO.Pipelines.
What version fixes CVE-2018-8409?
Upgrading to 2.1.4, 4.5.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Microsoft.AspNetCore.All affected?
Yes, Microsoft.AspNetCore.All is affected in releases prior to 2.1.4. Upgrade your dependency to 2.1.4 or later.
Is Microsoft.AspNetCore.App affected?
Yes, Microsoft.AspNetCore.App is affected in releases prior to 2.1.4. Upgrade your dependency to 2.1.4 or later.
What is the CVSS score of CVE-2018-8409?
CVE-2018-8409 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2018-8409?
CVE-2018-8409 is classified under General Security Weakness.
How can I check NuGet dependencies for CVE-2018-8409?
Run the dependency tree command: 'inspect dependencies for Microsoft.AspNetCore.All'. 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-j378-6mmw-hqfr",
  "modified" : "2022-10-26T18:56:19Z",
  "published" : "2018-10-16T19:56:38Z",
  "aliases" : [ "CVE-2018-8409" ],
  "summary" : "Denial of service vulnerability exists when System.IO.Pipelines improperly handles requests",
  "details" : "A denial of service vulnerability exists when System.IO.Pipelines improperly handles requests, aka \"System.IO.Pipelines Denial of Service.\" This affects .NET Core 2.1, System.IO.Pipelines, ASP.NET Core 2.1.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.All"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.1.0"
      }, {
        "fixed" : "2.1.4"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.1.3"
    }
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "2.1.0"
      }, {
        "fixed" : "2.1.4"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.1.3"
    }
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "System.IO.Pipelines"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.5.0"
      }, {
        "fixed" : "4.5.1"
      } ]
    } ],
    "versions" : [ "4.5.0" ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-8409"
  }, {
    "type" : "ADVISORY",
    "url" : "https://github.com/advisories/GHSA-j378-6mmw-hqfr"
  }, {
    "type" : "WEB",
    "url" : "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-8409"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/105223"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2020-06-16T21:41:41Z",
    "nvd_published_at" : "2018-09-13T00:29:00Z"
  }
}