{"answers":{"affected":"40 open source packages ship an affected version, including NuGet.CommandLine, Microsoft.Build.NuGetSdkResolver and NuGet.Commands. It affects 1 product.","exploited":"There is no known exploitation of CVE-2023-29337 in the wild and no public exploit code.","fix":"Upgrade NuGet.CommandLine to a fixed version for your release line: 5.11.5, 6.0.5, 6.2.4 or 6.3.3.","what":"CVE-2023-29337 is a high-severity vulnerability in Microsoft NuGet 5.11.4, published on 14 Jun 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2023-29337 and fix it if it is affected.\n\nWhat it is: CVE-2023-29337 is a high-severity vulnerability in Microsoft NuGet 5.11.4, published on 14 Jun 2023. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2023-29337 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.5\n- NuGet.CommandLine (NuGet): affected from 4.6.0; fixed in 5.11.5\n- NuGet.CommandLine (NuGet): affected from 6.0.0; fixed in 6.0.5\n- NuGet.CommandLine (NuGet): affected from 6.0.0; fixed in 6.0.5\n- NuGet.CommandLine (NuGet): affected from 6.2.0; fixed in 6.2.4\n- NuGet.CommandLine (NuGet): affected from 6.2.0; fixed in 6.2.4\n- NuGet.CommandLine (NuGet): affected from 6.3.0; fixed in 6.3.3\n- NuGet.CommandLine (NuGet): affected from 6.3.0; fixed in 6.3.3\n- NuGet.CommandLine (NuGet): affected from 6.4.0; fixed in 6.4.2\n- NuGet.CommandLine (NuGet): affected from 6.4.0; fixed in 6.4.2\n- NuGet.CommandLine (NuGet): affected from 6.5.0; fixed in 6.5.1\n- NuGet.CommandLine (NuGet): affected from 6.5.0; fixed in 6.5.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-2023-29337/ (Markdown: https://insights.sbomify.com/CVE-2023-29337/index.md)","id":"CVE-2023-29337","markdown":"https://insights.sbomify.com/CVE-2023-29337/index.md","name":"CVE-2023-29337","record":{"aliases":["CLEANSTART-2025-EH90452","DEBIAN-CVE-2023-29337","GHSA-6qmf-mmc7-6c2p","UBUNTU-CVE-2023-29337"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"NuGet package manager","requires_auth":"low_privilege","summary":"A race condition in the NuGet client allows attackers to execute arbitrary code during package installation.","user_interaction":"required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"nuget","vendor":"microsoft"}],"cvss":{"score":7.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C","version":"3.1"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"description":"NuGet Client Remote Code Execution Vulnerability","ecosystems":["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":"NuGet Client Remote Code Execution Vulnerability","id":"CVE-2023-29337","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":null,"products":[],"type":"race_condition","year":"2023"},"n_packages":72,"n_references":1,"next":{"headline":"Visual Studio Code Spoofing Vulnerability","id":"CVE-2023-29338"},"packages":[{"ecosystem":"NuGet","fixed":[],"introduced":[],"last_affected":[],"package":"Microsoft.Build.NuGetSdkResolver","purl":null,"source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":[],"introduced":[],"last_affected":[],"package":"Microsoft.Build.NuGetSdkResolver","purl":"pkg:nuget/Microsoft.Build.NuGetSdkResolver","source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["5.11.5"],"introduced":["4.6.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["5.11.5"],"introduced":["4.6.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.0.5"],"introduced":["6.0.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.0.5"],"introduced":["6.0.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.2.4"],"introduced":["6.2.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.2.4"],"introduced":["6.2.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.3.3"],"introduced":["6.3.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.3.3"],"introduced":["6.3.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.4.2"],"introduced":["6.4.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.4.2"],"introduced":["6.4.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.5.1"],"introduced":["6.5.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.5.1"],"introduced":["6.5.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.6.1"],"introduced":["6.6.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.6.1"],"introduced":["6.6.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["5.11.5"],"introduced":["4.6.0"],"last_affected":[],"package":"NuGet.Commands","purl":null,"source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["5.11.5"],"introduced":["4.6.0"],"last_affected":[],"package":"NuGet.Commands","purl":"pkg:nuget/NuGet.Commands","source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.0.5"],"introduced":["6.0.0"],"last_affected":[],"package":"NuGet.Commands","purl":null,"source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.0.5"],"introduced":["6.0.0"],"last_affected":[],"package":"NuGet.Commands","purl":"pkg:nuget/NuGet.Commands","source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.2.4"],"introduced":["6.2.0"],"last_affected":[],"package":"NuGet.Commands","purl":null,"source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.2.4"],"introduced":["6.2.0"],"last_affected":[],"package":"NuGet.Commands","purl":"pkg:nuget/NuGet.Commands","source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.3.3"],"introduced":["6.3.0"],"last_affected":[],"package":"NuGet.Commands","purl":null,"source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.3.3"],"introduced":["6.3.0"],"last_affected":[],"package":"NuGet.Commands","purl":"pkg:nuget/NuGet.Commands","source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.4.2"],"introduced":["6.4.0"],"last_affected":[],"package":"NuGet.Commands","purl":null,"source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.4.2"],"introduced":["6.4.0"],"last_affected":[],"package":"NuGet.Commands","purl":"pkg:nuget/NuGet.Commands","source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.5.1"],"introduced":["6.5.0"],"last_affected":[],"package":"NuGet.Commands","purl":null,"source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.5.1"],"introduced":["6.5.0"],"last_affected":[],"package":"NuGet.Commands","purl":"pkg:nuget/NuGet.Commands","source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.6.1"],"introduced":["6.6.0"],"last_affected":[],"package":"NuGet.Commands","purl":null,"source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.6.1"],"introduced":["6.6.0"],"last_affected":[],"package":"NuGet.Commands","purl":"pkg:nuget/NuGet.Commands","source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["5.11.5"],"introduced":["4.6.0"],"last_affected":[],"package":"NuGet.Common","purl":null,"source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["5.11.5"],"introduced":["4.6.0"],"last_affected":[],"package":"NuGet.Common","purl":"pkg:nuget/NuGet.Common","source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.0.5"],"introduced":["6.0.0"],"last_affected":[],"package":"NuGet.Common","purl":null,"source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.0.5"],"introduced":["6.0.0"],"last_affected":[],"package":"NuGet.Common","purl":"pkg:nuget/NuGet.Common","source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.2.4"],"introduced":["6.2.0"],"last_affected":[],"package":"NuGet.Common","purl":null,"source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.2.4"],"introduced":["6.2.0"],"last_affected":[],"package":"NuGet.Common","purl":"pkg:nuget/NuGet.Common","source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.3.3"],"introduced":["6.3.0"],"last_affected":[],"package":"NuGet.Common","purl":null,"source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.3.3"],"introduced":["6.3.0"],"last_affected":[],"package":"NuGet.Common","purl":"pkg:nuget/NuGet.Common","source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.4.2"],"introduced":["6.4.0"],"last_affected":[],"package":"NuGet.Common","purl":null,"source":"GHSA-6qmf-mmc7-6c2p"},{"ecosystem":"NuGet","fixed":["6.4.2"],"introduced":["6.4.0"],"last_affected":[],"package":"NuGet.Common","purl":"pkg:nuget/NuGet.Common","source":"GHSA-6qmf-mmc7-6c2p"}],"prev":{"headline":"Microsoft Win32K Privilege Escalation","id":"CVE-2023-29336"},"products":["NuGet 5.11.4","NuGet 6.0.4","NuGet 6.2.3","NuGet 6.3.2","NuGet 6.4.1","NuGet 6.5.0","NuGet 6.6.0"],"published":"2023-06-14","related":[{"cvss_score":5.5,"headline":"NuGet Package Manager Tampering Vulnerability","id":"CVE-2019-0976","kev_date_added":null,"published":"2019-05-16"}],"sources":[{"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 race condition in the NuGet client allows attackers to execute arbitrary code during package installation.","url":"https://insights.sbomify.com/CVE-2023-29337/"}