NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
.NET
.NET NuGet
Not in CISA KEV
MEDIUM severity

Credential Disclosure in System.DirectoryServices.ProtocolsGHSA-9cxh-gqpx-qc5m

MEDIUM

GHSA-9cxh-gqpx-qc5m is a medium-severity (CVSS 5.7) vulnerability in System.DirectoryServices.Protocols. EPSS puts its 30-day exploitation probability at 20.3% (98th percentile). A fix is available for System.DirectoryServices.Protocols — see the affected versions and patch details below.

Also known asBIT-dotnet-2021-41355BIT-dotnet-sdk-2021-41355BIT-powershell-2021-41355CVE-2021-41355
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Nov 23, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
20.3%probability of exploitation in next 30 days
Moderate Risk0.00%
Lower risk than most CVEs98th percentile — riskier than 98% of all scored CVEsHighest risk
0.00%8.45%16.9%25.4%3.6%20.3%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

1 pkg affected
.NETSystem.DirectoryServices.Protocols

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

Microsoft is releasing this security advisory to provide information about a vulnerability in .NET. This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability.

A Information Disclosure vulnerability exists in .NET where System.DirectoryServices.Protocols.LdapConnection may send credentials in plain text on Linux.

Patches

Any .NET application that uses System.DirectoryServices.Protocols with a vulnerable version listed below on system based on Linux.

Package nameVulnerable versionsSecure versions
System.DirectoryServices.Protocols5.0.05.0.1

Other Details

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
.NETNuGetSystem.DirectoryServices.Protocolsall versions5.0.1dotnet add package System.DirectoryServices.Protocols --version 5.0.1

Affected Products

3 products · 3 configurations
Application
.netmicrosoft
1 version
5.0
Application
powershellmicrosoft
≥ 7.1 && < 7.1.5
range
Application
visual studio 2019microsoft
≥ 16.0 && ≤ 16.11
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for System.DirectoryServices.Protocols, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update System.DirectoryServices.Protocols to 5.0.1 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-9cxh-gqpx-qc5m is resolved across your whole dependency graph.

  3. Workarounds

    Assume what was exposed is already known: rotate any credential, token or key that the affected component could return, restrict the endpoint to callers that genuinely need it, and strip sensitive fields from responses and error output at the boundary rather than relying on the client not to read them.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatImportant
ProductFixed inAdvisory
.NET Core on Red Hat Enterprise Linuxrh-dotnet50-dotnet-0:5.0.208-1.el7_9RHSA-2021:3818
Red Hat Enterprise Linux 8dotnet5.0-0:5.0.208-1.el8_4RHSA-2021:3819

Frequently Asked Questions

Microsoft is releasing this security advisory to provide information about a vulnerability in .NET. This advisory also provides guidance on what developers can do to update their applications to remove this vulnerability. A Information Disclosure vulnerability exists in .NET where System.DirectoryServices.Protocols.LdapConnection may send credentials in plain text on Linux. ### Patches Any .NET application that uses `System.DirectoryServices.Protocols` with a vulnerable version listed below on system based on Linux. Package name | Vulnerable versions | Secure versions ------------ | -------
O3 Security · Impact-Aware SCA

Is GHSA-9cxh-gqpx-qc5m in your dependencies?

Find it across NuGet, including transitive dependencies.

Credential Disclosure in System.DirectoryServices.Protocols