{"answers":{"affected":"40 open source packages ship an affected version, including NuGet.CommandLine, dotnet and dotnet-sdk. It affects 5 products.","exploited":"There is no known exploitation of CVE-2022-41032 in the wild and no public exploit code.","fix":"Upgrade NuGet.CommandLine to a fixed version for your release line: 4.9.6, 5.7.3, 5.11.3 or 5.9.3.","what":"CVE-2022-41032 is a high-severity vulnerability in Fedoraproject Fedora, published on 11 Oct 2022. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-41032 and fix it if it is affected.\n\nWhat it is: CVE-2022-41032 is a high-severity vulnerability in Fedoraproject Fedora, published on 11 Oct 2022. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-41032 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 4.9.6\n- NuGet.CommandLine (NuGet): affected from 4.6.0; fixed in 4.9.6\n- NuGet.CommandLine (NuGet): affected from 5.0.0; fixed in 5.7.3\n- NuGet.CommandLine (NuGet): affected from 5.0.0; fixed in 5.7.3\n- NuGet.CommandLine (NuGet): affected from 5.10.0; fixed in 5.11.3\n- NuGet.CommandLine (NuGet): affected from 5.10.0; fixed in 5.11.3\n- NuGet.CommandLine (NuGet): affected from 5.8.0; fixed in 5.9.3\n- NuGet.CommandLine (NuGet): affected from 5.8.0; fixed in 5.9.3\n- NuGet.CommandLine (NuGet): affected from 6.0.0; fixed in 6.0.3\n- NuGet.CommandLine (NuGet): affected from 6.0.0; fixed in 6.0.3\n- NuGet.CommandLine (NuGet): affected from 6.1.0; fixed in 6.2.2\n- NuGet.CommandLine (NuGet): affected from 6.1.0; fixed in 6.2.2\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-2022-41032/ (Markdown: https://insights.sbomify.com/CVE-2022-41032/index.md)","id":"CVE-2022-41032","markdown":"https://insights.sbomify.com/CVE-2022-41032/index.md","name":"CVE-2022-41032","record":{"aliases":["ALSA-2022:6911","ALSA-2022:6912","ALSA-2022:6913","ALSA-2022:7826","ALSA-2022:8434","BIT-dotnet-2022-41032","BIT-dotnet-sdk-2022-41032","CLEANSTART-2024-PD73825","GHSA-g3q9-xf95-8hp5","RHSA-2022:6911","RHSA-2022:6912","RHSA-2022:6913","RHSA-2022:6914","RHSA-2022:6915","RHSA-2022:7826","RHSA-2022:8434","RLSA-2022:6911","RLSA-2022:6912","RLSA-2022:6913","UBUNTU-CVE-2022-41032","USN-5670-1"],"analysis":{"component_type":"developer_tool","fix_type":"patch","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"NuGet Client","requires_auth":"low_privilege","summary":"An attacker can exploit the NuGet Client to elevate privileges on systems using affected .NET and Visual Studio versions.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"microsoft","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":".net","vendor":"microsoft"},{"product":".net_core","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:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C","version":"3.1"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"description":"NuGet Client Elevation of Privilege Vulnerability","ecosystems":["AlmaLinux:8","AlmaLinux:9","Bitnami","NuGet","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::crb","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::crb","Red Hat:rhel_dotnet:3.1::el7","Red Hat:rhel_dotnet:6.0::el7","Rocky Linux:8","Rocky Linux:9"],"exploits":{"exploitdb":0,"first_seen":"2022-06-10","github_poc":1,"max_poc_stars":1,"metasploit":0,"nuclei":0,"refs":[{"date":"2022-06-10T21:20:08Z","kind":"github_poc","ref":"https://github.com/ethomson/cve-2022-41032","stars":1,"title":"Reproduction / example repository for CVE 2022-41032."}],"tier":"poc_unverified"},"has_fix":true,"headline":"NuGet Client Elevation of Privilege Vulnerability","id":"CVE-2022-41032","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Bitnami","product":"fedoraproject:fedora","products":["fedoraproject:fedora","microsoft:.net","microsoft:visual_studio_2019","microsoft:visual_studio_2022"],"type":"privilege_escalation","year":"2022"},"n_packages":256,"n_references":1,"next":{"headline":"Microsoft Windows COM+ Event System Service Privilege Escalation","id":"CVE-2022-41033"},"packages":[{"ecosystem":"Bitnami","fixed":["6.0.1"],"introduced":["6.0.0"],"last_affected":[],"package":"dotnet","purl":"pkg:bitnami/dotnet","source":"BIT-dotnet-2022-41032"},{"ecosystem":"Bitnami","fixed":["6.0.1"],"introduced":["6.0.0"],"last_affected":[],"package":"dotnet-sdk","purl":"pkg:bitnami/dotnet-sdk","source":"BIT-dotnet-sdk-2022-41032"},{"ecosystem":"NuGet","fixed":["4.9.6"],"introduced":["4.6.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["4.9.6"],"introduced":["4.6.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["5.7.3"],"introduced":["5.0.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["5.7.3"],"introduced":["5.0.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["5.11.3"],"introduced":["5.10.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["5.11.3"],"introduced":["5.10.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["5.9.3"],"introduced":["5.8.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["5.9.3"],"introduced":["5.8.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["6.0.3"],"introduced":["6.0.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["6.0.3"],"introduced":["6.0.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["6.2.2"],"introduced":["6.1.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["6.2.2"],"introduced":["6.1.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["6.3.1"],"introduced":["6.3.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":null,"source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["6.3.1"],"introduced":["6.3.0"],"last_affected":[],"package":"NuGet.CommandLine","purl":"pkg:nuget/NuGet.CommandLine","source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["4.9.6"],"introduced":["4.6.0"],"last_affected":[],"package":"NuGet.Commands","purl":null,"source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["4.9.6"],"introduced":["4.6.0"],"last_affected":[],"package":"NuGet.Commands","purl":"pkg:nuget/NuGet.Commands","source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["5.7.3"],"introduced":["5.0.0"],"last_affected":[],"package":"NuGet.Commands","purl":null,"source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["5.7.3"],"introduced":["5.0.0"],"last_affected":[],"package":"NuGet.Commands","purl":"pkg:nuget/NuGet.Commands","source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["5.11.3"],"introduced":["5.10.0"],"last_affected":[],"package":"NuGet.Commands","purl":null,"source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["5.11.3"],"introduced":["5.10.0"],"last_affected":[],"package":"NuGet.Commands","purl":"pkg:nuget/NuGet.Commands","source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["5.9.3"],"introduced":["5.8.0"],"last_affected":[],"package":"NuGet.Commands","purl":null,"source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["5.9.3"],"introduced":["5.8.0"],"last_affected":[],"package":"NuGet.Commands","purl":"pkg:nuget/NuGet.Commands","source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["6.0.3"],"introduced":["6.0.0"],"last_affected":[],"package":"NuGet.Commands","purl":null,"source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["6.0.3"],"introduced":["6.0.0"],"last_affected":[],"package":"NuGet.Commands","purl":"pkg:nuget/NuGet.Commands","source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["6.2.2"],"introduced":["6.1.0"],"last_affected":[],"package":"NuGet.Commands","purl":null,"source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["6.2.2"],"introduced":["6.1.0"],"last_affected":[],"package":"NuGet.Commands","purl":"pkg:nuget/NuGet.Commands","source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["6.3.1"],"introduced":["6.3.0"],"last_affected":[],"package":"NuGet.Commands","purl":null,"source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["6.3.1"],"introduced":["6.3.0"],"last_affected":[],"package":"NuGet.Commands","purl":"pkg:nuget/NuGet.Commands","source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["4.9.6"],"introduced":["4.6.0"],"last_affected":[],"package":"NuGet.Protocol","purl":null,"source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["4.9.6"],"introduced":["4.6.0"],"last_affected":[],"package":"NuGet.Protocol","purl":"pkg:nuget/NuGet.Protocol","source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["5.7.3"],"introduced":["5.0.0"],"last_affected":[],"package":"NuGet.Protocol","purl":null,"source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["5.7.3"],"introduced":["5.0.0"],"last_affected":[],"package":"NuGet.Protocol","purl":"pkg:nuget/NuGet.Protocol","source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["5.11.3"],"introduced":["5.10.0"],"last_affected":[],"package":"NuGet.Protocol","purl":null,"source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["5.11.3"],"introduced":["5.10.0"],"last_affected":[],"package":"NuGet.Protocol","purl":"pkg:nuget/NuGet.Protocol","source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["5.9.3"],"introduced":["5.8.0"],"last_affected":[],"package":"NuGet.Protocol","purl":null,"source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["5.9.3"],"introduced":["5.8.0"],"last_affected":[],"package":"NuGet.Protocol","purl":"pkg:nuget/NuGet.Protocol","source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["6.0.3"],"introduced":["6.0.0"],"last_affected":[],"package":"NuGet.Protocol","purl":null,"source":"GHSA-g3q9-xf95-8hp5"},{"ecosystem":"NuGet","fixed":["6.0.3"],"introduced":["6.0.0"],"last_affected":[],"package":"NuGet.Protocol","purl":"pkg:nuget/NuGet.Protocol","source":"GHSA-g3q9-xf95-8hp5"}],"prev":{"headline":"Microsoft Word Remote Code Execution Vulnerability","id":"CVE-2022-41031"},"products":[".NET 6.0",".NET Core 3.1","Microsoft Visual Studio 2019 version 16.11 (includes 16.0 - 16.10)","Microsoft Visual Studio 2019 version 16.9 (includes 16.0 - 16.8)","Microsoft Visual Studio 2022 version 17.0","Microsoft Visual Studio 2022 version 17.2","Microsoft Visual Studio 2022 version 17.3","Visual Studio 2022 for Mac version 17.3"],"published":"2022-10-11","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-02-28","vendors":["Microsoft"]},"summary":"An attacker can exploit the NuGet Client to elevate privileges on systems using affected .NET and Visual Studio versions.","url":"https://insights.sbomify.com/CVE-2022-41032/"}