{"answers":{"affected":"40 open source packages ship an affected version, including Microsoft.NetCore.App.Runtime.linux-arm, dotnet and dotnet-sdk. It affects 4 products.","exploited":"There is no known exploitation of CVE-2025-21172 in the wild and no public exploit code.","fix":"Upgrade Microsoft.NetCore.App.Runtime.linux-arm to a fixed version for your release line: 8.0.12 or 9.0.1.","what":"CVE-2025-21172 is a high-severity vulnerability in Microsoft .Net, published on 14 Jan 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2025-21172 and fix it if it is affected.\n\nWhat it is: CVE-2025-21172 is a high-severity vulnerability in Microsoft .Net, published on 14 Jan 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2025-21172 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- Microsoft.NetCore.App.Runtime.linux-arm (NuGet): affected from 8.0.0; fixed in 8.0.12\n- Microsoft.NetCore.App.Runtime.linux-arm (NuGet): affected from 8.0.0; fixed in 8.0.12\n- Microsoft.NetCore.App.Runtime.linux-arm (NuGet): affected from 9.0.0; fixed in 9.0.1\n- Microsoft.NetCore.App.Runtime.linux-arm (NuGet): affected from 9.0.0; fixed in 9.0.1\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- Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet): affected from 8.0.0; fixed in 8.0.12\n- Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet): affected from 8.0.0; fixed in 8.0.12\n- Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet): affected from 9.0.0; fixed in 9.0.1\n- Microsoft.NetCore.App.Runtime.linux-arm64 (NuGet): affected from 9.0.0; fixed in 9.0.1\n- Microsoft.NetCore.App.Runtime.linux-musl-arm (NuGet): affected from 8.0.0; fixed in 8.0.12\n- Microsoft.NetCore.App.Runtime.linux-musl-arm (NuGet): affected from 8.0.0; fixed in 8.0.12\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-21172/ (Markdown: https://insights.sbomify.com/CVE-2025-21172/index.md)","id":"CVE-2025-21172","markdown":"https://insights.sbomify.com/CVE-2025-21172/index.md","name":"CVE-2025-21172","record":{"aliases":["BELL-CVE-2025-21172","BIT-dotnet-2025-21172","BIT-dotnet-sdk-2025-21172","GHSA-jjcv-wr2g-4rv4","UBUNTU-CVE-2025-21172"],"analysis":{"component_type":"developer_tool","fix_type":"patch","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"Microsoft .NET and Visual Studio","requires_auth":"none","summary":"An integer overflow vulnerability in .NET and Visual Studio allows remote attackers to execute arbitrary code.","user_interaction":"required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":".net","vendor":"microsoft"},{"product":"visual_studio_2017","vendor":"microsoft"},{"product":"visual_studio_2019","vendor":"microsoft"},{"product":"visual_studio_2022","vendor":"microsoft"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C","version":"3.1"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"},{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":".NET and Visual Studio Remote Code Execution Vulnerability","ecosystems":["Bitnami","NuGet"],"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 and Visual Studio Remote Code Execution Vulnerability","id":"CVE-2025-21172","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"microsoft:.net","products":["microsoft:.net","microsoft:visual_studio_2017","microsoft:visual_studio_2019","microsoft:visual_studio_2022"],"type":"integer_overflow","year":"2025"},"n_packages":48,"n_references":1,"next":{"headline":".NET Elevation of Privilege Vulnerability","id":"CVE-2025-21173"},"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-21172"},{"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-21172"},{"ecosystem":"NuGet","fixed":["8.0.12"],"introduced":["8.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.linux-arm","purl":null,"source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["8.0.12"],"introduced":["8.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.linux-arm","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.linux-arm","source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["9.0.1"],"introduced":["9.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.linux-arm","purl":null,"source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["9.0.1"],"introduced":["9.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.linux-arm","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.linux-arm","source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["8.0.12"],"introduced":["8.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.linux-arm64","purl":null,"source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["8.0.12"],"introduced":["8.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.linux-arm64","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.linux-arm64","source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["9.0.1"],"introduced":["9.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.linux-arm64","purl":null,"source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["9.0.1"],"introduced":["9.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.linux-arm64","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.linux-arm64","source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["8.0.12"],"introduced":["8.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.linux-musl-arm","purl":null,"source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["8.0.12"],"introduced":["8.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.linux-musl-arm","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.linux-musl-arm","source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["9.0.1"],"introduced":["9.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.linux-musl-arm","purl":null,"source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["9.0.1"],"introduced":["9.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.linux-musl-arm","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.linux-musl-arm","source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["8.0.12"],"introduced":["8.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.linux-musl-arm64","purl":null,"source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["8.0.12"],"introduced":["8.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.linux-musl-arm64","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.linux-musl-arm64","source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["9.0.1"],"introduced":["9.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.linux-musl-arm64","purl":null,"source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["9.0.1"],"introduced":["9.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.linux-musl-arm64","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.linux-musl-arm64","source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["8.0.12"],"introduced":["8.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.linux-musl-x64","purl":null,"source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["8.0.12"],"introduced":["8.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.linux-musl-x64","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.linux-musl-x64","source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["9.0.1"],"introduced":["9.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.linux-musl-x64","purl":null,"source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["9.0.1"],"introduced":["9.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.linux-musl-x64","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.linux-musl-x64","source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["8.0.12"],"introduced":["8.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.linux-x64","purl":null,"source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["8.0.12"],"introduced":["8.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.linux-x64","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.linux-x64","source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["9.0.1"],"introduced":["9.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.linux-x64","purl":null,"source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["9.0.1"],"introduced":["9.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.linux-x64","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.linux-x64","source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["8.0.12"],"introduced":["8.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.osx-arm64","purl":null,"source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["8.0.12"],"introduced":["8.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.osx-arm64","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.osx-arm64","source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["9.0.1"],"introduced":["9.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.osx-arm64","purl":null,"source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["9.0.1"],"introduced":["9.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.osx-arm64","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.osx-arm64","source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["8.0.12"],"introduced":["8.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.osx-x64","purl":null,"source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["8.0.12"],"introduced":["8.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.osx-x64","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.osx-x64","source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["9.0.1"],"introduced":["9.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.osx-x64","purl":null,"source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["9.0.1"],"introduced":["9.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.osx-x64","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.osx-x64","source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["8.0.12"],"introduced":["8.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.win-arm","purl":null,"source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["8.0.12"],"introduced":["8.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.win-arm","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.win-arm","source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["9.0.1"],"introduced":["9.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.win-arm","purl":null,"source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["9.0.1"],"introduced":["9.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.win-arm","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.win-arm","source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["8.0.12"],"introduced":["8.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.win-arm64","purl":null,"source":"GHSA-jjcv-wr2g-4rv4"},{"ecosystem":"NuGet","fixed":["8.0.12"],"introduced":["8.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.win-arm64","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.win-arm64","source":"GHSA-jjcv-wr2g-4rv4"}],"prev":{"headline":".NET Remote Code Execution Vulnerability","id":"CVE-2025-21171"},"products":[".NET 8.0",".NET 9.0","Microsoft Visual Studio 2015 Update 3","Microsoft Visual Studio 2017 version 15.9 (includes 15.0 - 15.8)","Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10)","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":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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 integer overflow vulnerability in .NET and Visual Studio allows remote attackers to execute arbitrary code.","url":"https://insights.sbomify.com/CVE-2025-21172/"}