{"answers":{"affected":"31 open source packages ship an affected version, including NuGet.CommandLine, dotnet and dotnet-sdk. It affects 4 products.","exploited":"There is no known exploitation of CVE-2024-0057 in the wild and no public exploit code.","fix":"Upgrade NuGet.CommandLine to a fixed version for your release line: 5.11.6, 6.0.6, 6.3.4 or 6.4.3.","what":"CVE-2024-0057 is a critical vulnerability in Microsoft .Net, published on 9 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-0057 and fix it if it is affected.\n\nWhat it is: CVE-2024-0057 is a critical vulnerability in Microsoft .Net, published on 9 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-0057 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- NuGet.CommandLine (NuGet): affected from 4.6.0; fixed in 5.11.6\n- NuGet.CommandLine (NuGet): affected from 4.6.0; fixed in 5.11.6\n- NuGet.CommandLine (NuGet): affected from 6.0.0; fixed in 6.0.6\n- NuGet.CommandLine (NuGet): affected from 6.0.0; fixed in 6.0.6\n- NuGet.CommandLine (NuGet): affected from 6.3.0; fixed in 6.3.4\n- NuGet.CommandLine (NuGet): affected from 6.3.0; fixed in 6.3.4\n- NuGet.CommandLine (NuGet): affected from 6.4.0; fixed in 6.4.3\n- NuGet.CommandLine (NuGet): affected from 6.4.0; fixed in 6.4.3\n- NuGet.CommandLine (NuGet): affected from 6.6.0; fixed in 6.6.2\n- NuGet.CommandLine (NuGet): affected from 6.6.0; fixed in 6.6.2\n- NuGet.CommandLine (NuGet): affected from 6.7.0; fixed in 6.7.1\n- NuGet.CommandLine (NuGet): affected from 6.7.0; fixed in 6.7.1\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-2024-0057/ (Markdown: https://insights.sbomify.com/CVE-2024-0057/index.md)","id":"CVE-2024-0057","markdown":"https://insights.sbomify.com/CVE-2024-0057/index.md","name":"CVE-2024-0057","record":{"aliases":["BIT-dotnet-2024-0057","BIT-dotnet-sdk-2024-0057","BIT-powershell-2024-0057","CLEANSTART-2025-FM16465","GHSA-68w7-72jg-6qpp","UBUNTU-CVE-2024-0057"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":".NET Framework","requires_auth":"none","summary":"Attackers can bypass security features in .NET, .NET Framework, and Visual Studio, potentially undermining application integrity.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":".net","vendor":"microsoft"},{"product":".net_framework","vendor":"microsoft"},{"product":"powershell","vendor":"microsoft"},{"product":"visual_studio_2022","vendor":"microsoft"}],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N/E:P/RL:O/RC:C","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"NET, .NET Framework, and Visual Studio Security Feature Bypass 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 Security Feature Bypass Vulnerability","id":"CVE-2024-0057","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"microsoft:.net","products":["microsoft:.net","microsoft:.net_framework","microsoft:visual_studio_2022"],"type":"security_feature_bypass","year":"2024"},"n_packages":31,"n_references":1,"next":{"headline":"Information disclosure in AXIS OS","id":"CVE-2024-0066"},"packages":[{"ecosystem":"Bitnami","fixed":["6.0.26","7.0.15","8.0.1"],"introduced":["6.0.0","7.0.0","8.0.0"],"last_affected":[],"package":"dotnet","purl":"pkg:bitnami/dotnet","source":"BIT-dotnet-2024-0057"},{"ecosystem":"Bitnami","fixed":["6.0.26","7.0.15","8.0.1"],"introduced":["6.0.0","7.0.0","8.0.0"],"last_affected":[],"package":"dotnet-sdk","purl":"pkg:bitnami/dotnet-sdk","source":"BIT-dotnet-sdk-2024-0057"},{"ecosystem":"Bitnami","fixed":["7.2.18","7.3.11","7.4.12"],"introduced":["7.2.0","7.3.0","7.4.0"],"last_affected":[],"package":"powershell","purl":"pkg:bitnami/powershell","source":"BIT-powershell-2024-0057"},{"ecosystem":"NuGet","fixed":["5.11.6"],"introduced":["4.6.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["5.11.6"],"introduced":["4.6.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["6.0.6"],"introduced":["6.0.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["6.0.6"],"introduced":["6.0.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["6.3.4"],"introduced":["6.3.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["6.3.4"],"introduced":["6.3.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["6.4.3"],"introduced":["6.4.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["6.4.3"],"introduced":["6.4.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["6.6.2"],"introduced":["6.6.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["6.6.2"],"introduced":["6.6.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["6.7.1"],"introduced":["6.7.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["6.7.1"],"introduced":["6.7.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["6.8.1"],"introduced":["6.8.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["6.8.1"],"introduced":["6.8.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["5.11.6"],"introduced":["4.6.0"],"last_affected":[],"package":"NuGet.Packaging","purl":null,"source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["5.11.6"],"introduced":["4.6.0"],"last_affected":[],"package":"NuGet.Packaging","purl":"pkg:nuget/NuGet.Packaging","source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["6.0.6"],"introduced":["6.0.0"],"last_affected":[],"package":"NuGet.Packaging","purl":null,"source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["6.0.6"],"introduced":["6.0.0"],"last_affected":[],"package":"NuGet.Packaging","purl":"pkg:nuget/NuGet.Packaging","source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["6.3.4"],"introduced":["6.3.0"],"last_affected":[],"package":"NuGet.Packaging","purl":null,"source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["6.3.4"],"introduced":["6.3.0"],"last_affected":[],"package":"NuGet.Packaging","purl":"pkg:nuget/NuGet.Packaging","source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["6.4.3"],"introduced":["6.4.0"],"last_affected":[],"package":"NuGet.Packaging","purl":null,"source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["6.4.3"],"introduced":["6.4.0"],"last_affected":[],"package":"NuGet.Packaging","purl":"pkg:nuget/NuGet.Packaging","source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["6.6.2"],"introduced":["6.6.0"],"last_affected":[],"package":"NuGet.Packaging","purl":null,"source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["6.6.2"],"introduced":["6.6.0"],"last_affected":[],"package":"NuGet.Packaging","purl":"pkg:nuget/NuGet.Packaging","source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["6.7.1"],"introduced":["6.7.0"],"last_affected":[],"package":"NuGet.Packaging","purl":null,"source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["6.7.1"],"introduced":["6.7.0"],"last_affected":[],"package":"NuGet.Packaging","purl":"pkg:nuget/NuGet.Packaging","source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["6.8.1"],"introduced":["6.8.0"],"last_affected":[],"package":"NuGet.Packaging","purl":null,"source":"GHSA-68w7-72jg-6qpp"},{"ecosystem":"NuGet","fixed":["6.8.1"],"introduced":["6.8.0"],"last_affected":[],"package":"NuGet.Packaging","purl":"pkg:nuget/NuGet.Packaging","source":"GHSA-68w7-72jg-6qpp"}],"prev":{"headline":"Microsoft.Data.SqlClient and System.Data.SqlClient SQL Data Provider Security Feature Bypass Vulnerability","id":"CVE-2024-0056"},"products":[".NET 6.0",".NET 7.0",".NET 8.0","Microsoft .NET Framework 2.0 Service Pack 2","Microsoft .NET Framework 3.0 Service Pack 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 4.6.2/4.7/4.7.1/4.7.2","Microsoft .NET Framework 4.8","Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10)","Microsoft Visual Studio 2022 version 17.2","Microsoft Visual Studio 2022 version 17.4","Microsoft Visual Studio 2022 version 17.6","Microsoft Visual Studio 2022 version 17.8","NUGET 17.6.0","NuGet 17.4.0","NuGet 17.8.0","NuGet 5.11.0","PowerShell 7.2","PowerShell 7.3","PowerShell 7.4"],"published":"2024-01-09","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":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":"yes","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-06-03","vendors":["Microsoft"]},"summary":"Attackers can bypass security features in .NET, .NET Framework, and Visual Studio, potentially undermining application integrity.","url":"https://insights.sbomify.com/CVE-2024-0057/"}