NuGet.Commands vulnerabilities

Complete commands common to command-line and GUI NuGet clients.

Registry
NuGet
Latest
8.0.0
License
Apache-2.0

4 known advisories

The latest version, 8.0.0, is not affected by any of them. Projects on older versions may be.

Update to the latest version:dotnet add package NuGet.Commands --version 8.0.0

Is your project on an affected NuGet.Commands?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several .NET apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Security advisories for NuGet.Commands

  • HighCVE-2023-29337GHSA-6qmf-mmc7-6c2p14 Jun 2023

    NuGet Client Remote Code Execution Vulnerability

    Affected
    >=6.0.0 <6.0.5 · >=6.2.0 <6.2.4 · >=6.3.0 <6.3.3 · >=6.4.0 <6.4.2 · >=6.5.0 <6.5.1 · >=6.6.0 <6.6.1 · >=4.6.0 <5.11.5
    Fixed in
    5.11.5, 6.0.5, 6.2.4, 6.3.3, 6.4.2, 6.5.1, 6.6.1
  • HighCVE-2022-41032GHSA-g3q9-xf95-8hp511 Oct 2022

    NuGet Elevation of Privilege Vulnerability

    Affected
    >=4.6.0 <4.9.6 · >=5.0.0 <5.7.3 · >=5.8.0 <5.9.3 · >=5.10.0 <5.11.3 · >=6.0.0 <6.0.3 · >=6.1.0 <6.2.2 · >=6.3.0 <6.3.1
    Fixed in
    4.9.6, 5.7.3, 5.9.3, 5.11.3, 6.0.3, 6.2.2, 6.3.1
  • MediumCVE-2022-30184GHSA-3885-8gqc-3wpf14 Jun 2022

    Potential leak of NuGet.org API key

    Affected
    >=3.5.0 <4.9.5 · >=5.0.0 <5.2.1 · >=5.3.0 <5.7.2 · >=5.8.0 <5.9.2 · >=5.10.0 <5.11.2 · >=6.0.0 <6.0.2 · >=6.1.0 <6.2.1
    Fixed in
    4.9.5, 5.2.1, 5.7.2, 5.9.2, 5.11.2, 6.0.2, 6.2.1
  • MediumCVE-2019-0976GHSA-3hcm-6fjc-47qq24 May 2022

    NuGet Package Manager Tampering Vulnerability

    Affected
    >=5.0.0 <5.0.2
    Fixed in
    5.0.2

Is your NuGet.Commands version vulnerable?

Which of your client projects still run an old NuGet.Commands?

NPMscan reads the packages.lock.json and .csproj files in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other NuGet packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the NuGet registry.