Credential Disclosure in System.DirectoryServices.Protocols
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 |
|---|---|---|
| System.DirectoryServices.Protocols | 5.0.0 | 5.0.1 |
Other Details
- Announcement for this issue can be found at dotnet/announcements#202
- An Issue for this can be found at https://github.com/dotnet/runtime/issues/60301
- MSRC details for this can be found at https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-41355
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| .NET (NuGet) | System.DirectoryServices.Protocols | < 5.0.1 | 5.0.1 |
References
- https://github.com/dotnet/runtime/security/advisories/GHSA-9cxh-gqpx-qc5m
- https://nvd.nist.gov/vuln/detail/CVE-2021-41355
- https://github.com/dotnet/runtime/issues/60301
- https://github.com/dotnet/runtime
- https://msrc.microsoft.com/update-guide/en-US/vulnerability/CVE-2021-41355
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2021-41355
- https://www.oracle.com/security-alerts/cpujan2022.html
- CVSS vector
CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N- Weakness (CWE)
CWE-200- Platform
- .NET (NuGet)
- Package
System.DirectoryServices.Protocols- Disclosed
- 12.10.2021
- Updated
- 11.10.2026 11:23
Sources and licenses
OSV / GitHub Advisory Database - GHSA-9cxh-gqpx-qc5m - CC BY 4.0
Vulnerability history: System.DirectoryServices.Protocols
All published vulnerabilities of this package (.NET (NuGet)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.