CVE-2018-8416: Microsoft.NETCore.App Tampering Vulnerability Vulnerability
MODERATECVE-2018-8416 is a MODERATE (CVSS 6.5) tampering vulnerability vulnerability (General Security Weakness) affecting Microsoft.NETCore.App libraries in the NuGet ecosystem. The issue involves tampering vulnerability in .net core. Remediation is available by upgrading affected packages to version 2.1.7.
CVE-2018-8416 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2018-8416
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.1.7
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-2018-8416, 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.1.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 General Security Weakness. 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-2018-8416 Affected Microsoft.NETCore.App Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
Microsoft.NETCore.App
|
NuGet |
≥ 2.1.0
< 2.1.7
|
2.1.7
|
References
Frequently Asked Questions
What is CVE-2018-8416?
Which Microsoft.NETCore.App versions are affected?
What version fixes CVE-2018-8416?
Is Microsoft.NETCore.App affected?
What is the CVSS score of CVE-2018-8416?
What CWE is associated with CVE-2018-8416?
How can I check NuGet dependencies for CVE-2018-8416?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-5633-f33j-c6f7",
"modified" : "2022-07-08T19:24:09Z",
"published" : "2022-05-13T01:20:52Z",
"aliases" : [ "CVE-2018-8416" ],
"summary" : "Tampering vulnerability in .NET Core",
"details" : "A tampering vulnerability exists when .NET Core improperly handles specially crafted files, aka \".NET Core Tampering Vulnerability.\" This affects .NET Core 2.1.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "Microsoft.NETCore.App"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "2.1.0"
}, {
"fixed" : "2.1.7"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2018-8416"
}, {
"type" : "WEB",
"url" : "https://github.com/dotnet/announcements/issues/95"
}, {
"type" : "WEB",
"url" : "https://github.com/github/advisory-database/issues/302"
}, {
"type" : "WEB",
"url" : "https://access.redhat.com/errata/RHSA-2018:3676"
}, {
"type" : "WEB",
"url" : "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2018-8416"
} ],
"database_specific" : {
"cwe_ids" : [ ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-07-08T19:24:09Z",
"nvd_published_at" : "2018-11-14T01:29:00Z"
}
}