CVE-2018-8416: Microsoft.NETCore.App Tampering Vulnerability Vulnerability

MODERATE
Advisory Identifier: GHSA-5633-f33j-c6f7
CVSS 6.5
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2018-8416
GHSA Identifier GHSA-5633-f33j-c6f7
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification General Security Weakness
Affected Product Microsoft.NETCore.App
Package Ecosystem NuGet
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity High (I:H)
Availability None (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.

Microsoft.NETCore.App fixed: 2.1.7
Upgrade Microsoft.NETCore.App to 2.1.7
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-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

A tampering vulnerability exists when .NET Core improperly handles specially crafted files, aka ".NET Core Tampering Vulnerability." This affects .NET Core 2.1.

CVE-2018-8416 Affected Microsoft.NETCore.App Versions

1 component(s)
Fixed Versions:
2.1.7
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?
CVE-2018-8416 is a security vulnerability in Microsoft.NETCore.App involving Tampering vulnerability in .NET Core under General Security Weakness.
Which Microsoft.NETCore.App versions are affected?
Affected versions include releases prior to 2.1.7 across affected packages: Microsoft.NETCore.App.
What version fixes CVE-2018-8416?
Upgrading to 2.1.7 (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 2.1.7. Upgrade your dependency to 2.1.7 or later.
What is the CVSS score of CVE-2018-8416?
CVE-2018-8416 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
What CWE is associated with CVE-2018-8416?
CVE-2018-8416 is classified under General Security Weakness.
How can I check NuGet dependencies for CVE-2018-8416?
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-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"
  }
}