Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
.NET NuGet

GHSA-68w7-72jg-6qpp

CRITICAL

NuGet Client Security Feature Bypass Vulnerability

Also known asBIT-dotnet-2024-0057BIT-dotnet-sdk-2024-0057BIT-powershell-2024-0057CVE-2024-0057
Published
Feb 13, 2024
Updated
Feb 4, 2026
Affected
14 pkgs
Patched
14 / 14
Exploits
None indexed

EPSS Exploitation Probability

via FIRST.org ↗
2.8%probability of exploitation in next 30 days
Lower Risk84th percentile-0.86%
1.85%2.64%3.44%4.23%2.3%2.8%Dec 25Apr 26Jun 26

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

Blast Radius

14 pkgs affected
.NETNuGet.CommandLine.NETNuGet.Packaging.NETNuGet.CommandLine.NETNuGet.Packaging.NETNuGet.CommandLine.NETNuGet.Packaging.NETNuGet.CommandLine.NETNuGet.Packaging+6 more

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects NuGet packages — download data is not available via public APIs for these ecosystems.

Description

Description

Microsoft 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 software

NuGet & NuGet Packages

  • Any NuGet.exe, NuGet.CommandLine, NuGet.Packaging 6.8.0 version or earlier.
  • Any NuGet.exe, NuGet.CommandLine, NuGet.Packaging 6.7.0 version or earlier.
  • Any NuGet.exe, NuGet.CommandLine, NuGet.Packaging 6.6.1 version or earlier.
  • Any NuGet.exe, NuGet.CommandLine, NuGet.Packaging 6.4.2 version or earlier.
  • Any NuGet.exe, NuGet.CommandLine, NuGet.Packaging 6.3.3 version or earlier.
  • Any NuGet.exe, NuGet.CommandLine, NuGet.Packaging 6.0.5 version or earlier.
  • Any NuGet.exe, NuGet.CommandLine, NuGet.Packaging 5.11.5 version or earlier.

.NET SDK(s)

  • Any .NET SDK 6.0.126 or earlier, or 6.0.418 or earlier.
  • Any .NET SDK 7.0.115 or earlier, or 7.0.312 or earlier, or 7.0.405 or earlier.
  • Any .NET SDK 8.0.101 or earlier.

Patches

To 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 details

Announcement 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 Packages

14 total 14 fixed
EcosystemPackageVulnerable rangeFix
.NETNuGetNuGet.CommandLine4.6.0&&< 5.11.65.11.6
.NETNuGetNuGet.Packaging4.6.0&&< 5.11.65.11.6
.NETNuGetNuGet.CommandLine6.0.0&&< 6.0.66.0.6
.NETNuGetNuGet.Packaging6.0.0&&< 6.0.66.0.6
.NETNuGetNuGet.CommandLine6.3.0&&< 6.3.46.3.4
.NETNuGetNuGet.Packaging6.3.0&&< 6.3.46.3.4

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for NuGet.CommandLine. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update NuGet.CommandLine to 5.11.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-68w7-72jg-6qpp is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-68w7-72jg-6qpp is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-68w7-72jg-6qpp. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

### Description Microsoft 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 frame
O3 Security · Impact-Aware SCA

Is GHSA-68w7-72jg-6qpp in your dependencies?

O3 detects GHSA-68w7-72jg-6qpp across NuGet dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.

GHSA-68w7-72jg-6qpp: NuGet Client Security Feature Bypass Vulne… | O3 Security