CVE-2020-1597: Microsoft.AspNetCore.All Denial of Service Vulnerability
HIGHCVE-2020-1597 is a HIGH (CVSS 7.5) denial of service vulnerability (CWE-20: Improper Input Validation) affecting Microsoft.AspNetCore.All libraries in the NuGet ecosystem. The issue involves asp.net core denial of service vulnerability. Remediation is available by upgrading affected packages to version 2.1.21, 3.1.7.
CVE-2020-1597 at a Glance
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).
How to Fix CVE-2020-1597
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.
Upgrade Microsoft.AspNetCore.All to 2.1.21
Upgrade Microsoft.AspNetCore.App to 2.1.21
Upgrade Microsoft.AspNetCore.App.Runtime.linux-arm to 3.1.7
Upgrade Microsoft.AspNetCore.App.Runtime.linux-arm64 to 3.1.7
Upgrade Microsoft.AspNetCore.App.Runtime.linux-musl-arm64 to 3.1.7
Upgrade Microsoft.AspNetCore.App.Runtime.linux-musl-x64 to 3.1.7
Upgrade Microsoft.AspNetCore.App.Runtime.linux-x64 to 3.1.7
Upgrade Microsoft.AspNetCore.App.Runtime.osx-x64 to 3.1.7
Upgrade Microsoft.AspNetCore.App.Runtime.win-arm to 3.1.7
Upgrade Microsoft.AspNetCore.App.Runtime.win-arm64 to 3.1.7
Upgrade Microsoft.AspNetCore.App.Runtime.win-x64 to 3.1.7
Upgrade Microsoft.AspNetCore.App.Runtime.win-x86 to 3.1.7
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-2020-1597, 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.21), 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.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
CVE-2020-1597 Affected Microsoft.AspNetCore.All Versions
12 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Microsoft.AspNetCore.All
|
NuGet |
≥ 2.1.0
< 2.1.21
|
2.1.21
|
|
Microsoft.AspNetCore.App
|
NuGet |
≥ 2.1.0
< 2.1.21
|
2.1.21
|
|
Microsoft.AspNetCore.App.Runtime.linux-arm
|
NuGet |
≥ 3.1.0
< 3.1.7
|
3.1.7
|
|
Microsoft.AspNetCore.App.Runtime.linux-arm64
|
NuGet |
≥ 3.1.0
< 3.1.7
|
3.1.7
|
|
Microsoft.AspNetCore.App.Runtime.linux-musl-arm64
|
NuGet |
≥ 3.1.0
< 3.1.7
|
3.1.7
|
|
Microsoft.AspNetCore.App.Runtime.linux-musl-x64
|
NuGet |
≥ 3.1.0
< 3.1.7
|
3.1.7
|
|
Microsoft.AspNetCore.App.Runtime.linux-x64
|
NuGet |
≥ 3.1.0
< 3.1.7
|
3.1.7
|
|
Microsoft.AspNetCore.App.Runtime.osx-x64
|
NuGet |
≥ 3.1.0
< 3.1.7
|
3.1.7
|
|
Microsoft.AspNetCore.App.Runtime.win-arm
|
NuGet |
≥ 3.1.0
< 3.1.7
|
3.1.7
|
|
Microsoft.AspNetCore.App.Runtime.win-arm64
|
NuGet |
≥ 3.1.0
< 3.1.7
|
3.1.7
|
|
Microsoft.AspNetCore.App.Runtime.win-x64
|
NuGet |
≥ 3.1.0
< 3.1.7
|
3.1.7
|
|
Microsoft.AspNetCore.App.Runtime.win-x86
|
NuGet |
≥ 3.1.0
< 3.1.7
|
3.1.7
|
References
Frequently Asked Questions
What is CVE-2020-1597?
Which Microsoft.AspNetCore.All versions are affected?
What version fixes CVE-2020-1597?
Is Microsoft.AspNetCore.All affected?
Is Microsoft.AspNetCore.App affected?
What is the CVSS score of CVE-2020-1597?
What CWE is associated with CVE-2020-1597?
How can I check NuGet dependencies for CVE-2020-1597?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-f8qx-mjcq-wfgx",
"modified" : "2022-10-24T16:40:52Z",
"published" : "2022-05-24T17:26:01Z",
"aliases" : [ "CVE-2020-1597" ],
"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"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.1.0"
}, {
"fixed" : "2.1.21"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.All"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.1.0"
}, {
"fixed" : "2.1.21"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.linux-arm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.0"
}, {
"fixed" : "3.1.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.linux-arm64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.0"
}, {
"fixed" : "3.1.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.linux-musl-arm64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.0"
}, {
"fixed" : "3.1.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.linux-musl-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.0"
}, {
"fixed" : "3.1.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.linux-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.0"
}, {
"fixed" : "3.1.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.osx-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.0"
}, {
"fixed" : "3.1.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.win-arm"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.0"
}, {
"fixed" : "3.1.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.win-arm64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.0"
}, {
"fixed" : "3.1.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.win-x64"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.0"
}, {
"fixed" : "3.1.7"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.AspNetCore.App.Runtime.win-x86"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "3.1.0"
}, {
"fixed" : "3.1.7"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-1597"
}, {
"type" : "WEB",
"url" : "https://github.com/dotnet/announcements/issues/162"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WH5FQ5VT3JGHXFXOETHCTBWJUIAPGHHT"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ZW4CBI26KSO3PRL3HLVVISXPPOYUHSXO"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/WH5FQ5VT3JGHXFXOETHCTBWJUIAPGHHT"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/ZW4CBI26KSO3PRL3HLVVISXPPOYUHSXO"
}, {
"type" : "WEB",
"url" : "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2020-1597"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "HIGH",
"github_reviewed" : true,
"github_reviewed_at" : "2022-10-24T16:40:52Z",
"nvd_published_at" : "2020-08-17T19:15:00Z"
}
}