Skip to content

Credential Disclosure in System.DirectoryServices.Protocols

Moderate severity GitHub Reviewed Published Oct 12, 2021 in dotnet/runtime • Updated Feb 1, 2023

Package

nuget System.DirectoryServices.Protocols (NuGet)

Affected versions

< 5.0.1

Patched versions

5.0.1

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 name Vulnerable versions Secure versions
System.DirectoryServices.Protocols 5.0.0 5.0.1

Other Details

References

@rbhanda rbhanda published to dotnet/runtime Oct 12, 2021
Reviewed Oct 12, 2021
Published to the GitHub Advisory Database Oct 12, 2021
Published by the National Vulnerability Database Oct 13, 2021
Last updated Feb 1, 2023

Severity

Moderate

CVSS overall score

This score calculates overall vulnerability severity from 0 to 10 and is based on the Common Vulnerability Scoring System (CVSS).
/ 10

CVSS v3 base metrics

Attack vector
Adjacent
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS v3 base metrics

Attack vector: More severe the more the remote (logically and physically) an attacker can be in order to exploit the vulnerability.
Attack complexity: More severe for the least complex attacks.
Privileges required: More severe if no privileges are required.
User interaction: More severe when no user interaction is required.
Scope: More severe when a scope change occurs, e.g. one vulnerable component impacts resources in components beyond its security scope.
Confidentiality: More severe when loss of data confidentiality is highest, measuring the level of data access available to an unauthorized user.
Integrity: More severe when loss of data integrity is the highest, measuring the consequence of data modification possible by an unauthorized user.
Availability: More severe when the loss of impacted component availability is highest.
CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

EPSS score

3.075%
(91st percentile)

Weaknesses

CVE ID

CVE-2021-41355

GHSA ID

GHSA-9cxh-gqpx-qc5m

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.