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

    Threat Intelligence

    EPSS
    0.05% (18th 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 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.

CVSS Scores

version 3.1
Expand this section

Snyk

Recommended
5.5 medium
  • Attack Vector (AV)
    Local
  • Attack Complexity (AC)
    Low
  • Privileges Required (PR)
    Low
  • User Interaction (UI)
    None
  • Scope (S)
    Unchanged
  • Confidentiality (C)
    None
  • Integrity (I)
    High
  • Availability (A)
    None
Expand this section

NVD

5.5 medium