CVE-2017-8585: Microsoft.NETCore.App Improper Input Validation Vulnerability

HIGH
Advisory Identifier: GHSA-8884-xcr4-r68p
CVSS 7.5
CWE-20
Published
Advisory Summary

CVE-2017-8585 is a HIGH (CVSS 7.5) improper input validation vulnerability (CWE-20: Improper Input Validation) affecting Microsoft.NETCore.App libraries in the NuGet ecosystem. The issue involves improper input validation in microsoft.netcore.app. Remediation is available by upgrading affected packages to version 1.0.7, 1.1.4.

CVE-2017-8585 at a Glance

CVE Identifier CVE-2017-8585
GHSA Identifier GHSA-8884-xcr4-r68p
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-20: Improper Input Validation
Affected Product Microsoft.NETCore.App
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.0/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-2017-8585

To remediate this vulnerability, upgrade all affected Microsoft.NETCore.App 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.NETCore.App fixed: 1.0.7
Upgrade Microsoft.NETCore.App to 1.0.7
Microsoft.NETCore.App fixed: 1.1.4
Upgrade Microsoft.NETCore.App to 1.1.4
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.NETCore.App

How to Check if You Are Affected

To determine whether your application is affected by CVE-2017-8585, inspect your project dependencies for Microsoft.NETCore.App:

inspect dependencies for Microsoft.NETCore.App

Analyze the terminal output to locate any version of Microsoft.NETCore.App in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.0.7), 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 CWE-20: Improper Input Validation, where the product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly. In Microsoft.NETCore.App, 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 .NET Framework 4.6, 4.6.1, 4.6.2, and 4.7 allow an attacker to send specially crafted requests to a .NET web application, resulting in denial of service, aka .NET Denial of Service Vulnerability.

CVE-2017-8585 Affected Microsoft.NETCore.App Versions

2 component(s)
Fixed Versions:
1.0.71.1.4
Product / Package Ecosystem Affected Versions Fixed Version
Microsoft.NETCore.App
NuGet
≥ 1.0.0
< 1.0.7
1.0.7
Microsoft.NETCore.App
NuGet
≥ 1.1.0
< 1.1.4
1.1.4

References

Frequently Asked Questions

What is CVE-2017-8585?
CVE-2017-8585 is a security vulnerability in Microsoft.NETCore.App involving Improper Input Validation in Microsoft.NETCore.App under CWE-20: Improper Input Validation.
Which Microsoft.NETCore.App versions are affected?
Affected versions include releases prior to 1.0.7, 1.1.4 across affected packages: Microsoft.NETCore.App.
What version fixes CVE-2017-8585?
Upgrading to 1.0.7, 1.1.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Microsoft.NETCore.App affected?
Yes, Microsoft.NETCore.App is affected in releases prior to 1.0.7, 1.1.4. Upgrade your dependency to 1.0.7, 1.1.4 or later.
What is the CVSS score of CVE-2017-8585?
CVE-2017-8585 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with CVE-2017-8585?
CVE-2017-8585 is classified under CWE-20: Improper Input Validation (The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required to process the data safely and correctly.).
How can I check NuGet dependencies for CVE-2017-8585?
Run the dependency tree command: 'inspect dependencies for Microsoft.NETCore.App'. 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-8884-xcr4-r68p",
  "modified" : "2022-11-01T21:39:24Z",
  "published" : "2022-05-17T00:19:03Z",
  "aliases" : [ "CVE-2017-8585" ],
  "summary" : "Improper Input Validation in Microsoft.NETCore.App",
  "details" : "Microsoft .NET Framework 4.6, 4.6.1, 4.6.2, and 4.7 allow an attacker to send specially crafted requests to a .NET web application, resulting in denial of service, aka .NET Denial of Service Vulnerability.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.NETCore.App"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.0.0"
      }, {
        "fixed" : "1.0.7"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.NETCore.App"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.1.0"
      }, {
        "fixed" : "1.1.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2017-8585"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/dotnet/corefx/issues/24703"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/errata/RHSA-2017:3248"
  }, {
    "type" : "WEB",
    "url" : "https://portal.msrc.microsoft.com/en-us/security-guidance/advisory/CVE-2017-8585"
  }, {
    "type" : "WEB",
    "url" : "http://www.securityfocus.com/bid/99432"
  }, {
    "type" : "WEB",
    "url" : "http://www.securitytracker.com/id/1038864"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-11-01T21:39:24Z",
    "nvd_published_at" : "2017-07-11T21:29:00Z"
  }
}