Incorrect Permission Assignment for Critical Resource Affecting nuget.commands package, versions [5.0.0,5.0.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.05% (26th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DOTNET-NUGETCOMMANDS-6483300
  • published25 Mar 2024
  • disclosed24 May 2022
  • creditJaroslav Lobačevski

Introduced: 24 May 2022

CVE-2019-0976  (opens in a new tab)
CWE-732  (opens in a new tab)

How to fix?

Upgrade NuGet.Commands to version 5.0.2 or higher.

Overview

Affected versions of this package are vulnerable to Incorrect Permission Assignment for Critical Resource due to the modification of contents in the intermediate build folder (by default obj). An attacker can alter the contents of this folder by authenticating and exploiting the vulnerability, potentially leading to further unauthorized actions or impacts on the integrity of the build process.

CVSS Scores

version 3.1