GHSA-g4vj-cjjj-v7hg Defense in Depth update for NuGet Client
- Published
- Updated
- Exploit status
- No public exploit known
Description
Impact
This update adds validation of the package ID and version during package download, in addition to the existing package signature validation.
Patches
NuGet
The following NuGet.exe, NuGet.CommandLine, NuGet.Packaging, and NuGet.Protocol versions have been patched:
|Affected versions|Patched version|
|--|--|
|>= 4.9.0, <= 4.9.6|4.9.7|
|>= 5.11.0, <= 5.11.6|5.11.7|
|>= 6.8.0, <= 6.8.1|6.8.2|
|>= 6.11.0, <= 6.11.1|6.11.2|
|>= 6.12.0, <= 6.12.4|6.12.5|
|>= 6.14.0, <= 6.14.2|6.14.3|
|>= 7.0.0, <= 7.0.2|7.0.3|
|7.3.0|7.3.1|
.NET SDK
- .NET 8.0.126 SDK
- .NET 8.0.420 SDK
- .NET 9.0.116 SDK
- .NET 9.0.313 SDK
- .NET 10.0.106 SDK
- .NET 10.0.202 SDK
Workarounds
N/A
References
https://github.com/NuGet/NuGetGallery/security/advisories/GHSA-9r3h-v4hx-rhfr
Credit
Upgrade path
3 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| NuGet.CommandLine(NuGet) | = 4.9.2; = 4.9.3; = 4.9.4; = 4.9.5 +33 more | 4.9.7, 5.11.7, 6.8.2, 6.11.2, 6.12.5, 6.14.3, 7.0.3, 7.3.1 | Fixed |
| NuGet.Packaging(NuGet) | = 5.11.0; = 5.11.2; = 5.11.3; = 5.11.5 +27 more | 4.9.7, 5.11.7, 6.8.2, 6.11.2, 6.12.5, 6.14.3, 7.0.3, 7.3.1 | Fixed |
| NuGet.Protocol(NuGet) | = 5.11.0; = 5.11.2; = 5.11.3; = 5.11.5 +27 more | 4.9.7, 5.11.7, 6.8.2, 6.11.2, 6.12.5, 6.14.3, 7.0.3, 7.3.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| NuGet.Packaging(NuGet) | >= 4.9.0, < 4.9.7 | 4.9.7 |
| NuGet.Packaging(NuGet) | >= 5.11.0, < 5.11.7 | 5.11.7 |
| NuGet.Packaging(NuGet) | = 5.11.0 | No fix listed |
| NuGet.Packaging(NuGet) | = 5.11.2 | No fix listed |
| NuGet.Packaging(NuGet) | = 5.11.3 | No fix listed |
| NuGet.Packaging(NuGet) | = 5.11.5 | No fix listed |
| NuGet.Packaging(NuGet) | = 5.11.6 | No fix listed |
| NuGet.Packaging(NuGet) | >= 6.8.0, < 6.8.2 | 6.8.2 |
| NuGet.Packaging(NuGet) | = 6.8.0 | No fix listed |
| NuGet.Packaging(NuGet) | = 6.8.1 | No fix listed |
| NuGet.Packaging(NuGet) | >= 6.11.0, < 6.11.2 | 6.11.2 |
| NuGet.Packaging(NuGet) | = 6.11.0 | No fix listed |
| NuGet.Packaging(NuGet) | = 6.11.1 | No fix listed |
| NuGet.Packaging(NuGet) | >= 6.12.0, < 6.12.5 | 6.12.5 |
| NuGet.Packaging(NuGet) | = 6.12.0 | No fix listed |
| NuGet.Packaging(NuGet) | = 6.12.1 | No fix listed |
| NuGet.Packaging(NuGet) | = 6.12.4 | No fix listed |
| NuGet.Packaging(NuGet) | >= 6.14.0, < 6.14.3 | 6.14.3 |
| NuGet.Packaging(NuGet) | = 6.14.0 | No fix listed |
| NuGet.Packaging(NuGet) | >= 7.0.0, < 7.0.3 | 7.0.3 |
| NuGet.Packaging(NuGet) | = 7.0.0 | No fix listed |
| NuGet.Packaging(NuGet) | = 7.0.1 | No fix listed |
| NuGet.Packaging(NuGet) | >= 7.3.0, < 7.3.1 | 7.3.1 |
| NuGet.Packaging(NuGet) | = 7.3.0 | No fix listed |
| NuGet.Protocol(NuGet) | >= 4.9.0, < 4.9.7 | 4.9.7 |
Show 74 more
| Product | Affected versions | Fixed in |
|---|---|---|
| NuGet.Protocol(NuGet) | >= 5.11.0, < 5.11.7 | 5.11.7 |
| NuGet.Protocol(NuGet) | = 5.11.0 | No fix listed |
| NuGet.Protocol(NuGet) | = 5.11.2 | No fix listed |
| NuGet.Protocol(NuGet) | = 5.11.3 | No fix listed |
| NuGet.Protocol(NuGet) | = 5.11.5 | No fix listed |
| NuGet.Protocol(NuGet) | = 5.11.6 | No fix listed |
| NuGet.Protocol(NuGet) | >= 6.8.0, < 6.8.2 | 6.8.2 |
| NuGet.Protocol(NuGet) | = 6.8.0 | No fix listed |
| NuGet.Protocol(NuGet) | = 6.8.1 | No fix listed |
| NuGet.Protocol(NuGet) | >= 6.11.0, < 6.11.2 | 6.11.2 |
| NuGet.Protocol(NuGet) | = 6.11.0 | No fix listed |
| NuGet.Protocol(NuGet) | = 6.11.1 | No fix listed |
| NuGet.Protocol(NuGet) | >= 6.12.0, < 6.12.5 | 6.12.5 |
| NuGet.Protocol(NuGet) | = 6.12.0 | No fix listed |
| NuGet.Protocol(NuGet) | = 6.12.1 | No fix listed |
| NuGet.Protocol(NuGet) | = 6.12.4 | No fix listed |
| NuGet.Protocol(NuGet) | >= 6.14.0, < 6.14.3 | 6.14.3 |
| NuGet.Protocol(NuGet) | = 6.14.0 | No fix listed |
| NuGet.Protocol(NuGet) | >= 7.0.0, < 7.0.3 | 7.0.3 |
| NuGet.Protocol(NuGet) | = 7.0.0 | No fix listed |
| NuGet.Protocol(NuGet) | = 7.0.1 | No fix listed |
| NuGet.Protocol(NuGet) | >= 7.3.0, < 7.3.1 | 7.3.1 |
| NuGet.Protocol(NuGet) | = 7.3.0 | No fix listed |
| NuGet.CommandLine(NuGet) | >= 4.9.0, < 4.9.7 | 4.9.7 |
| NuGet.CommandLine(NuGet) | = 4.9.2 | No fix listed |
| NuGet.CommandLine(NuGet) | = 4.9.3 | No fix listed |
| NuGet.CommandLine(NuGet) | = 4.9.4 | No fix listed |
| NuGet.CommandLine(NuGet) | = 4.9.5 | No fix listed |
| NuGet.CommandLine(NuGet) | = 4.9.6 | No fix listed |
| NuGet.CommandLine(NuGet) | >= 5.11.0, < 5.11.7 | 5.11.7 |
| NuGet.CommandLine(NuGet) | = 5.11.0 | No fix listed |
| NuGet.CommandLine(NuGet) | = 5.11.2 | No fix listed |
| NuGet.CommandLine(NuGet) | = 5.11.3 | No fix listed |
| NuGet.CommandLine(NuGet) | = 5.11.5 | No fix listed |
| NuGet.CommandLine(NuGet) | = 5.11.6 | No fix listed |
| NuGet.CommandLine(NuGet) | >= 6.8.0, < 6.8.2 | 6.8.2 |
| NuGet.CommandLine(NuGet) | = 6.8.0 | No fix listed |
| NuGet.CommandLine(NuGet) | = 6.8.1 | No fix listed |
| NuGet.CommandLine(NuGet) | >= 6.11.0, < 6.11.2 | 6.11.2 |
| NuGet.CommandLine(NuGet) | = 6.11.0 | No fix listed |
| NuGet.CommandLine(NuGet) | = 6.11.1 | No fix listed |
| NuGet.CommandLine(NuGet) | >= 6.12.0, < 6.12.5 | 6.12.5 |
| NuGet.CommandLine(NuGet) | = 6.12.0 | No fix listed |
| NuGet.CommandLine(NuGet) | = 6.12.1 | No fix listed |
| NuGet.CommandLine(NuGet) | = 6.12.2 | No fix listed |
| NuGet.CommandLine(NuGet) | = 6.12.4 | No fix listed |
| NuGet.CommandLine(NuGet) | >= 6.14.0, < 6.14.3 | 6.14.3 |
| NuGet.CommandLine(NuGet) | = 6.14.0 | No fix listed |
| NuGet.CommandLine(NuGet) | >= 7.0.0, < 7.0.3 | 7.0.3 |
| NuGet.CommandLine(NuGet) | = 7.0.0 | No fix listed |
| NuGet.CommandLine(NuGet) | = 7.0.1 | No fix listed |
| NuGet.CommandLine(NuGet) | >= 7.3.0, < 7.3.1 | 7.3.1 |
| NuGet.CommandLine(NuGet) | = 7.3.0 | No fix listed |
| NuGet.Packaging(NuGet) | >= 4.9.0, <= 4.9.6 | No fix listed |
| NuGet.Packaging(NuGet) | >= 5.11.0, <= 5.11.6 | No fix listed |
| NuGet.Packaging(NuGet) | >= 6.8.0, <= 6.8.1 | No fix listed |
| NuGet.Packaging(NuGet) | >= 6.11.0, <= 6.11.1 | No fix listed |
| NuGet.Packaging(NuGet) | >= 6.12.0, <= 6.12.4 | No fix listed |
| NuGet.Packaging(NuGet) | >= 6.14.0, <= 6.14.2 | No fix listed |
| NuGet.Packaging(NuGet) | >= 7.0.0, <= 7.0.2 | No fix listed |
| NuGet.Protocol(NuGet) | >= 4.9.0, <= 4.9.6 | No fix listed |
| NuGet.Protocol(NuGet) | >= 5.11.0, <= 5.11.6 | No fix listed |
| NuGet.Protocol(NuGet) | >= 6.8.0, <= 6.8.1 | No fix listed |
| NuGet.Protocol(NuGet) | >= 6.11.0, <= 6.11.1 | No fix listed |
| NuGet.Protocol(NuGet) | >= 6.12.0, <= 6.12.4 | No fix listed |
| NuGet.Protocol(NuGet) | >= 6.14.0, <= 6.14.2 | No fix listed |
| NuGet.Protocol(NuGet) | >= 7.0.0, <= 7.0.2 | No fix listed |
| NuGet.CommandLine(NuGet) | >= 4.9.0, <= 4.9.6 | No fix listed |
| NuGet.CommandLine(NuGet) | >= 5.11.0, <= 5.11.6 | No fix listed |
| NuGet.CommandLine(NuGet) | >= 6.8.0, <= 6.8.1 | No fix listed |
| NuGet.CommandLine(NuGet) | >= 6.11.0, <= 6.11.1 | No fix listed |
| NuGet.CommandLine(NuGet) | >= 6.12.0, <= 6.12.4 | No fix listed |
| NuGet.CommandLine(NuGet) | >= 6.14.0, <= 6.14.2 | No fix listed |
| NuGet.CommandLine(NuGet) | >= 7.0.0, <= 7.0.2 | No fix listed |
References
- github.com vendor-advisory
- github.com vendor-advisory
- github.com product
- github.com