CVE-2020-1161: Microsoft.AspNetCore.App.Runtime.linux arm Denial of Service Vulnerability

HIGH
Advisory Identifier: GHSA-3cf7-7wq6-8842
CVSS 7.5
CWE-20
Published
Advisory Summary

CVE-2020-1161 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-20: Improper Input Validation) affecting Microsoft.AspNetCore.App.Runtime.linux arm libraries in the NuGet ecosystem. The issue involves asp.net core denial of service vulnerability. Remediation is available by upgrading affected packages to version 3.1.4.

CVE-2020-1161 at a Glance

CVE Identifier CVE-2020-1161
GHSA Identifier GHSA-3cf7-7wq6-8842
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-20: Improper Input Validation
Affected Product Microsoft.AspNetCore.App.Runtime.linux arm
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-2020-1161

To remediate this vulnerability, upgrade all affected Microsoft.AspNetCore.App.Runtime.linux arm 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.App.Runtime.linux-arm fixed: 3.1.4
Upgrade Microsoft.AspNetCore.App.Runtime.linux-arm to 3.1.4
Microsoft.AspNetCore.App.Runtime.linux-arm64 fixed: 3.1.4
Upgrade Microsoft.AspNetCore.App.Runtime.linux-arm64 to 3.1.4
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 fixed: 3.1.4
Upgrade Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 to 3.1.4
Microsoft.AspNetCore.App.Runtime.linux-musl-x64 fixed: 3.1.4
Upgrade Microsoft.AspNetCore.App.Runtime.linux-musl-x64 to 3.1.4
Microsoft.AspNetCore.App.Runtime.linux-x64 fixed: 3.1.4
Upgrade Microsoft.AspNetCore.App.Runtime.linux-x64 to 3.1.4
Microsoft.AspNetCore.App.Runtime.osx-x64 fixed: 3.1.4
Upgrade Microsoft.AspNetCore.App.Runtime.osx-x64 to 3.1.4
Microsoft.AspNetCore.App.Runtime.win-arm fixed: 3.1.4
Upgrade Microsoft.AspNetCore.App.Runtime.win-arm to 3.1.4
Microsoft.AspNetCore.App.Runtime.win-x64 fixed: 3.1.4
Upgrade Microsoft.AspNetCore.App.Runtime.win-x64 to 3.1.4
Microsoft.AspNetCore.App.Runtime.win-x86 fixed: 3.1.4
Upgrade Microsoft.AspNetCore.App.Runtime.win-x86 to 3.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.AspNetCore.App.Runtime.linux-arm

How to Check if You Are Affected

To determine whether your application is affected by CVE-2020-1161, inspect your project dependencies for Microsoft.AspNetCore.App.Runtime.linux arm:

inspect dependencies for Microsoft.AspNetCore.App.Runtime.linux-arm

Analyze the terminal output to locate any version of Microsoft.AspNetCore.App.Runtime.linux arm in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.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 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.AspNetCore.App.Runtime.linux arm, 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 ASP.NET Core improperly handles web requests, aka 'ASP.NET Core Denial of Service Vulnerability'.

CVE-2020-1161 Affected Microsoft.AspNetCore.App.Runtime.linux arm Versions

9 component(s)
Fixed Versions:
3.1.4
Product / Package Ecosystem Affected Versions Fixed Version
Microsoft.AspNetCore.App.Runtime.linux-arm
NuGet
≥ 3.1.0
< 3.1.4
3.1.4
Microsoft.AspNetCore.App.Runtime.linux-arm64
NuGet
≥ 3.1.0
< 3.1.4
3.1.4
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64
NuGet
≥ 3.1.0
< 3.1.4
3.1.4
Microsoft.AspNetCore.App.Runtime.linux-musl-x64
NuGet
≥ 3.1.0
< 3.1.4
3.1.4
Microsoft.AspNetCore.App.Runtime.linux-x64
NuGet
≥ 3.1.0
< 3.1.4
3.1.4
Microsoft.AspNetCore.App.Runtime.osx-x64
NuGet
≥ 3.1.0
< 3.1.4
3.1.4
Microsoft.AspNetCore.App.Runtime.win-arm
NuGet
≥ 3.1.0
< 3.1.4
3.1.4
Microsoft.AspNetCore.App.Runtime.win-x64
NuGet
≥ 3.1.0
< 3.1.4
3.1.4
Microsoft.AspNetCore.App.Runtime.win-x86
NuGet
≥ 3.1.0
< 3.1.4
3.1.4

References

Frequently Asked Questions

What is CVE-2020-1161?
CVE-2020-1161 is a security vulnerability in Microsoft.AspNetCore.App.Runtime.linux arm involving ASP.NET Core Denial of Service Vulnerability under CWE-20: Improper Input Validation.
Which Microsoft.AspNetCore.App.Runtime.linux arm versions are affected?
Affected versions include releases prior to 3.1.4 across affected packages: Microsoft.AspNetCore.App.Runtime.linux-arm, Microsoft.AspNetCore.App.Runtime.linux-arm64, Microsoft.AspNetCore.App.Runtime.linux-musl-arm64, Microsoft.AspNetCore.App.Runtime.linux-musl-x64, Microsoft.AspNetCore.App.Runtime.linux-x64, Microsoft.AspNetCore.App.Runtime.osx-x64, Microsoft.AspNetCore.App.Runtime.win-arm, Microsoft.AspNetCore.App.Runtime.win-x64, Microsoft.AspNetCore.App.Runtime.win-x86.
What version fixes CVE-2020-1161?
Upgrading to 3.1.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is Microsoft.AspNetCore.App.Runtime.linux-arm affected?
Yes, Microsoft.AspNetCore.App.Runtime.linux-arm is affected in releases prior to 3.1.4. Upgrade your dependency to 3.1.4 or later.
Is Microsoft.AspNetCore.App.Runtime.linux-arm64 affected?
Yes, Microsoft.AspNetCore.App.Runtime.linux-arm64 is affected in releases prior to 3.1.4. Upgrade your dependency to 3.1.4 or later.
What is the CVSS score of CVE-2020-1161?
CVE-2020-1161 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-2020-1161?
CVE-2020-1161 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-2020-1161?
Run the dependency tree command: 'inspect dependencies for Microsoft.AspNetCore.App.Runtime.linux-arm'. 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-3cf7-7wq6-8842",
  "modified" : "2022-10-21T21:04:37Z",
  "published" : "2022-05-24T17:18:32Z",
  "aliases" : [ "CVE-2020-1161" ],
  "summary" : "ASP.NET Core Denial of Service Vulnerability",
  "details" : "A denial of service vulnerability exists when ASP.NET Core improperly handles web requests, aka 'ASP.NET Core Denial of Service Vulnerability'.",
  "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.App.Runtime.linux-arm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.1.0"
      }, {
        "fixed" : "3.1.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.linux-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.1.0"
      }, {
        "fixed" : "3.1.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.linux-musl-arm64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.1.0"
      }, {
        "fixed" : "3.1.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.linux-musl-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.1.0"
      }, {
        "fixed" : "3.1.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.linux-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.1.0"
      }, {
        "fixed" : "3.1.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.osx-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.1.0"
      }, {
        "fixed" : "3.1.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.win-arm"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.1.0"
      }, {
        "fixed" : "3.1.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.win-x64"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.1.0"
      }, {
        "fixed" : "3.1.4"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "NuGet",
      "name" : "Microsoft.AspNetCore.App.Runtime.win-x86"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.1.0"
      }, {
        "fixed" : "3.1.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-1161"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/aspnet/Announcements/issues/416"
  }, {
    "type" : "WEB",
    "url" : "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-1161"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2022-10-21T21:04:37Z",
    "nvd_published_at" : "2020-05-21T23:15:00Z"
  }
}