CVE-2019-0976: NuGet.Commands NuGet Package Manager Tampering Vulnerability Vulnerability
MODERATECVE-2019-0976 is a MODERATE (CVSS 5.5) nuget package manager tampering vulnerability vulnerability (CWE-732: Incorrect Permission Assignment for Critical Resource) affecting NuGet.Commands libraries in the NuGet ecosystem. The issue involves nuget package manager tampering vulnerability. Remediation is available by upgrading affected packages to version 5.0.2.
CVE-2019-0976 at a Glance
Security Impact
CVSS: 5.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2019-0976
To remediate this vulnerability, upgrade all affected NuGet.Commands 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 NuGet.Commands to 5.0.2
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for NuGet.Commands
How to Check if You Are Affected
To determine whether your application is affected by CVE-2019-0976, inspect your project dependencies for NuGet.Commands:
inspect dependencies for NuGet.Commands
Analyze the terminal output to locate any version of NuGet.Commands in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 5.0.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-732: Incorrect Permission Assignment for Critical Resource, where the product specifies permissions for a security-critical resource in a way that allows that resource to be read or modified by unintended actors. In NuGet.Commands, 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-0976 Affected NuGet.Commands Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
NuGet.Commands
|
NuGet |
≥ 5.0.0
< 5.0.2
|
5.0.2
|
References
Frequently Asked Questions
What is CVE-2019-0976?
Which NuGet.Commands versions are affected?
What version fixes CVE-2019-0976?
Is NuGet.Commands affected?
What is the CVSS score of CVE-2019-0976?
What CWE is associated with CVE-2019-0976?
How can I check NuGet dependencies for CVE-2019-0976?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3hcm-6fjc-47qq",
"modified" : "2024-03-24T20:28:51Z",
"published" : "2022-05-24T22:28:08Z",
"aliases" : [ "CVE-2019-0976" ],
"summary" : "NuGet Package Manager Tampering Vulnerability",
"details" : "A tampering vulnerability exists in the NuGet Package Manager for Linux and Mac that could allow an authenticated attacker to modify contents of the intermediate build folder (by default `obj`), aka 'NuGet Package Manager Tampering Vulnerability'.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "NuGet",
"name" : "NuGet.Commands"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "5.0.0"
}, {
"fixed" : "5.0.2"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-0976"
}, {
"type" : "WEB",
"url" : "https://github.com/NuGet/Home/issues/7908"
}, {
"type" : "WEB",
"url" : "https://github.com/NuGet/NuGet.Client/commit/e32a2ea7096debd3e513188f6779bb1041593326"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/NuGet/NuGet.Client"
}, {
"type" : "WEB",
"url" : "https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2019-0976"
}, {
"type" : "WEB",
"url" : "https://web.archive.org/web/20200227075944/http://www.securityfocus.com/bid/108210"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-732" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2024-03-24T20:28:51Z",
"nvd_published_at" : "2019-05-16T19:29:00Z"
}
}