{"answers":{"affected":"18 open source packages ship an affected version, including Microsoft.NetCore.App.Runtime.win-arm, dotnet and dotnet-sdk. It affects 6 products.","exploited":"There is no known exploitation of CVE-2023-24897 in the wild and no public exploit code.","fix":"Upgrade Microsoft.NetCore.App.Runtime.win-arm to a fixed version for your release line: 6.0.18 or 7.0.7.","what":"CVE-2023-24897 is a high-severity memory corruption vulnerability in Microsoft .Net, published on 14 Jun 2023. 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-2023-24897 and fix it if it is affected.\n\nWhat it is: CVE-2023-24897 is a high-severity memory corruption vulnerability in Microsoft .Net, published on 14 Jun 2023. 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-2023-24897 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- Microsoft.NetCore.App.Runtime.win-arm (NuGet): affected from 6.0.0; fixed in 6.0.18\n- Microsoft.NetCore.App.Runtime.win-arm (NuGet): affected from 6.0.0; fixed in 6.0.18\n- Microsoft.NetCore.App.Runtime.win-arm (NuGet): affected from 7.0.0; fixed in 7.0.7\n- Microsoft.NetCore.App.Runtime.win-arm (NuGet): affected from 7.0.0; fixed in 7.0.7\n- dotnet (Bitnami): affected from 6.0.0; fixed in 6.0.1, 7.0.1\n- dotnet-sdk (Bitnami): affected from 6.0.0; fixed in 6.0.1, 7.0.1\n- Microsoft.NetCore.App.Runtime.win-arm64 (NuGet): affected from 6.0.0; fixed in 6.0.18\n- Microsoft.NetCore.App.Runtime.win-arm64 (NuGet): affected from 6.0.0; fixed in 6.0.18\n- Microsoft.NetCore.App.Runtime.win-arm64 (NuGet): affected from 7.0.0; fixed in 7.0.7\n- Microsoft.NetCore.App.Runtime.win-arm64 (NuGet): affected from 7.0.0; fixed in 7.0.7\n- Microsoft.NetCore.App.Runtime.win-x64 (NuGet): affected from 6.0.0; fixed in 6.0.18\n- Microsoft.NetCore.App.Runtime.win-x64 (NuGet): affected from 6.0.0; fixed in 6.0.18\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-2023-24897/ (Markdown: https://insights.sbomify.com/CVE-2023-24897/index.md)","id":"CVE-2023-24897","markdown":"https://insights.sbomify.com/CVE-2023-24897/index.md","name":"CVE-2023-24897","record":{"aliases":["BIT-dotnet-2023-24897","BIT-dotnet-sdk-2023-24897","CLEANSTART-2024-HC22129","GHSA-88q2-h5g3-p4pg"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":".NET Framework","requires_auth":"none","summary":"A heap-based buffer overflow in .NET allows remote attackers to execute arbitrary code.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":".net","vendor":"microsoft"},{"product":".net_framework","vendor":"microsoft"},{"product":"visual_studio","vendor":"microsoft"},{"product":"visual_studio_2017","vendor":"microsoft"},{"product":"visual_studio_2019","vendor":"microsoft"},{"product":"visual_studio_2022","vendor":"microsoft"}],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C","version":"3.1"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"description":".NET, .NET Framework, 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, .NET Framework, and Visual Studio Remote Code Execution Vulnerability","id":"CVE-2023-24897","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"microsoft:.net","products":["microsoft:.net","microsoft:.net_framework","microsoft:visual_studio","microsoft:visual_studio_2017","microsoft:visual_studio_2019","microsoft:visual_studio_2022"],"type":"memory_corruption","year":"2023"},"n_packages":18,"n_references":1,"next":{"headline":"Windows SMB Denial of Service Vulnerability","id":"CVE-2023-24898"},"packages":[{"ecosystem":"Bitnami","fixed":["6.0.1","7.0.1"],"introduced":["6.0.0","7.0.0"],"last_affected":[],"package":"dotnet","purl":"pkg:bitnami/dotnet","source":"BIT-dotnet-2023-24897"},{"ecosystem":"Bitnami","fixed":["6.0.1","7.0.1"],"introduced":["6.0.0","7.0.0"],"last_affected":[],"package":"dotnet-sdk","purl":"pkg:bitnami/dotnet-sdk","source":"BIT-dotnet-sdk-2023-24897"},{"ecosystem":"NuGet","fixed":["6.0.18"],"introduced":["6.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.win-arm","purl":null,"source":"GHSA-88q2-h5g3-p4pg"},{"ecosystem":"NuGet","fixed":["6.0.18"],"introduced":["6.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.win-arm","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.win-arm","source":"GHSA-88q2-h5g3-p4pg"},{"ecosystem":"NuGet","fixed":["7.0.7"],"introduced":["7.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.win-arm","purl":null,"source":"GHSA-88q2-h5g3-p4pg"},{"ecosystem":"NuGet","fixed":["7.0.7"],"introduced":["7.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.win-arm","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.win-arm","source":"GHSA-88q2-h5g3-p4pg"},{"ecosystem":"NuGet","fixed":["6.0.18"],"introduced":["6.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.win-arm64","purl":null,"source":"GHSA-88q2-h5g3-p4pg"},{"ecosystem":"NuGet","fixed":["6.0.18"],"introduced":["6.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.win-arm64","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.win-arm64","source":"GHSA-88q2-h5g3-p4pg"},{"ecosystem":"NuGet","fixed":["7.0.7"],"introduced":["7.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.win-arm64","purl":null,"source":"GHSA-88q2-h5g3-p4pg"},{"ecosystem":"NuGet","fixed":["7.0.7"],"introduced":["7.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.win-arm64","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.win-arm64","source":"GHSA-88q2-h5g3-p4pg"},{"ecosystem":"NuGet","fixed":["6.0.18"],"introduced":["6.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.win-x64","purl":null,"source":"GHSA-88q2-h5g3-p4pg"},{"ecosystem":"NuGet","fixed":["6.0.18"],"introduced":["6.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.win-x64","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.win-x64","source":"GHSA-88q2-h5g3-p4pg"},{"ecosystem":"NuGet","fixed":["7.0.7"],"introduced":["7.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.win-x64","purl":null,"source":"GHSA-88q2-h5g3-p4pg"},{"ecosystem":"NuGet","fixed":["7.0.7"],"introduced":["7.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.win-x64","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.win-x64","source":"GHSA-88q2-h5g3-p4pg"},{"ecosystem":"NuGet","fixed":["6.0.18"],"introduced":["6.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.win-x86","purl":null,"source":"GHSA-88q2-h5g3-p4pg"},{"ecosystem":"NuGet","fixed":["6.0.18"],"introduced":["6.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.win-x86","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.win-x86","source":"GHSA-88q2-h5g3-p4pg"},{"ecosystem":"NuGet","fixed":["7.0.7"],"introduced":["7.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.win-x86","purl":null,"source":"GHSA-88q2-h5g3-p4pg"},{"ecosystem":"NuGet","fixed":["7.0.7"],"introduced":["7.0.0"],"last_affected":[],"package":"Microsoft.NetCore.App.Runtime.win-x86","purl":"pkg:nuget/Microsoft.NetCore.App.Runtime.win-x86","source":"GHSA-88q2-h5g3-p4pg"}],"prev":{"headline":"Dynamics 365 Finance Spoofing Vulnerability","id":"CVE-2023-24896"},"products":[".NET 6.0",".NET 7.0","Microsoft .NET Framework 3.5 AND 4.6.2/4.7/4.7.1/4.7.2","Microsoft .NET Framework 3.5 AND 4.7.2","Microsoft .NET Framework 3.5 AND 4.8","Microsoft .NET Framework 3.5 AND 4.8.1","Microsoft .NET Framework 3.5 and 4.6.2","Microsoft .NET Framework 4.6.2","Microsoft .NET Framework 4.6.2/4.7/4.7.1/4.7.2","Microsoft .NET Framework 4.8","Microsoft Visual Studio 2013 Update 5","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.0","Microsoft Visual Studio 2022 version 17.2","Microsoft Visual Studio 2022 version 17.4","Microsoft Visual Studio 2022 version 17.6","PowerShell 7.2"],"published":"2023-06-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":"2025-01-01","vendors":["Microsoft"]},"summary":"A heap-based buffer overflow in .NET allows remote attackers to execute arbitrary code.","url":"https://insights.sbomify.com/CVE-2023-24897/"}