{"answers":{"affected":"5 open source packages ship an affected version, including System.DirectoryServices.Protocols, dotnet and dotnet-sdk. It affects 3 products.","exploited":"There is no known exploitation of CVE-2021-41355 in the wild and no public exploit code.","fix":"Upgrade System.DirectoryServices.Protocols to 5.0.1 or later.","what":"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."},"fix_prompt":"Check this codebase for CVE-2021-41355 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2021-41355 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- System.DirectoryServices.Protocols (NuGet): affected all versions; fixed in 5.0.1\n- System.DirectoryServices.Protocols (NuGet): affected all versions; fixed in 5.0.1\n- dotnet (Bitnami): affected from 5.0.0; fixed in 5.0.1\n- dotnet-sdk (Bitnami): affected from 5.0.0; fixed in 5.0.1\n- powershell (Bitnami): affected from 7.1.0; fixed in 7.1.5\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-41355/ (Markdown: https://insights.sbomify.com/CVE-2021-41355/index.md)","id":"CVE-2021-41355","markdown":"https://insights.sbomify.com/CVE-2021-41355/index.md","name":"CVE-2021-41355","record":{"aliases":["ALSA-2021:3819","BIT-dotnet-2021-41355","BIT-dotnet-sdk-2021-41355","BIT-powershell-2021-41355","GHSA-9cxh-gqpx-qc5m","RHSA-2021:3818","RHSA-2021:3819"],"analysis":{"component_type":"developer_tool","fix_type":"patch","impacts":["data_read"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Microsoft .NET and Visual Studio","requires_auth":"none","summary":"An information disclosure vulnerability in .NET Core and Visual Studio allows attackers to read sensitive data.","user_interaction":"required","vuln_class":"information_disclosure"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":".net","vendor":"microsoft"},{"product":"powershell","vendor":"microsoft"},{"product":"visual_studio_2019","vendor":"microsoft"}],"cvss":{"score":5.7,"severity":"medium","source":"cna","vector":"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","version":"3.1"},"cwes":[],"description":".NET Core and Visual Studio Information Disclosure Vulnerability","ecosystems":["AlmaLinux:8","Bitnami","NuGet","Red Hat:enterprise_linux:8::appstream","Red Hat:rhel_dotnet:5.0::el7"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":".NET Core and Visual Studio Information Disclosure Vulnerability","id":"CVE-2021-41355","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"microsoft:.net","products":["microsoft:.net","microsoft:visual_studio_2019"],"type":"information_disclosure","year":"2021"},"n_packages":45,"n_references":2,"next":{"headline":"Windows Denial of Service Vulnerability","id":"CVE-2021-41356"},"packages":[{"ecosystem":"Bitnami","fixed":["5.0.1"],"introduced":["5.0.0"],"last_affected":[],"package":"dotnet","purl":"pkg:bitnami/dotnet","source":"BIT-dotnet-2021-41355"},{"ecosystem":"Bitnami","fixed":["5.0.1"],"introduced":["5.0.0"],"last_affected":[],"package":"dotnet-sdk","purl":"pkg:bitnami/dotnet-sdk","source":"BIT-dotnet-sdk-2021-41355"},{"ecosystem":"Bitnami","fixed":["7.1.5"],"introduced":["7.1.0"],"last_affected":[],"package":"powershell","purl":"pkg:bitnami/powershell","source":"BIT-powershell-2021-41355"},{"ecosystem":"NuGet","fixed":["5.0.1"],"introduced":["0"],"last_affected":[],"package":"System.DirectoryServices.Protocols","purl":null,"source":"GHSA-9cxh-gqpx-qc5m"},{"ecosystem":"NuGet","fixed":["5.0.1"],"introduced":["0"],"last_affected":[],"package":"System.DirectoryServices.Protocols","purl":"pkg:nuget/System.DirectoryServices.Protocols","source":"GHSA-9cxh-gqpx-qc5m"},{"ecosystem":"AlmaLinux:8","fixed":["5.0.11-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"aspnetcore-runtime-5.0","purl":"pkg:rpm/almalinux/aspnetcore-runtime-5.0","source":"ALSA-2021:3819"},{"ecosystem":"AlmaLinux:8","fixed":["5.0.11-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"aspnetcore-targeting-pack-5.0","purl":"pkg:rpm/almalinux/aspnetcore-targeting-pack-5.0","source":"ALSA-2021:3819"},{"ecosystem":"AlmaLinux:8","fixed":["5.0.11-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"dotnet-apphost-pack-5.0","purl":"pkg:rpm/almalinux/dotnet-apphost-pack-5.0","source":"ALSA-2021:3819"},{"ecosystem":"AlmaLinux:8","fixed":["5.0.11-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"dotnet-hostfxr-5.0","purl":"pkg:rpm/almalinux/dotnet-hostfxr-5.0","source":"ALSA-2021:3819"},{"ecosystem":"AlmaLinux:8","fixed":["5.0.11-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"dotnet-runtime-5.0","purl":"pkg:rpm/almalinux/dotnet-runtime-5.0","source":"ALSA-2021:3819"},{"ecosystem":"AlmaLinux:8","fixed":["5.0.208-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"dotnet-sdk-5.0","purl":"pkg:rpm/almalinux/dotnet-sdk-5.0","source":"ALSA-2021:3819"},{"ecosystem":"AlmaLinux:8","fixed":["5.0.11-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"dotnet-targeting-pack-5.0","purl":"pkg:rpm/almalinux/dotnet-targeting-pack-5.0","source":"ALSA-2021:3819"},{"ecosystem":"AlmaLinux:8","fixed":["5.0.208-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"dotnet-templates-5.0","purl":"pkg:rpm/almalinux/dotnet-templates-5.0","source":"ALSA-2021:3819"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.0.11-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"aspnetcore-runtime-5.0","purl":"pkg:rpm/redhat/aspnetcore-runtime-5.0","source":"RHSA-2021:3819"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.0.11-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"aspnetcore-targeting-pack-5.0","purl":"pkg:rpm/redhat/aspnetcore-targeting-pack-5.0","source":"RHSA-2021:3819"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.0.208-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"dotnet","purl":"pkg:rpm/redhat/dotnet","source":"RHSA-2021:3819"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.0.11-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"dotnet-apphost-pack-5.0","purl":"pkg:rpm/redhat/dotnet-apphost-pack-5.0","source":"RHSA-2021:3819"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.0.11-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"dotnet-apphost-pack-5.0-debuginfo","purl":"pkg:rpm/redhat/dotnet-apphost-pack-5.0-debuginfo","source":"RHSA-2021:3819"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.0.11-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"dotnet-host","purl":"pkg:rpm/redhat/dotnet-host","source":"RHSA-2021:3819"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.0.11-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"dotnet-host-debuginfo","purl":"pkg:rpm/redhat/dotnet-host-debuginfo","source":"RHSA-2021:3819"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.0.11-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"dotnet-hostfxr-5.0","purl":"pkg:rpm/redhat/dotnet-hostfxr-5.0","source":"RHSA-2021:3819"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.0.11-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"dotnet-hostfxr-5.0-debuginfo","purl":"pkg:rpm/redhat/dotnet-hostfxr-5.0-debuginfo","source":"RHSA-2021:3819"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.0.11-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"dotnet-runtime-5.0","purl":"pkg:rpm/redhat/dotnet-runtime-5.0","source":"RHSA-2021:3819"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.0.11-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"dotnet-runtime-5.0-debuginfo","purl":"pkg:rpm/redhat/dotnet-runtime-5.0-debuginfo","source":"RHSA-2021:3819"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.0.208-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"dotnet-sdk-5.0","purl":"pkg:rpm/redhat/dotnet-sdk-5.0","source":"RHSA-2021:3819"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.0.208-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"dotnet-sdk-5.0-debuginfo","purl":"pkg:rpm/redhat/dotnet-sdk-5.0-debuginfo","source":"RHSA-2021:3819"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.0.11-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"dotnet-targeting-pack-5.0","purl":"pkg:rpm/redhat/dotnet-targeting-pack-5.0","source":"RHSA-2021:3819"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.0.208-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"dotnet-templates-5.0","purl":"pkg:rpm/redhat/dotnet-templates-5.0","source":"RHSA-2021:3819"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.0.208-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"dotnet5.0","purl":"pkg:rpm/redhat/dotnet5.0","source":"RHSA-2021:3819"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.0.208-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"dotnet5.0-debuginfo","purl":"pkg:rpm/redhat/dotnet5.0-debuginfo","source":"RHSA-2021:3819"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.0.208-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"dotnet5.0-debugsource","purl":"pkg:rpm/redhat/dotnet5.0-debugsource","source":"RHSA-2021:3819"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:5.0.208-1.el8_4"],"introduced":["0"],"last_affected":[],"package":"netstandard-targeting-pack-2.1","purl":"pkg:rpm/redhat/netstandard-targeting-pack-2.1","source":"RHSA-2021:3819"},{"ecosystem":"Red Hat:rhel_dotnet:5.0::el7","fixed":["0:5.0.11-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"rh-dotnet50-aspnetcore-runtime-5.0","purl":"pkg:rpm/redhat/rh-dotnet50-aspnetcore-runtime-5.0","source":"RHSA-2021:3818"},{"ecosystem":"Red Hat:rhel_dotnet:5.0::el7","fixed":["0:5.0.11-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"rh-dotnet50-aspnetcore-targeting-pack-5.0","purl":"pkg:rpm/redhat/rh-dotnet50-aspnetcore-targeting-pack-5.0","source":"RHSA-2021:3818"},{"ecosystem":"Red Hat:rhel_dotnet:5.0::el7","fixed":["0:5.0.208-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"rh-dotnet50-dotnet","purl":"pkg:rpm/redhat/rh-dotnet50-dotnet","source":"RHSA-2021:3818"},{"ecosystem":"Red Hat:rhel_dotnet:5.0::el7","fixed":["0:5.0.11-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"rh-dotnet50-dotnet-apphost-pack-5.0","purl":"pkg:rpm/redhat/rh-dotnet50-dotnet-apphost-pack-5.0","source":"RHSA-2021:3818"},{"ecosystem":"Red Hat:rhel_dotnet:5.0::el7","fixed":["0:5.0.208-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"rh-dotnet50-dotnet-debuginfo","purl":"pkg:rpm/redhat/rh-dotnet50-dotnet-debuginfo","source":"RHSA-2021:3818"},{"ecosystem":"Red Hat:rhel_dotnet:5.0::el7","fixed":["0:5.0.11-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"rh-dotnet50-dotnet-host","purl":"pkg:rpm/redhat/rh-dotnet50-dotnet-host","source":"RHSA-2021:3818"},{"ecosystem":"Red Hat:rhel_dotnet:5.0::el7","fixed":["0:5.0.11-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"rh-dotnet50-dotnet-hostfxr-5.0","purl":"pkg:rpm/redhat/rh-dotnet50-dotnet-hostfxr-5.0","source":"RHSA-2021:3818"},{"ecosystem":"Red Hat:rhel_dotnet:5.0::el7","fixed":["0:5.0.11-1.el7_9"],"introduced":["0"],"last_affected":[],"package":"rh-dotnet50-dotnet-runtime-5.0","purl":"pkg:rpm/redhat/rh-dotnet50-dotnet-runtime-5.0","source":"RHSA-2021:3818"}],"prev":{"headline":"Microsoft Dynamics 365 (on-premises) Cross-site Scripting Vulnerability","id":"CVE-2021-41354"},"products":[".NET 5.0","Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10)","Microsoft Visual Studio 2019 version 16.9 (includes 16.0 - 16.8)","PowerShell 7.1"],"published":"2021-10-13","related":[{"cvss_score":9.8,"headline":".NET and Visual Studio Remote Code Execution Vulnerability","id":"CVE-2024-43498","kev_date_added":null,"published":"2024-11-12"},{"cvss_score":9.1,"headline":"NET, .NET Framework, and Visual Studio Security Feature Bypass Vulnerability","id":"CVE-2024-0057","kev_date_added":null,"published":"2024-01-09"},{"cvss_score":8.8,"headline":".NET Security Feature Bypass Vulnerability","id":"CVE-2026-96957","kev_date_added":null,"published":"2026-10-13"},{"cvss_score":8.8,"headline":".NET and Visual Studio Elevation of Privilege Vulnerability","id":"CVE-2026-69439","kev_date_added":null,"published":"2026-09-08"},{"cvss_score":8.8,"headline":".NET and Visual Studio Remote Code Execution Vulnerability","id":"CVE-2026-71328","kev_date_added":null,"published":"2026-09-08"},{"cvss_score":8.8,"headline":"ASP.NET Core Elevation of Privilege Vulnerability","id":"CVE-2026-47300","kev_date_added":null,"published":"2026-07-14"},{"cvss_score":8.8,"headline":"ASP.NET Core Elevation of Privilege Vulnerability","id":"CVE-2026-47303","kev_date_added":null,"published":"2026-07-14"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["Microsoft"]},"summary":"An information disclosure vulnerability in .NET Core and Visual Studio allows attackers to read sensitive data.","url":"https://insights.sbomify.com/CVE-2021-41355/"}