Skip to content
Fencer Vulns
medium 5.7

CVE-2021-41355 json

.NET Core and Visual Studio Information Disclosure Vulnerability

published 2021-10-12 5 y ago modified 2026-09-08 2 mo ago also BIT-dotnet-2021-41355 , BIT-dotnet-sdk-2021-41355 , BIT-powershell-2021-41355 , EUVD-2021-2183 , GHSA-9cxh-gqpx-qc5m

cvss
5.7
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
20.3%
EPSS 20.3% chance of exploitation in 30 days, percentile 97%
public exploits
0
none known

Summary

.NET Core and Visual Studio Information Disclosure Vulnerability

Patch / fix

  • nuget System.DirectoryServices.Protocols 5.0.1
  • bitnami dotnet 5.0.1
  • bitnami dotnet-sdk 5.0.1
  • bitnami powershell 7.1.5
  • Microsoft PowerShell 7.1 7.1.5
  • Microsoft Microsoft Visual Studio 2019 version 16.9 (includes 16.0 - 16.8) 16.9.12
  • Microsoft Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10) 16.11.5
  • Microsoft .NET 5.0 5.0.11
  • dotnet RHEL 8 5.0.208-1.el8_4
  • dotnet5.0 RHEL 8 5.0.208-1.el8_4
  • dotnet-host RHEL 8 5.0.11-1.el8_4
  • dotnet-sdk-5.0 RHEL 8 5.0.208-1.el8_4
  • dotnet-hostfxr-5.0 RHEL 8 5.0.11-1.el8_4
  • dotnet-runtime-5.0 RHEL 8 5.0.11-1.el8_4
  • dotnet-templates-5.0 RHEL 8 5.0.208-1.el8_4
  • aspnetcore-runtime-5.0 RHEL 8 5.0.11-1.el8_4

red hat advisories RHSA-2021:3819RHSA-2021:3818

  • dotnet-sdk-5.0 AlmaLinux 8 5.0.208-1.el8_4
  • dotnet-hostfxr-5.0 AlmaLinux 8 5.0.11-1.el8_4
  • dotnet-runtime-5.0 AlmaLinux 8 5.0.11-1.el8_4
  • dotnet-templates-5.0 AlmaLinux 8 5.0.208-1.el8_4
  • aspnetcore-runtime-5.0 AlmaLinux 8 5.0.11-1.el8_4
  • dotnet-apphost-pack-5.0 AlmaLinux 8 5.0.11-1.el8_4
  • dotnet-targeting-pack-5.0 AlmaLinux 8 5.0.11-1.el8_4
  • aspnetcore-targeting-pack-5.0 AlmaLinux 8 5.0.11-1.el8_4

almalinux advisories ALSA-2021:3819

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2021-41355 updated cvss 5.7

dotnet: System.DirectoryServices.Protocols.LdapConnection sends credentials in plaintext if TLS handshake fails

  • Red Hat .NET Core on Red Hat Enterprise Linux ComputeNode (v. 7) rh-dotnet50-dotnet 5.0.208-1.el7_9, rh-dotnet50-dotnet-host 5.0.11-1.el7_9, rh-dotnet50-dotnet-sdk-5.0 5.0.208-1.el7_9, rh-dotnet50-dotnet-hostfxr-5.0 5.0.11-1.el7_9, rh-dotnet50-dotnet-runtime-5.0 5.0.11-1.el7_9, rh-dotnet50-dotnet-templates-5.0 5.0.208-1.el7_9, +6 more Red Hat .NET Core on Red Hat Enterprise Linux Server (v. 7) rh-dotnet50-dotnet 5.0.208-1.el7_9, rh-dotnet50-dotnet-host 5.0.11-1.el7_9, rh-dotnet50-dotnet-sdk-5.0 5.0.208-1.el7_9, rh-dotnet50-dotnet-hostfxr-5.0 5.0.11-1.el7_9, rh-dotnet50-dotnet-runtime-5.0 5.0.11-1.el7_9, rh-dotnet50-dotnet-templates-5.0 5.0.208-1.el7_9, +6 more Red Hat .NET Core on Red Hat Enterprise Linux Workstation (v. 7) rh-dotnet50-dotnet 5.0.208-1.el7_9, rh-dotnet50-dotnet-host 5.0.11-1.el7_9, rh-dotnet50-dotnet-sdk-5.0 5.0.208-1.el7_9, rh-dotnet50-dotnet-hostfxr-5.0 5.0.11-1.el7_9, rh-dotnet50-dotnet-runtime-5.0 5.0.11-1.el7_9, rh-dotnet50-dotnet-templates-5.0 5.0.208-1.el7_9, +6 more
    fixed: vendor fix RHSA-2021:3818
  • Red Hat Enterprise Linux AppStream (v. 8) dotnet 5.0.208-1.el8_4, dotnet5.0 5.0.208-1.el8_4, dotnet-host 5.0.11-1.el8_4, dotnet-sdk-5.0 5.0.208-1.el8_4, dotnet-hostfxr-5.0 5.0.11-1.el8_4, dotnet-runtime-5.0 5.0.11-1.el8_4, +6 more
    fixed: vendor fix RHSA-2021:3819
  • Red Hat .NET Core 3.1 on Red Hat Enterprise Linux rh-dotnet31-dotnet, rh-dotnet31-dotnet-host, rh-dotnet31-dotnet-sdk-3.1, rh-dotnet31-dotnet-hostfxr-3.1, rh-dotnet31-dotnet-runtime-3.1, rh-dotnet31-dotnet-templates-3.1, +6 more Red Hat Enterprise Linux 8 dotnet, dotnet3.1, dotnet-host, dotnet-sdk-3.1, dotnet-hostfxr-3.1, dotnet-runtime-3.1, +7 more Red Hat Enterprise Linux 9 dotnet3.1
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

20.34% chance of exploitation in the next 30 days, higher than 97% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.7 CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N/E:U/RL:O/RC:C
GitHub 3.1 5.7 CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
CNA 3.1 5.7 CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
NVD 2.0 2.9 AV:A/AC:M/Au:N/C:P/I:N/A:N
OSV 3.1 5.7 CVSS:3.1/AV:A/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Affected packages

ecosystem package affected fixed in
nuget System.DirectoryServices.Protocols
<5.0.1
5.0.1
bitnami dotnet
>=5.0.0, <5.0.1
5.0.1
bitnami dotnet-sdk
>=5.0.0, <5.0.1
5.0.1
bitnami powershell
>=7.1.0, <7.1.5
7.1.5

Affected products

  • Microsoft PowerShell 7.1
  • Microsoft Microsoft Visual Studio 2019 version 16.9 (includes 16.0 - 16.8)
  • Microsoft Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10)
  • Microsoft .NET 5.0

Classification

Weakness
  • CWE-200 Exposure of Sensitive Information to an Unauthorized Actor

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.