NuGet.Packaging
NuGet's understanding of packages. Reading nuspec, nupkgs and package signing.
Activity
- Latest release
- 1mo ago
- Total releases
- 79
- Cadence
- ~daily
- Last 12 months
- 13
Details
- License
- Apache-2.0
- First release
- Sep 16, 2015
| Version | Released | |
|---|---|---|
7.9.0
minor
|
7.9.0
minor
Dependencies (5)
|
|
7.6.0
minor
|
7.6.0
minor
Dependencies (5)
|
|
7.0.3
patch
|
7.0.3
patch
Dependencies (5)
|
|
5.11.7
patch
|
5.11.7
patch
Dependencies (5)
|
|
7.3.1
patch
|
7.3.1
patch
Dependencies (5)
|
|
6.14.3
patch
|
6.14.3
patch
Dependencies (7)
|
|
6.11.2
patch
|
6.11.2
patch
Dependencies (4)
|
|
6.12.5
patch
|
6.12.5
patch
Dependencies (6)
|
|
6.8.2
patch
|
6.8.2
patch
Dependencies (4)
|
|
4.9.7+2f95c369aa79225d4fbc752f4ec5063d71cdfd08
patch
1 CVE
CVE-2024-0057
GHSA-68w7-72jg-6qpp
BIT-dotnet-2024-0057
BIT-dotnet-sdk-2024-0057
BIT-powershell-2024-0057
Feb 13, 2024
NuGet Client Security Feature Bypass Vulnerability
9.1
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
None
DescriptionMicrosoft is releasing this security advisory to provide information about a vulnerability in .NET 6.0, .NET 7.0 and .NET 8.0. This advisory also provides guidance on what developers can do to update their applications to address this vulnerability. A security feature bypass vulnerability exists when Microsoft .NET Framework-based applications use X.509 chain building APIs but do not completely validate the X.509 certificate due to a logic flaw. An attacker could present an arbitrary untrusted certificate with malformed signatures, triggering a bug in the framework. The framework will correctly report that X.509 chain building failed, but it will return an incorrect reason code for the failure. Applications which utilize this reason code to make their own chain building trust decisions may inadvertently treat this scenario as a successful chain build. This could allow an adversary to subvert the app's typical authentication logic. Affected softwareNuGet & NuGet Packages
.NET SDK(s)
PatchesTo fix the issue, please install the latest version of .NET 6.0, .NET 7.0 or .NET 8.0 and NuGet (NuGet.exe, NuGet.CommandLine, NuGet. Packaging versions). If you have installed one or more .NET SDKs through Visual Studio, Visual Studio will prompt you to update Visual Studio, which will also update your .NET SDKs.
Other detailsAnnouncement for this issue can be found at https://github.com/NuGet/Announcements/issues/71 MSRC details for this can be found at CVE-2024-0057 - Security Update Guide - Microsoft - NET, .NET Framework, and Visual Studio Security Feature Bypass Vulnerability Affected versions
4.6.0
4.6.1
4.6.2
4.6.3
4.6.4
4.7.0-preview1-4986
5.10.0
5.11.0
5.11.2
5.11.3
5.11.5
5.9.0
+ 15 more Show less
5.9.1
5.9.2
5.9.3
6.0.0
6.0.2
6.0.5
6.3.0
6.3.1
6.3.3
6.4.0
6.4.2
6.6.0
6.6.1
6.7.0
6.8.0
Fixed in
5.11.6
6.0.6
6.3.4
6.4.3
6.6.2
6.7.1
6.8.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
4.9.7+2f95c369aa79225d4fbc752f4ec5063d71cdfd08
patch
Dependencies (5)
|
|
7.3.0
minor
1 CVE
GHSA-g4vj-cjjj-v7hg
Apr 14, 2026
Defense in Depth update for NuGet Client
Low
ImpactThis update adds validation of the package ID and version during package download, in addition to the existing package signature validation. PatchesNuGetThe 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
WorkaroundsN/A Referenceshttps://github.com/NuGet/NuGetGallery/security/advisories/GHSA-9r3h-v4hx-rhfr CreditAffected versions
5.11.0
5.11.2
5.11.3
5.11.5
5.11.6
6.8.0
6.8.1
6.11.0
6.11.1
6.12.0
6.12.1
6.12.4
+ 4 more Show less
6.14.0
7.0.0
7.0.1
7.3.0
Fixed in
4.9.7
5.11.7
6.8.2
6.11.2
6.12.5
6.14.3
7.0.3
7.3.1
References Updated Sep 10, 2026 · Source: OSV.dev |
7.3.0
minor
Dependencies (5)
|
|
7.0.1
patch
1 CVE
GHSA-g4vj-cjjj-v7hg
Apr 14, 2026
Defense in Depth update for NuGet Client
Low
ImpactThis update adds validation of the package ID and version during package download, in addition to the existing package signature validation. PatchesNuGetThe 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
WorkaroundsN/A Referenceshttps://github.com/NuGet/NuGetGallery/security/advisories/GHSA-9r3h-v4hx-rhfr CreditAffected versions
5.11.0
5.11.2
5.11.3
5.11.5
5.11.6
6.8.0
6.8.1
6.11.0
6.11.1
6.12.0
6.12.1
6.12.4
+ 4 more Show less
6.14.0
7.0.0
7.0.1
7.3.0
Fixed in
4.9.7
5.11.7
6.8.2
6.11.2
6.12.5
6.14.3
7.0.3
7.3.1
References Updated Sep 10, 2026 · Source: OSV.dev |
7.0.1
patch
Dependencies (5)
|
|
7.0.0
major
1 CVE
GHSA-g4vj-cjjj-v7hg
Apr 14, 2026
Defense in Depth update for NuGet Client
Low
ImpactThis update adds validation of the package ID and version during package download, in addition to the existing package signature validation. PatchesNuGetThe 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
WorkaroundsN/A Referenceshttps://github.com/NuGet/NuGetGallery/security/advisories/GHSA-9r3h-v4hx-rhfr CreditAffected versions
5.11.0
5.11.2
5.11.3
5.11.5
5.11.6
6.8.0
6.8.1
6.11.0
6.11.1
6.12.0
6.12.1
6.12.4
+ 4 more Show less
6.14.0
7.0.0
7.0.1
7.3.0
Fixed in
4.9.7
5.11.7
6.8.2
6.11.2
6.12.5
6.14.3
7.0.3
7.3.1
References Updated Sep 10, 2026 · Source: OSV.dev |
7.0.0
major
Dependencies (5)
|
|
6.14.0
minor
1 CVE
GHSA-g4vj-cjjj-v7hg
Apr 14, 2026
Defense in Depth update for NuGet Client
Low
ImpactThis update adds validation of the package ID and version during package download, in addition to the existing package signature validation. PatchesNuGetThe 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
WorkaroundsN/A Referenceshttps://github.com/NuGet/NuGetGallery/security/advisories/GHSA-9r3h-v4hx-rhfr CreditAffected versions
5.11.0
5.11.2
5.11.3
5.11.5
5.11.6
6.8.0
6.8.1
6.11.0
6.11.1
6.12.0
6.12.1
6.12.4
+ 4 more Show less
6.14.0
7.0.0
7.0.1
7.3.0
Fixed in
4.9.7
5.11.7
6.8.2
6.11.2
6.12.5
6.14.3
7.0.3
7.3.1
References Updated Sep 10, 2026 · Source: OSV.dev |
6.14.0
minor
Dependencies (7)
|
|
6.12.4
patch
1 CVE
GHSA-g4vj-cjjj-v7hg
Apr 14, 2026
Defense in Depth update for NuGet Client
Low
ImpactThis update adds validation of the package ID and version during package download, in addition to the existing package signature validation. PatchesNuGetThe 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
WorkaroundsN/A Referenceshttps://github.com/NuGet/NuGetGallery/security/advisories/GHSA-9r3h-v4hx-rhfr CreditAffected versions
5.11.0
5.11.2
5.11.3
5.11.5
5.11.6
6.8.0
6.8.1
6.11.0
6.11.1
6.12.0
6.12.1
6.12.4
+ 4 more Show less
6.14.0
7.0.0
7.0.1
7.3.0
Fixed in
4.9.7
5.11.7
6.8.2
6.11.2
6.12.5
6.14.3
7.0.3
7.3.1
References Updated Sep 10, 2026 · Source: OSV.dev |
6.12.4
patch
Dependencies (6)
|
|
6.13.2
patch
|
6.13.2
patch
Dependencies (7)
|
|
6.13.1
minor
|
6.13.1
minor
Dependencies (7)
|
|
6.12.0
minor
1 CVE
GHSA-g4vj-cjjj-v7hg
Apr 14, 2026
Defense in Depth update for NuGet Client
Low
ImpactThis update adds validation of the package ID and version during package download, in addition to the existing package signature validation. PatchesNuGetThe 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
WorkaroundsN/A Referenceshttps://github.com/NuGet/NuGetGallery/security/advisories/GHSA-9r3h-v4hx-rhfr CreditAffected versions
5.11.0
5.11.2
5.11.3
5.11.5
5.11.6
6.8.0
6.8.1
6.11.0
6.11.1
6.12.0
6.12.1
6.12.4
+ 4 more Show less
6.14.0
7.0.0
7.0.1
7.3.0
Fixed in
4.9.7
5.11.7
6.8.2
6.11.2
6.12.5
6.14.3
7.0.3
7.3.1
References Updated Sep 10, 2026 · Source: OSV.dev |
6.12.0
minor
Dependencies (6)
|
|
6.12.1
patch
1 CVE
GHSA-g4vj-cjjj-v7hg
Apr 14, 2026
Defense in Depth update for NuGet Client
Low
ImpactThis update adds validation of the package ID and version during package download, in addition to the existing package signature validation. PatchesNuGetThe 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
WorkaroundsN/A Referenceshttps://github.com/NuGet/NuGetGallery/security/advisories/GHSA-9r3h-v4hx-rhfr CreditAffected versions
5.11.0
5.11.2
5.11.3
5.11.5
5.11.6
6.8.0
6.8.1
6.11.0
6.11.1
6.12.0
6.12.1
6.12.4
+ 4 more Show less
6.14.0
7.0.0
7.0.1
7.3.0
Fixed in
4.9.7
5.11.7
6.8.2
6.11.2
6.12.5
6.14.3
7.0.3
7.3.1
References Updated Sep 10, 2026 · Source: OSV.dev |
6.12.1
patch
Dependencies (6)
|
|
6.11.1
patch
1 CVE
GHSA-g4vj-cjjj-v7hg
Apr 14, 2026
Defense in Depth update for NuGet Client
Low
ImpactThis update adds validation of the package ID and version during package download, in addition to the existing package signature validation. PatchesNuGetThe 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
WorkaroundsN/A Referenceshttps://github.com/NuGet/NuGetGallery/security/advisories/GHSA-9r3h-v4hx-rhfr CreditAffected versions
5.11.0
5.11.2
5.11.3
5.11.5
5.11.6
6.8.0
6.8.1
6.11.0
6.11.1
6.12.0
6.12.1
6.12.4
+ 4 more Show less
6.14.0
7.0.0
7.0.1
7.3.0
Fixed in
4.9.7
5.11.7
6.8.2
6.11.2
6.12.5
6.14.3
7.0.3
7.3.1
References Updated Sep 10, 2026 · Source: OSV.dev |
6.11.1
patch
Dependencies (4)
|
|
6.11.0
minor
1 CVE
GHSA-g4vj-cjjj-v7hg
Apr 14, 2026
Defense in Depth update for NuGet Client
Low
ImpactThis update adds validation of the package ID and version during package download, in addition to the existing package signature validation. PatchesNuGetThe 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
WorkaroundsN/A Referenceshttps://github.com/NuGet/NuGetGallery/security/advisories/GHSA-9r3h-v4hx-rhfr CreditAffected versions
5.11.0
5.11.2
5.11.3
5.11.5
5.11.6
6.8.0
6.8.1
6.11.0
6.11.1
6.12.0
6.12.1
6.12.4
+ 4 more Show less
6.14.0
7.0.0
7.0.1
7.3.0
Fixed in
4.9.7
5.11.7
6.8.2
6.11.2
6.12.5
6.14.3
7.0.3
7.3.1
References Updated Sep 10, 2026 · Source: OSV.dev |
6.11.0
minor
Dependencies (4)
|
|
6.10.2
patch
|
6.10.2
patch
Dependencies (4)
|
|
6.10.1
patch
|
6.10.1
patch
Dependencies (4)
|
|
6.11.0-preview.2
pre
|
6.11.0-preview.2
pre
Dependencies (4)
|
|
6.10.0
minor
|
6.10.0
minor
Dependencies (4)
|
|
6.7.1
patch
|
6.7.1
patch
Dependencies (4)
|
|
6.0.6
patch
|
6.0.6
patch
Dependencies (5)
|
|
5.11.6
patch
1 CVE
GHSA-g4vj-cjjj-v7hg
Apr 14, 2026
Defense in Depth update for NuGet Client
Low
ImpactThis update adds validation of the package ID and version during package download, in addition to the existing package signature validation. PatchesNuGetThe 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
WorkaroundsN/A Referenceshttps://github.com/NuGet/NuGetGallery/security/advisories/GHSA-9r3h-v4hx-rhfr CreditAffected versions
5.11.0
5.11.2
5.11.3
5.11.5
5.11.6
6.8.0
6.8.1
6.11.0
6.11.1
6.12.0
6.12.1
6.12.4
+ 4 more Show less
6.14.0
7.0.0
7.0.1
7.3.0
Fixed in
4.9.7
5.11.7
6.8.2
6.11.2
6.12.5
6.14.3
7.0.3
7.3.1
References Updated Sep 10, 2026 · Source: OSV.dev |
5.11.6
patch
Dependencies (5)
|
|
6.3.4
patch
|
6.3.4
patch
Dependencies (5)
|
|
6.4.3
patch
|
6.4.3
patch
Dependencies (5)
|
|
6.6.2
patch
|
6.6.2
patch
Dependencies (4)
|
|
6.8.1
patch
1 CVE
GHSA-g4vj-cjjj-v7hg
Apr 14, 2026
Defense in Depth update for NuGet Client
Low
ImpactThis update adds validation of the package ID and version during package download, in addition to the existing package signature validation. PatchesNuGetThe 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
WorkaroundsN/A Referenceshttps://github.com/NuGet/NuGetGallery/security/advisories/GHSA-9r3h-v4hx-rhfr CreditAffected versions
5.11.0
5.11.2
5.11.3
5.11.5
5.11.6
6.8.0
6.8.1
6.11.0
6.11.1
6.12.0
6.12.1
6.12.4
+ 4 more Show less
6.14.0
7.0.0
7.0.1
7.3.0
Fixed in
4.9.7
5.11.7
6.8.2
6.11.2
6.12.5
6.14.3
7.0.3
7.3.1
References Updated Sep 10, 2026 · Source: OSV.dev |
6.8.1
patch
Dependencies (4)
|
|
6.9.1
minor
|
6.9.1
minor
Dependencies (4)
|
|
6.8.0
minor
2 CVEs
GHSA-g4vj-cjjj-v7hg
Apr 14, 2026
Defense in Depth update for NuGet Client
Low
ImpactThis update adds validation of the package ID and version during package download, in addition to the existing package signature validation. PatchesNuGetThe 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
WorkaroundsN/A Referenceshttps://github.com/NuGet/NuGetGallery/security/advisories/GHSA-9r3h-v4hx-rhfr CreditAffected versions
5.11.0
5.11.2
5.11.3
5.11.5
5.11.6
6.8.0
6.8.1
6.11.0
6.11.1
6.12.0
6.12.1
6.12.4
+ 4 more Show less
6.14.0
7.0.0
7.0.1
7.3.0
Fixed in
4.9.7
5.11.7
6.8.2
6.11.2
6.12.5
6.14.3
7.0.3
7.3.1
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2024-0057
GHSA-68w7-72jg-6qpp
BIT-dotnet-2024-0057
BIT-dotnet-sdk-2024-0057
BIT-powershell-2024-0057
Feb 13, 2024
NuGet Client Security Feature Bypass Vulnerability
9.1
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
None
DescriptionMicrosoft is releasing this security advisory to provide information about a vulnerability in .NET 6.0, .NET 7.0 and .NET 8.0. This advisory also provides guidance on what developers can do to update their applications to address this vulnerability. A security feature bypass vulnerability exists when Microsoft .NET Framework-based applications use X.509 chain building APIs but do not completely validate the X.509 certificate due to a logic flaw. An attacker could present an arbitrary untrusted certificate with malformed signatures, triggering a bug in the framework. The framework will correctly report that X.509 chain building failed, but it will return an incorrect reason code for the failure. Applications which utilize this reason code to make their own chain building trust decisions may inadvertently treat this scenario as a successful chain build. This could allow an adversary to subvert the app's typical authentication logic. Affected softwareNuGet & NuGet Packages
.NET SDK(s)
PatchesTo fix the issue, please install the latest version of .NET 6.0, .NET 7.0 or .NET 8.0 and NuGet (NuGet.exe, NuGet.CommandLine, NuGet. Packaging versions). If you have installed one or more .NET SDKs through Visual Studio, Visual Studio will prompt you to update Visual Studio, which will also update your .NET SDKs.
Other detailsAnnouncement for this issue can be found at https://github.com/NuGet/Announcements/issues/71 MSRC details for this can be found at CVE-2024-0057 - Security Update Guide - Microsoft - NET, .NET Framework, and Visual Studio Security Feature Bypass Vulnerability Affected versions
4.6.0
4.6.1
4.6.2
4.6.3
4.6.4
4.7.0-preview1-4986
5.10.0
5.11.0
5.11.2
5.11.3
5.11.5
5.9.0
+ 15 more Show less
5.9.1
5.9.2
5.9.3
6.0.0
6.0.2
6.0.5
6.3.0
6.3.1
6.3.3
6.4.0
6.4.2
6.6.0
6.6.1
6.7.0
6.8.0
Fixed in
5.11.6
6.0.6
6.3.4
6.4.3
6.6.2
6.7.1
6.8.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
6.8.0
minor
Dependencies (4)
|
|
6.7.0
minor
1 CVE
CVE-2024-0057
GHSA-68w7-72jg-6qpp
BIT-dotnet-2024-0057
BIT-dotnet-sdk-2024-0057
BIT-powershell-2024-0057
Feb 13, 2024
NuGet Client Security Feature Bypass Vulnerability
9.1
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
None
DescriptionMicrosoft is releasing this security advisory to provide information about a vulnerability in .NET 6.0, .NET 7.0 and .NET 8.0. This advisory also provides guidance on what developers can do to update their applications to address this vulnerability. A security feature bypass vulnerability exists when Microsoft .NET Framework-based applications use X.509 chain building APIs but do not completely validate the X.509 certificate due to a logic flaw. An attacker could present an arbitrary untrusted certificate with malformed signatures, triggering a bug in the framework. The framework will correctly report that X.509 chain building failed, but it will return an incorrect reason code for the failure. Applications which utilize this reason code to make their own chain building trust decisions may inadvertently treat this scenario as a successful chain build. This could allow an adversary to subvert the app's typical authentication logic. Affected softwareNuGet & NuGet Packages
.NET SDK(s)
PatchesTo fix the issue, please install the latest version of .NET 6.0, .NET 7.0 or .NET 8.0 and NuGet (NuGet.exe, NuGet.CommandLine, NuGet. Packaging versions). If you have installed one or more .NET SDKs through Visual Studio, Visual Studio will prompt you to update Visual Studio, which will also update your .NET SDKs.
Other detailsAnnouncement for this issue can be found at https://github.com/NuGet/Announcements/issues/71 MSRC details for this can be found at CVE-2024-0057 - Security Update Guide - Microsoft - NET, .NET Framework, and Visual Studio Security Feature Bypass Vulnerability Affected versions
4.6.0
4.6.1
4.6.2
4.6.3
4.6.4
4.7.0-preview1-4986
5.10.0
5.11.0
5.11.2
5.11.3
5.11.5
5.9.0
+ 15 more Show less
5.9.1
5.9.2
5.9.3
6.0.0
6.0.2
6.0.5
6.3.0
6.3.1
6.3.3
6.4.0
6.4.2
6.6.0
6.6.1
6.7.0
6.8.0
Fixed in
5.11.6
6.0.6
6.3.4
6.4.3
6.6.2
6.7.1
6.8.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
6.7.0
minor
Dependencies (4)
|
|
5.11.5
patch
2 CVEs
GHSA-g4vj-cjjj-v7hg
Apr 14, 2026
Defense in Depth update for NuGet Client
Low
ImpactThis update adds validation of the package ID and version during package download, in addition to the existing package signature validation. PatchesNuGetThe 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
WorkaroundsN/A Referenceshttps://github.com/NuGet/NuGetGallery/security/advisories/GHSA-9r3h-v4hx-rhfr CreditAffected versions
5.11.0
5.11.2
5.11.3
5.11.5
5.11.6
6.8.0
6.8.1
6.11.0
6.11.1
6.12.0
6.12.1
6.12.4
+ 4 more Show less
6.14.0
7.0.0
7.0.1
7.3.0
Fixed in
4.9.7
5.11.7
6.8.2
6.11.2
6.12.5
6.14.3
7.0.3
7.3.1
References Updated Sep 10, 2026 · Source: OSV.dev
CVE-2024-0057
GHSA-68w7-72jg-6qpp
BIT-dotnet-2024-0057
BIT-dotnet-sdk-2024-0057
BIT-powershell-2024-0057
Feb 13, 2024
NuGet Client Security Feature Bypass Vulnerability
9.1
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
None
DescriptionMicrosoft is releasing this security advisory to provide information about a vulnerability in .NET 6.0, .NET 7.0 and .NET 8.0. This advisory also provides guidance on what developers can do to update their applications to address this vulnerability. A security feature bypass vulnerability exists when Microsoft .NET Framework-based applications use X.509 chain building APIs but do not completely validate the X.509 certificate due to a logic flaw. An attacker could present an arbitrary untrusted certificate with malformed signatures, triggering a bug in the framework. The framework will correctly report that X.509 chain building failed, but it will return an incorrect reason code for the failure. Applications which utilize this reason code to make their own chain building trust decisions may inadvertently treat this scenario as a successful chain build. This could allow an adversary to subvert the app's typical authentication logic. Affected softwareNuGet & NuGet Packages
.NET SDK(s)
PatchesTo fix the issue, please install the latest version of .NET 6.0, .NET 7.0 or .NET 8.0 and NuGet (NuGet.exe, NuGet.CommandLine, NuGet. Packaging versions). If you have installed one or more .NET SDKs through Visual Studio, Visual Studio will prompt you to update Visual Studio, which will also update your .NET SDKs.
Other detailsAnnouncement for this issue can be found at https://github.com/NuGet/Announcements/issues/71 MSRC details for this can be found at CVE-2024-0057 - Security Update Guide - Microsoft - NET, .NET Framework, and Visual Studio Security Feature Bypass Vulnerability Affected versions
4.6.0
4.6.1
4.6.2
4.6.3
4.6.4
4.7.0-preview1-4986
5.10.0
5.11.0
5.11.2
5.11.3
5.11.5
5.9.0
+ 15 more Show less
5.9.1
5.9.2
5.9.3
6.0.0
6.0.2
6.0.5
6.3.0
6.3.1
6.3.3
6.4.0
6.4.2
6.6.0
6.6.1
6.7.0
6.8.0
Fixed in
5.11.6
6.0.6
6.3.4
6.4.3
6.6.2
6.7.1
6.8.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
5.11.5
patch
Dependencies (5)
|
|
6.3.3
patch
1 CVE
CVE-2024-0057
GHSA-68w7-72jg-6qpp
BIT-dotnet-2024-0057
BIT-dotnet-sdk-2024-0057
BIT-powershell-2024-0057
Feb 13, 2024
NuGet Client Security Feature Bypass Vulnerability
9.1
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
None
DescriptionMicrosoft is releasing this security advisory to provide information about a vulnerability in .NET 6.0, .NET 7.0 and .NET 8.0. This advisory also provides guidance on what developers can do to update their applications to address this vulnerability. A security feature bypass vulnerability exists when Microsoft .NET Framework-based applications use X.509 chain building APIs but do not completely validate the X.509 certificate due to a logic flaw. An attacker could present an arbitrary untrusted certificate with malformed signatures, triggering a bug in the framework. The framework will correctly report that X.509 chain building failed, but it will return an incorrect reason code for the failure. Applications which utilize this reason code to make their own chain building trust decisions may inadvertently treat this scenario as a successful chain build. This could allow an adversary to subvert the app's typical authentication logic. Affected softwareNuGet & NuGet Packages
.NET SDK(s)
PatchesTo fix the issue, please install the latest version of .NET 6.0, .NET 7.0 or .NET 8.0 and NuGet (NuGet.exe, NuGet.CommandLine, NuGet. Packaging versions). If you have installed one or more .NET SDKs through Visual Studio, Visual Studio will prompt you to update Visual Studio, which will also update your .NET SDKs.
Other detailsAnnouncement for this issue can be found at https://github.com/NuGet/Announcements/issues/71 MSRC details for this can be found at CVE-2024-0057 - Security Update Guide - Microsoft - NET, .NET Framework, and Visual Studio Security Feature Bypass Vulnerability Affected versions
4.6.0
4.6.1
4.6.2
4.6.3
4.6.4
4.7.0-preview1-4986
5.10.0
5.11.0
5.11.2
5.11.3
5.11.5
5.9.0
+ 15 more Show less
5.9.1
5.9.2
5.9.3
6.0.0
6.0.2
6.0.5
6.3.0
6.3.1
6.3.3
6.4.0
6.4.2
6.6.0
6.6.1
6.7.0
6.8.0
Fixed in
5.11.6
6.0.6
6.3.4
6.4.3
6.6.2
6.7.1
6.8.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
6.3.3
patch
Dependencies (5)
|
|
6.2.4
patch
|
6.2.4
patch
Dependencies (5)
|
|
6.0.5
patch
1 CVE
CVE-2024-0057
GHSA-68w7-72jg-6qpp
BIT-dotnet-2024-0057
BIT-dotnet-sdk-2024-0057
BIT-powershell-2024-0057
Feb 13, 2024
NuGet Client Security Feature Bypass Vulnerability
9.1
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
None
DescriptionMicrosoft is releasing this security advisory to provide information about a vulnerability in .NET 6.0, .NET 7.0 and .NET 8.0. This advisory also provides guidance on what developers can do to update their applications to address this vulnerability. A security feature bypass vulnerability exists when Microsoft .NET Framework-based applications use X.509 chain building APIs but do not completely validate the X.509 certificate due to a logic flaw. An attacker could present an arbitrary untrusted certificate with malformed signatures, triggering a bug in the framework. The framework will correctly report that X.509 chain building failed, but it will return an incorrect reason code for the failure. Applications which utilize this reason code to make their own chain building trust decisions may inadvertently treat this scenario as a successful chain build. This could allow an adversary to subvert the app's typical authentication logic. Affected softwareNuGet & NuGet Packages
.NET SDK(s)
PatchesTo fix the issue, please install the latest version of .NET 6.0, .NET 7.0 or .NET 8.0 and NuGet (NuGet.exe, NuGet.CommandLine, NuGet. Packaging versions). If you have installed one or more .NET SDKs through Visual Studio, Visual Studio will prompt you to update Visual Studio, which will also update your .NET SDKs.
Other detailsAnnouncement for this issue can be found at https://github.com/NuGet/Announcements/issues/71 MSRC details for this can be found at CVE-2024-0057 - Security Update Guide - Microsoft - NET, .NET Framework, and Visual Studio Security Feature Bypass Vulnerability Affected versions
4.6.0
4.6.1
4.6.2
4.6.3
4.6.4
4.7.0-preview1-4986
5.10.0
5.11.0
5.11.2
5.11.3
5.11.5
5.9.0
+ 15 more Show less
5.9.1
5.9.2
5.9.3
6.0.0
6.0.2
6.0.5
6.3.0
6.3.1
6.3.3
6.4.0
6.4.2
6.6.0
6.6.1
6.7.0
6.8.0
Fixed in
5.11.6
6.0.6
6.3.4
6.4.3
6.6.2
6.7.1
6.8.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
6.0.5
patch
Dependencies (5)
|
|
6.5.1
patch
|
6.5.1
patch
Dependencies (5)
|
|
6.4.2
patch
1 CVE
CVE-2024-0057
GHSA-68w7-72jg-6qpp
BIT-dotnet-2024-0057
BIT-dotnet-sdk-2024-0057
BIT-powershell-2024-0057
Feb 13, 2024
NuGet Client Security Feature Bypass Vulnerability
9.1
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
None
DescriptionMicrosoft is releasing this security advisory to provide information about a vulnerability in .NET 6.0, .NET 7.0 and .NET 8.0. This advisory also provides guidance on what developers can do to update their applications to address this vulnerability. A security feature bypass vulnerability exists when Microsoft .NET Framework-based applications use X.509 chain building APIs but do not completely validate the X.509 certificate due to a logic flaw. An attacker could present an arbitrary untrusted certificate with malformed signatures, triggering a bug in the framework. The framework will correctly report that X.509 chain building failed, but it will return an incorrect reason code for the failure. Applications which utilize this reason code to make their own chain building trust decisions may inadvertently treat this scenario as a successful chain build. This could allow an adversary to subvert the app's typical authentication logic. Affected softwareNuGet & NuGet Packages
.NET SDK(s)
PatchesTo fix the issue, please install the latest version of .NET 6.0, .NET 7.0 or .NET 8.0 and NuGet (NuGet.exe, NuGet.CommandLine, NuGet. Packaging versions). If you have installed one or more .NET SDKs through Visual Studio, Visual Studio will prompt you to update Visual Studio, which will also update your .NET SDKs.
Other detailsAnnouncement for this issue can be found at https://github.com/NuGet/Announcements/issues/71 MSRC details for this can be found at CVE-2024-0057 - Security Update Guide - Microsoft - NET, .NET Framework, and Visual Studio Security Feature Bypass Vulnerability Affected versions
4.6.0
4.6.1
4.6.2
4.6.3
4.6.4
4.7.0-preview1-4986
5.10.0
5.11.0
5.11.2
5.11.3
5.11.5
5.9.0
+ 15 more Show less
5.9.1
5.9.2
5.9.3
6.0.0
6.0.2
6.0.5
6.3.0
6.3.1
6.3.3
6.4.0
6.4.2
6.6.0
6.6.1
6.7.0
6.8.0
Fixed in
5.11.6
6.0.6
6.3.4
6.4.3
6.6.2
6.7.1
6.8.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
6.4.2
patch
Dependencies (5)
|
|
6.6.1
patch
1 CVE
CVE-2024-0057
GHSA-68w7-72jg-6qpp
BIT-dotnet-2024-0057
BIT-dotnet-sdk-2024-0057
BIT-powershell-2024-0057
Feb 13, 2024
NuGet Client Security Feature Bypass Vulnerability
9.1
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
None
DescriptionMicrosoft is releasing this security advisory to provide information about a vulnerability in .NET 6.0, .NET 7.0 and .NET 8.0. This advisory also provides guidance on what developers can do to update their applications to address this vulnerability. A security feature bypass vulnerability exists when Microsoft .NET Framework-based applications use X.509 chain building APIs but do not completely validate the X.509 certificate due to a logic flaw. An attacker could present an arbitrary untrusted certificate with malformed signatures, triggering a bug in the framework. The framework will correctly report that X.509 chain building failed, but it will return an incorrect reason code for the failure. Applications which utilize this reason code to make their own chain building trust decisions may inadvertently treat this scenario as a successful chain build. This could allow an adversary to subvert the app's typical authentication logic. Affected softwareNuGet & NuGet Packages
.NET SDK(s)
PatchesTo fix the issue, please install the latest version of .NET 6.0, .NET 7.0 or .NET 8.0 and NuGet (NuGet.exe, NuGet.CommandLine, NuGet. Packaging versions). If you have installed one or more .NET SDKs through Visual Studio, Visual Studio will prompt you to update Visual Studio, which will also update your .NET SDKs.
Other detailsAnnouncement for this issue can be found at https://github.com/NuGet/Announcements/issues/71 MSRC details for this can be found at CVE-2024-0057 - Security Update Guide - Microsoft - NET, .NET Framework, and Visual Studio Security Feature Bypass Vulnerability Affected versions
4.6.0
4.6.1
4.6.2
4.6.3
4.6.4
4.7.0-preview1-4986
5.10.0
5.11.0
5.11.2
5.11.3
5.11.5
5.9.0
+ 15 more Show less
5.9.1
5.9.2
5.9.3
6.0.0
6.0.2
6.0.5
6.3.0
6.3.1
6.3.3
6.4.0
6.4.2
6.6.0
6.6.1
6.7.0
6.8.0
Fixed in
5.11.6
6.0.6
6.3.4
6.4.3
6.6.2
6.7.1
6.8.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
6.6.1
patch
Dependencies (5)
|
|
6.6.0
minor
1 CVE
CVE-2024-0057
GHSA-68w7-72jg-6qpp
BIT-dotnet-2024-0057
BIT-dotnet-sdk-2024-0057
BIT-powershell-2024-0057
Feb 13, 2024
NuGet Client Security Feature Bypass Vulnerability
9.1
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
None
DescriptionMicrosoft is releasing this security advisory to provide information about a vulnerability in .NET 6.0, .NET 7.0 and .NET 8.0. This advisory also provides guidance on what developers can do to update their applications to address this vulnerability. A security feature bypass vulnerability exists when Microsoft .NET Framework-based applications use X.509 chain building APIs but do not completely validate the X.509 certificate due to a logic flaw. An attacker could present an arbitrary untrusted certificate with malformed signatures, triggering a bug in the framework. The framework will correctly report that X.509 chain building failed, but it will return an incorrect reason code for the failure. Applications which utilize this reason code to make their own chain building trust decisions may inadvertently treat this scenario as a successful chain build. This could allow an adversary to subvert the app's typical authentication logic. Affected softwareNuGet & NuGet Packages
.NET SDK(s)
PatchesTo fix the issue, please install the latest version of .NET 6.0, .NET 7.0 or .NET 8.0 and NuGet (NuGet.exe, NuGet.CommandLine, NuGet. Packaging versions). If you have installed one or more .NET SDKs through Visual Studio, Visual Studio will prompt you to update Visual Studio, which will also update your .NET SDKs.
Other detailsAnnouncement for this issue can be found at https://github.com/NuGet/Announcements/issues/71 MSRC details for this can be found at CVE-2024-0057 - Security Update Guide - Microsoft - NET, .NET Framework, and Visual Studio Security Feature Bypass Vulnerability Affected versions
4.6.0
4.6.1
4.6.2
4.6.3
4.6.4
4.7.0-preview1-4986
5.10.0
5.11.0
5.11.2
5.11.3
5.11.5
5.9.0
+ 15 more Show less
5.9.1
5.9.2
5.9.3
6.0.0
6.0.2
6.0.5
6.3.0
6.3.1
6.3.3
6.4.0
6.4.2
6.6.0
6.6.1
6.7.0
6.8.0
Fixed in
5.11.6
6.0.6
6.3.4
6.4.3
6.6.2
6.7.1
6.8.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
6.6.0
minor
Dependencies (5)
|
|
6.6.0-preview.3
pre
|
6.6.0-preview.3
pre
Dependencies (5)
|
|
6.5.0
minor
|
6.5.0
minor
Dependencies (5)
|
|
6.4.0
minor
1 CVE
CVE-2024-0057
GHSA-68w7-72jg-6qpp
BIT-dotnet-2024-0057
BIT-dotnet-sdk-2024-0057
BIT-powershell-2024-0057
Feb 13, 2024
NuGet Client Security Feature Bypass Vulnerability
9.1
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
None
DescriptionMicrosoft is releasing this security advisory to provide information about a vulnerability in .NET 6.0, .NET 7.0 and .NET 8.0. This advisory also provides guidance on what developers can do to update their applications to address this vulnerability. A security feature bypass vulnerability exists when Microsoft .NET Framework-based applications use X.509 chain building APIs but do not completely validate the X.509 certificate due to a logic flaw. An attacker could present an arbitrary untrusted certificate with malformed signatures, triggering a bug in the framework. The framework will correctly report that X.509 chain building failed, but it will return an incorrect reason code for the failure. Applications which utilize this reason code to make their own chain building trust decisions may inadvertently treat this scenario as a successful chain build. This could allow an adversary to subvert the app's typical authentication logic. Affected softwareNuGet & NuGet Packages
.NET SDK(s)
PatchesTo fix the issue, please install the latest version of .NET 6.0, .NET 7.0 or .NET 8.0 and NuGet (NuGet.exe, NuGet.CommandLine, NuGet. Packaging versions). If you have installed one or more .NET SDKs through Visual Studio, Visual Studio will prompt you to update Visual Studio, which will also update your .NET SDKs.
Other detailsAnnouncement for this issue can be found at https://github.com/NuGet/Announcements/issues/71 MSRC details for this can be found at CVE-2024-0057 - Security Update Guide - Microsoft - NET, .NET Framework, and Visual Studio Security Feature Bypass Vulnerability Affected versions
4.6.0
4.6.1
4.6.2
4.6.3
4.6.4
4.7.0-preview1-4986
5.10.0
5.11.0
5.11.2
5.11.3
5.11.5
5.9.0
+ 15 more Show less
5.9.1
5.9.2
5.9.3
6.0.0
6.0.2
6.0.5
6.3.0
6.3.1
6.3.3
6.4.0
6.4.2
6.6.0
6.6.1
6.7.0
6.8.0
Fixed in
5.11.6
6.0.6
6.3.4
6.4.3
6.6.2
6.7.1
6.8.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
6.4.0
minor
Dependencies (5)
|
|
6.3.1
minor
1 CVE
CVE-2024-0057
GHSA-68w7-72jg-6qpp
BIT-dotnet-2024-0057
BIT-dotnet-sdk-2024-0057
BIT-powershell-2024-0057
Feb 13, 2024
NuGet Client Security Feature Bypass Vulnerability
9.1
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
None
DescriptionMicrosoft is releasing this security advisory to provide information about a vulnerability in .NET 6.0, .NET 7.0 and .NET 8.0. This advisory also provides guidance on what developers can do to update their applications to address this vulnerability. A security feature bypass vulnerability exists when Microsoft .NET Framework-based applications use X.509 chain building APIs but do not completely validate the X.509 certificate due to a logic flaw. An attacker could present an arbitrary untrusted certificate with malformed signatures, triggering a bug in the framework. The framework will correctly report that X.509 chain building failed, but it will return an incorrect reason code for the failure. Applications which utilize this reason code to make their own chain building trust decisions may inadvertently treat this scenario as a successful chain build. This could allow an adversary to subvert the app's typical authentication logic. Affected softwareNuGet & NuGet Packages
.NET SDK(s)
PatchesTo fix the issue, please install the latest version of .NET 6.0, .NET 7.0 or .NET 8.0 and NuGet (NuGet.exe, NuGet.CommandLine, NuGet. Packaging versions). If you have installed one or more .NET SDKs through Visual Studio, Visual Studio will prompt you to update Visual Studio, which will also update your .NET SDKs.
Other detailsAnnouncement for this issue can be found at https://github.com/NuGet/Announcements/issues/71 MSRC details for this can be found at CVE-2024-0057 - Security Update Guide - Microsoft - NET, .NET Framework, and Visual Studio Security Feature Bypass Vulnerability Affected versions
4.6.0
4.6.1
4.6.2
4.6.3
4.6.4
4.7.0-preview1-4986
5.10.0
5.11.0
5.11.2
5.11.3
5.11.5
5.9.0
+ 15 more Show less
5.9.1
5.9.2
5.9.3
6.0.0
6.0.2
6.0.5
6.3.0
6.3.1
6.3.3
6.4.0
6.4.2
6.6.0
6.6.1
6.7.0
6.8.0
Fixed in
5.11.6
6.0.6
6.3.4
6.4.3
6.6.2
6.7.1
6.8.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
6.3.1
minor
Dependencies (5)
|
|
6.0.3-rc.1
pre
1 CVE
CVE-2024-0057
GHSA-68w7-72jg-6qpp
BIT-dotnet-2024-0057
BIT-dotnet-sdk-2024-0057
BIT-powershell-2024-0057
Feb 13, 2024
NuGet Client Security Feature Bypass Vulnerability
9.1
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
None
DescriptionMicrosoft is releasing this security advisory to provide information about a vulnerability in .NET 6.0, .NET 7.0 and .NET 8.0. This advisory also provides guidance on what developers can do to update their applications to address this vulnerability. A security feature bypass vulnerability exists when Microsoft .NET Framework-based applications use X.509 chain building APIs but do not completely validate the X.509 certificate due to a logic flaw. An attacker could present an arbitrary untrusted certificate with malformed signatures, triggering a bug in the framework. The framework will correctly report that X.509 chain building failed, but it will return an incorrect reason code for the failure. Applications which utilize this reason code to make their own chain building trust decisions may inadvertently treat this scenario as a successful chain build. This could allow an adversary to subvert the app's typical authentication logic. Affected softwareNuGet & NuGet Packages
.NET SDK(s)
PatchesTo fix the issue, please install the latest version of .NET 6.0, .NET 7.0 or .NET 8.0 and NuGet (NuGet.exe, NuGet.CommandLine, NuGet. Packaging versions). If you have installed one or more .NET SDKs through Visual Studio, Visual Studio will prompt you to update Visual Studio, which will also update your .NET SDKs.
Other detailsAnnouncement for this issue can be found at https://github.com/NuGet/Announcements/issues/71 MSRC details for this can be found at CVE-2024-0057 - Security Update Guide - Microsoft - NET, .NET Framework, and Visual Studio Security Feature Bypass Vulnerability Affected versions
4.6.0
4.6.1
4.6.2
4.6.3
4.6.4
4.7.0-preview1-4986
5.10.0
5.11.0
5.11.2
5.11.3
5.11.5
5.9.0
+ 15 more Show less
5.9.1
5.9.2
5.9.3
6.0.0
6.0.2
6.0.5
6.3.0
6.3.1
6.3.3
6.4.0
6.4.2
6.6.0
6.6.1
6.7.0
6.8.0
Fixed in
5.11.6
6.0.6
6.3.4
6.4.3
6.6.2
6.7.1
6.8.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
6.0.3-rc.1
pre
Dependencies (5)
|
|
5.7.3-rtm.5
pre
1 CVE
CVE-2024-0057
GHSA-68w7-72jg-6qpp
BIT-dotnet-2024-0057
BIT-dotnet-sdk-2024-0057
BIT-powershell-2024-0057
Feb 13, 2024
NuGet Client Security Feature Bypass Vulnerability
9.1
/ 10
Critical
Network
Low
None
None
Unchanged
High
High
None
DescriptionMicrosoft is releasing this security advisory to provide information about a vulnerability in .NET 6.0, .NET 7.0 and .NET 8.0. This advisory also provides guidance on what developers can do to update their applications to address this vulnerability. A security feature bypass vulnerability exists when Microsoft .NET Framework-based applications use X.509 chain building APIs but do not completely validate the X.509 certificate due to a logic flaw. An attacker could present an arbitrary untrusted certificate with malformed signatures, triggering a bug in the framework. The framework will correctly report that X.509 chain building failed, but it will return an incorrect reason code for the failure. Applications which utilize this reason code to make their own chain building trust decisions may inadvertently treat this scenario as a successful chain build. This could allow an adversary to subvert the app's typical authentication logic. Affected softwareNuGet & NuGet Packages
.NET SDK(s)
PatchesTo fix the issue, please install the latest version of .NET 6.0, .NET 7.0 or .NET 8.0 and NuGet (NuGet.exe, NuGet.CommandLine, NuGet. Packaging versions). If you have installed one or more .NET SDKs through Visual Studio, Visual Studio will prompt you to update Visual Studio, which will also update your .NET SDKs.
Other detailsAnnouncement for this issue can be found at https://github.com/NuGet/Announcements/issues/71 MSRC details for this can be found at CVE-2024-0057 - Security Update Guide - Microsoft - NET, .NET Framework, and Visual Studio Security Feature Bypass Vulnerability Affected versions
4.6.0
4.6.1
4.6.2
4.6.3
4.6.4
4.7.0-preview1-4986
5.10.0
5.11.0
5.11.2
5.11.3
5.11.5
5.9.0
+ 15 more Show less
5.9.1
5.9.2
5.9.3
6.0.0
6.0.2
6.0.5
6.3.0
6.3.1
6.3.3
6.4.0
6.4.2
6.6.0
6.6.1
6.7.0
6.8.0
Fixed in
5.11.6
6.0.6
6.3.4
6.4.3
6.6.2
6.7.1
6.8.1
References
Updated Sep 10, 2026 · Source: OSV.dev |
5.7.3-rtm.5
pre
Dependencies (6)
|
|
6.2.2
minor
|
6.2.2
minor
Dependencies (5)
|