{"answers":{"affected":"2 open source packages ship an affected version, including dotnet and dotnet-sdk. It affects 2 products.","exploited":"There is no known exploitation of CVE-2025-21173 in the wild and no public exploit code.","fix":"Upgrade dotnet to a fixed version for your release line: 8.0.1 or 9.0.1.","what":"CVE-2025-21173 is a high-severity vulnerability in Microsoft .Net, published on 14 Jan 2025. 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-2025-21173 and fix it if it is affected.\n\nWhat it is: CVE-2025-21173 is a high-severity vulnerability in Microsoft .Net, published on 14 Jan 2025. 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-2025-21173 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- dotnet (Bitnami): affected from 8.0.0; fixed in 8.0.1, 9.0.1\n- dotnet-sdk (Bitnami): affected from 8.0.0; fixed in 8.0.101, 9.0.100\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-2025-21173/ (Markdown: https://insights.sbomify.com/CVE-2025-21173/index.md)","id":"CVE-2025-21173","markdown":"https://insights.sbomify.com/CVE-2025-21173/index.md","name":"CVE-2025-21173","record":{"aliases":["BELL-CVE-2025-21173","BIT-dotnet-2025-21173","BIT-dotnet-sdk-2025-21173","GHSA-mvph-h5j7-4h2g","UBUNTU-CVE-2025-21173"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":".NET runtime","requires_auth":"low_privilege","summary":"An elevation of privilege vulnerability in the .NET runtime allows attackers to gain higher privileges on affected systems.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":".net","vendor":"microsoft"},{"product":"visual_studio_2022","vendor":"microsoft"}],"cvss":{"score":7.3,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C","version":"3.1"},"cwes":[{"id":"CWE-379","name":"Creation of Temporary File in Directory with Insecure Permissions"}],"description":".NET Elevation of Privilege Vulnerability","ecosystems":["Bitnami"],"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 Elevation of Privilege Vulnerability","id":"CVE-2025-21173","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"microsoft:.net","products":["microsoft:.net","microsoft:visual_studio_2022"],"type":"privilege_escalation","year":"2025"},"n_packages":2,"n_references":1,"next":{"headline":"Windows Standards-Based Storage Management Service Denial of Service Vulnerability","id":"CVE-2025-21174"},"packages":[{"ecosystem":"Bitnami","fixed":["8.0.1","9.0.1"],"introduced":["8.0.0","9.0.0"],"last_affected":[],"package":"dotnet","purl":"pkg:bitnami/dotnet","source":"BIT-dotnet-2025-21173"},{"ecosystem":"Bitnami","fixed":["8.0.101","9.0.100"],"introduced":["8.0.0","9.0.0"],"last_affected":[],"package":"dotnet-sdk","purl":"pkg:bitnami/dotnet-sdk","source":"BIT-dotnet-sdk-2025-21173"}],"prev":{"headline":".NET and Visual Studio Remote Code Execution Vulnerability","id":"CVE-2025-21172"},"products":[".NET 8.0",".NET 9.0","Microsoft Visual Studio 2022 version 17.10","Microsoft Visual Studio 2022 version 17.12","Microsoft Visual Studio 2022 version 17.6","Microsoft Visual Studio 2022 version 17.8"],"published":"2025-01-14","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":"Apache-2.0","name":"Bitnami","prefix":"BIT"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-06-09","vendors":["Microsoft"]},"summary":"An elevation of privilege vulnerability in the .NET runtime allows attackers to gain higher privileges on affected systems.","url":"https://insights.sbomify.com/CVE-2025-21173/"}