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


0.0
medium

Snyk CVSS

    Attack Complexity Low
    Integrity High

    Threat Intelligence

    EPSS 0.04% (10th percentile)
Expand this section
NVD
5.5 medium

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 ID SNYK-DOTNET-NUGETCOMMANDS-6483300
  • published 25 Mar 2024
  • disclosed 24 May 2022
  • credit Jaroslav Lobačevski

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.