CVE-2023-29337 — Vulnerability in NuGet.CommandLine — CVE Details
NuGet Client Remote Code Execution Vulnerability
Summary
Advisory Timeline
- First published June 14, 2023 (1216 days ago).
- Last revised September 10, 2026 — 1183 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
dotnet add package NuGet.CommandLine --version 6.5.1
dotnet add package NuGet.Commands --version 6.2.4
dotnet add package NuGet.CommandLine --version 6.6.1
dotnet add package NuGet.Commands --version 6.4.2
dotnet add package NuGet.Protocol --version 6.3.3
dotnet add package NuGet.PackageManagement --version 6.0.5
dotnet add package NuGet.PackageManagement --version 6.3.3
dotnet add package NuGet.Common --version 6.0.5
dotnet add package NuGet.PackageManagement --version 5.11.5
dotnet add package NuGet.CommandLine --version 6.4.2
dotnet add package NuGet.Protocol --version 6.0.5
dotnet add package NuGet.Commands --version 6.5.1
dotnet add package NuGet.CommandLine --version 5.11.5
dotnet add package NuGet.PackageManagement --version 6.6.1
dotnet add package NuGet.Commands --version 6.0.5
dotnet add package NuGet.Commands --version 5.11.5
dotnet add package NuGet.Protocol --version 5.11.5
dotnet add package NuGet.Protocol --version 6.2.4
dotnet add package NuGet.Commands --version 6.6.1
dotnet add package NuGet.CommandLine --version 6.0.5
dotnet add package NuGet.Common --version 6.3.3
dotnet add package NuGet.CommandLine --version 6.2.4
dotnet add package NuGet.Protocol --version 6.4.2
dotnet add package NuGet.Common --version 6.4.2
dotnet add package NuGet.CommandLine --version 6.3.3
dotnet add package NuGet.PackageManagement --version 6.4.2
dotnet add package NuGet.Protocol --version 6.5.1
dotnet add package NuGet.Common --version 6.5.1
dotnet add package NuGet.Commands --version 6.3.3
dotnet add package NuGet.PackageManagement --version 6.2.4
dotnet add package NuGet.Common --version 5.11.5
dotnet add package NuGet.Protocol --version 6.6.1
dotnet add package NuGet.Common --version 6.2.4
dotnet add package NuGet.PackageManagement --version 6.5.1
dotnet add package NuGet.Common --version 6.6.1
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (38)
Affects 1 ecosystem: nuget (6).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| NuGet.CommandLine | nuget | 6.5.0 | 6.5.1 |
| NuGet.Commands | nuget | 6.2.0, 6.2.1, 6.2.2 | 6.2.4 |
| NuGet.CommandLine | nuget | 6.6.0 | 6.6.1 |
| NuGet.Commands | nuget | 6.4.0 | 6.4.2 |
| NuGet.Protocol | nuget | 6.3.0, 6.3.1 | 6.3.3 |
| NuGet.PackageManagement | nuget | 6.0.0, 6.0.2 | 6.0.5 |
| NuGet.PackageManagement | nuget | 6.3.0, 6.3.1 | 6.3.3 |
| NuGet.Common | nuget | 6.0.0, 6.0.2 | 6.0.5 |
| NuGet.PackageManagement | nuget | 4.6.0, 4.6.1, 4.6.2, 4.6.3 (+12 more) | 5.11.5 |
| Microsoft.Build.NuGetSdkResolver | nuget | 5.9.0-rc.7122 | No fix available |
| NuGet.CommandLine | nuget | 6.4.0 | 6.4.2 |
| NuGet.Protocol | nuget | 6.0.0, 6.0.2 | 6.0.5 |
| NuGet.Commands | nuget | 6.5.0 | 6.5.1 |
| NuGet.CommandLine | nuget | 4.6.2, 4.6.3, 4.6.4, 4.7.1 (+30 more) | 5.11.5 |
| NuGet.PackageManagement | nuget | 6.6.0 | 6.6.1 |
| NuGet.Commands | nuget | 6.0.0, 6.0.2 | 6.0.5 |
| NuGet.Commands | nuget | 4.6.0, 4.6.1, 4.6.2, 4.6.3 (+12 more) | 5.11.5 |
| NuGet.Protocol | nuget | 5.10.0, 5.11.0, 5.11.2, 5.11.3 (+6 more) | 5.11.5 |
| NuGet.Protocol | nuget | 6.2.0, 6.2.1, 6.2.2 | 6.2.4 |
| Microsoft.Build.NuGetSdkResolver | nuget | 5.11.0-rc.10 | No fix available |
| NuGet.Commands | nuget | 6.6.0 | 6.6.1 |
| NuGet.CommandLine | nuget | 6.0.0, 6.0.2 | 6.0.5 |
| NuGet.Common | nuget | 6.3.0, 6.3.1 | 6.3.3 |
| Microsoft.Build.NuGetSdkResolver | nuget | 5.10.0-rc.7240 | No fix available |
| NuGet.CommandLine | nuget | 6.2.0, 6.2.1, 6.2.2 | 6.2.4 |
| NuGet.Protocol | nuget | 6.4.0 | 6.4.2 |
| NuGet.Common | nuget | 6.4.0 | 6.4.2 |
| NuGet.CommandLine | nuget | 6.3.0, 6.3.1 | 6.3.3 |
| NuGet.PackageManagement | nuget | 6.4.0 | 6.4.2 |
| NuGet.Protocol | nuget | 6.5.0 | 6.5.1 |
| NuGet.Common | nuget | 6.5.0 | 6.5.1 |
| NuGet.Commands | nuget | 6.3.0, 6.3.1 | 6.3.3 |
| NuGet.PackageManagement | nuget | 6.2.0, 6.2.1, 6.2.2 | 6.2.4 |
| NuGet.Common | nuget | 4.6.0, 4.6.1, 4.6.2, 4.6.3 (+12 more) | 5.11.5 |
| NuGet.Protocol | nuget | 6.6.0 | 6.6.1 |
| NuGet.Common | nuget | 6.2.0, 6.2.1, 6.2.2 | 6.2.4 |
| NuGet.PackageManagement | nuget | 6.5.0 | 6.5.1 |
| NuGet.Common | nuget | 6.6.0 | 6.6.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-367
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.1 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
References
- https://github.com/NuGet/NuGet.Client/security/advisories/GHSA-6qmf-mmc7-6c2pWEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-29337ADVISORY
- https://github.com/NuGet/NuGet.Client/commit/7fe6b814c901490292f02d8ea12749505fbb959aWEB
- https://github.com/NuGet/NuGet.ClientPACKAGE
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-29337WEB
Frequently Asked Questions
- What is CVE-2023-29337?
- NuGet Client Remote Code Execution Vulnerability This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.1/10).
- How do I check if my project is affected by CVE-2023-29337?
- CVE-2023-29337 affects NuGet.CommandLine, NuGet.Commands and NuGet.Protocol (and 3 more). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2023-29337 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2024-0057CRITICAL
NuGet Client Security Feature Bypass Vulnerability
- CVE-2026-106112HIGH
ImageSharp: ICC LUT16 output channel count can write beyond Vector4
- CVE-2022-41032HIGH
NuGet Elevation of Privilege Vulnerability
- CVE-2026-106115HIGH
ImageSharp: TIFF CCITT T6 encoder writes beyond an undersized output buffer
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies