CVE-2021-41355 .NET Core and Visual Studio Information Disclosure Vulnerability

Medium 5.7 Published Updated

An information disclosure vulnerability in .NET Core and Visual Studio allows attackers to read sensitive data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2021-41355?

CVE-2021-41355 is a medium-severity vulnerability in Microsoft .Net, published on 13 Oct 2021. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

.NET Core and Visual Studio Information Disclosure Vulnerability

Which versions are affected by CVE-2021-41355?

5 open source packages ship an affected version, including System.DirectoryServices.Protocols, dotnet and dotnet-sdk. It affects 3 products.

PackageAffectedFixed in
System.DirectoryServices.Protocols NuGetAll versions5.0.1
System.DirectoryServices.Protocols NuGetAll versions5.0.1
dotnet BitnamiFrom 5.0.05.0.1
dotnet-sdk BitnamiFrom 5.0.05.0.1
powershell BitnamiFrom 7.1.07.1.5
Linux distribution packages (35)
aspnetcore-runtime-5.0 AlmaLinux:8All versions5.0.11-1.el8_4
aspnetcore-targeting-pack-5.0 AlmaLinux:8All versions5.0.11-1.el8_4
dotnet-apphost-pack-5.0 AlmaLinux:8All versions5.0.11-1.el8_4
dotnet-hostfxr-5.0 AlmaLinux:8All versions5.0.11-1.el8_4
dotnet-runtime-5.0 AlmaLinux:8All versions5.0.11-1.el8_4
dotnet-sdk-5.0 AlmaLinux:8All versions5.0.208-1.el8_4
dotnet-targeting-pack-5.0 AlmaLinux:8All versions5.0.11-1.el8_4
dotnet-templates-5.0 AlmaLinux:8All versions5.0.208-1.el8_4
aspnetcore-runtime-5.0 Red Hat:enterprise_linux:8::appstreamAll versions0:5.0.11-1.el8_4
aspnetcore-targeting-pack-5.0 Red Hat:enterprise_linux:8::appstreamAll versions0:5.0.11-1.el8_4
dotnet Red Hat:enterprise_linux:8::appstreamAll versions0:5.0.208-1.el8_4
dotnet-apphost-pack-5.0 Red Hat:enterprise_linux:8::appstreamAll versions0:5.0.11-1.el8_4
dotnet-apphost-pack-5.0-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:5.0.11-1.el8_4
dotnet-host Red Hat:enterprise_linux:8::appstreamAll versions0:5.0.11-1.el8_4
dotnet-host-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:5.0.11-1.el8_4
dotnet-hostfxr-5.0 Red Hat:enterprise_linux:8::appstreamAll versions0:5.0.11-1.el8_4
dotnet-hostfxr-5.0-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:5.0.11-1.el8_4
dotnet-runtime-5.0 Red Hat:enterprise_linux:8::appstreamAll versions0:5.0.11-1.el8_4
dotnet-runtime-5.0-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:5.0.11-1.el8_4
dotnet-sdk-5.0 Red Hat:enterprise_linux:8::appstreamAll versions0:5.0.208-1.el8_4
dotnet-sdk-5.0-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:5.0.208-1.el8_4
dotnet-targeting-pack-5.0 Red Hat:enterprise_linux:8::appstreamAll versions0:5.0.11-1.el8_4
dotnet-templates-5.0 Red Hat:enterprise_linux:8::appstreamAll versions0:5.0.208-1.el8_4
dotnet5.0 Red Hat:enterprise_linux:8::appstreamAll versions0:5.0.208-1.el8_4
dotnet5.0-debuginfo Red Hat:enterprise_linux:8::appstreamAll versions0:5.0.208-1.el8_4
dotnet5.0-debugsource Red Hat:enterprise_linux:8::appstreamAll versions0:5.0.208-1.el8_4
netstandard-targeting-pack-2.1 Red Hat:enterprise_linux:8::appstreamAll versions0:5.0.208-1.el8_4
rh-dotnet50-aspnetcore-runtime-5.0 Red Hat:rhel_dotnet:5.0::el7All versions0:5.0.11-1.el7_9
rh-dotnet50-aspnetcore-targeting-pack-5.0 Red Hat:rhel_dotnet:5.0::el7All versions0:5.0.11-1.el7_9
rh-dotnet50-dotnet Red Hat:rhel_dotnet:5.0::el7All versions0:5.0.208-1.el7_9
rh-dotnet50-dotnet-apphost-pack-5.0 Red Hat:rhel_dotnet:5.0::el7All versions0:5.0.11-1.el7_9
rh-dotnet50-dotnet-debuginfo Red Hat:rhel_dotnet:5.0::el7All versions0:5.0.208-1.el7_9
rh-dotnet50-dotnet-host Red Hat:rhel_dotnet:5.0::el7All versions0:5.0.11-1.el7_9
rh-dotnet50-dotnet-hostfxr-5.0 Red Hat:rhel_dotnet:5.0::el7All versions0:5.0.11-1.el7_9
rh-dotnet50-dotnet-runtime-5.0 Red Hat:rhel_dotnet:5.0::el7All versions0:5.0.11-1.el7_9

Products include Microsoft .Net, Microsoft Powershell, Microsoft Visual Studio 2019.

How do I fix CVE-2021-41355?

Upgrade System.DirectoryServices.Protocols to 5.0.1 or later.

Is CVE-2021-41355 being exploited?

There is no known exploitation of CVE-2021-41355 in the wild and no public exploit code.

All Microsoft .Net vulnerabilities

Sources

Also known as ALSA-2021:3819, BIT-dotnet-2021-41355, BIT-dotnet-sdk-2021-41355, BIT-powershell-2021-41355, GHSA-9cxh-gqpx-qc5m, RHSA-2021:3818 and 1 more.

Is CVE-2021-41355 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free