NuGet (.NET)Worst: High4 advisories

NuGet.Commands: known vulnerabilities

NuGet.Commands has 4 reviewed security advisories in the GitHub Advisory Database — 2 high, 2 moderate. The most recent was published 2023-06-14. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the NuGet.Commands versions running across your servers, containers and images, and ranks what to patch first.

How to fix NuGet.Commands

Upgrade NuGet.Commands to a release at or above the fixed version shown for each advisory below. For NuGet (.NET):

Update the package to 5.11.5 (dotnet add package NuGet.Commands --version 5.11.5)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (4)

NuGet Client Remote Code Execution Vulnerability High 7.1 CWE-367 — Affected: from 4.6.0 up to 5.11.5. Fixed in 5.11.5. Published 2023-06-14. GHSA-6qmf-mmc7-6c2p · CVE-2023-29337
NuGet Elevation of Privilege Vulnerability High 7.8 CWE-269 — Affected: from 6.3.0 up to 6.3.1. Fixed in 6.3.1. Published 2022-10-11. GHSA-g3q9-xf95-8hp5 · CVE-2022-41032
Potential leak of NuGet.org API key Moderate 5.5 CWE-200 — Affected: from 6.1.0 up to 6.2.1. Fixed in 6.2.1. Published 2022-06-15. GHSA-3885-8gqc-3wpf · CVE-2022-30184
NuGet Package Manager Tampering Vulnerability Moderate 5.5 CWE-732 — Affected: from 5.0.0 up to 5.0.2. Fixed in 5.0.2. Published 2019-05-16. GHSA-3hcm-6fjc-47qq · CVE-2019-0976

Find NuGet.Commands across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.