Advisory

GHSA-9cxh-gqpx-qc5m

Also known as: BIT-dotnet-2021-41355, BIT-dotnet-sdk-2021-41355, BIT-powershell-2021-41355, CVE-2021-41355

Summary

Credential Disclosure in System.DirectoryServices.Protocols

Details

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

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2021-10-12 17:49 UTC
Modified
2025-09-04 18:27 UTC

Affected packages and fixes

System.DirectoryServices.Protocols

NuGet · All systems

Affected

  • introduced 0, fixed 5.0.1 (ecosystem)

Fixed versions

5.0.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences