CVE-2019-0657: Microsoft.NETCore.App Improper Input Validation Vulnerability
MODERATECVE-2019-0657 is a MODERATE (CVSS 5.9) 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 .net framework api's. Remediation is available by upgrading affected packages to version 2.2.2, 2.1.8, 4.3.2.
CVE-2019-0657 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2019-0657
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.
Upgrade Microsoft.NETCore.App to 2.2.2
Upgrade Microsoft.NETCore.App to 2.1.8
Upgrade System.Private.Uri to 4.3.2
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-2019-0657, 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 2.2.2), 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
CVE-2019-0657 Affected Microsoft.NETCore.App Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Microsoft.NETCore.App
|
NuGet |
≥ 2.2.0
< 2.2.2
|
2.2.2
|
|
Microsoft.NETCore.App
|
NuGet |
≥ 2.1.0
< 2.1.8
|
2.1.8
|
|
System.Private.Uri
|
NuGet |
≥ 4.3.0
< 4.3.2
|
4.3.2
|
References
Frequently Asked Questions
What is CVE-2019-0657?
Which Microsoft.NETCore.App versions are affected?
What version fixes CVE-2019-0657?
Is Microsoft.NETCore.App affected?
Is System.Private.Uri affected?
What is the CVSS score of CVE-2019-0657?
What CWE is associated with CVE-2019-0657?
How can I check NuGet dependencies for CVE-2019-0657?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-x5qj-9vmx-7g6g",
"modified" : "2022-07-08T19:33:16Z",
"published" : "2022-05-14T01:28:01Z",
"aliases" : [ "CVE-2019-0657" ],
"summary" : "Improper Input Validation in .Net Framework API's",
"details" : "A vulnerability exists in certain .Net Framework API's and Visual Studio in the way they parse URL's, aka '.NET Framework and Visual Studio Spoofing Vulnerability'.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.NETCore.App"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.2.0"
}, {
"fixed" : "2.2.2"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.NETCore.App"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.1.0"
}, {
"fixed" : "2.1.8"
} ]
} ]
}, {
"package" : {
"ecosystem" : "NuGet",
"name" : "System.Private.Uri"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "4.3.0"
}, {
"fixed" : "4.3.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-0657"
}, {
"type" : "WEB",
"url" : "https://github.com/dotnet/announcements/issues/97"
}, {
"type" : "WEB",
"url" : "https://github.com/github/advisory-database/issues/302"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2019:0349"
}, {
"type" : "WEB",
"url" : "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2019-0657"
}, {
"type" : "WEB",
"url" : "http://www.securityfocus.com/bid/106890"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-20" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-07-08T19:33:16Z",
"nvd_published_at" : "2019-03-05T23:29:00Z"
}
}