{"answers":{"affected":"6 open source packages ship an affected version, including WixToolset.Util.wixext and wix.","exploited":"There is no known exploitation of CVE-2024-29188 in the wild and no public exploit code.","fix":"Upgrade WixToolset.Util.wixext to 4.0.5 or later.","what":"CVE-2024-29188 is a high-severity path traversal vulnerability in wixtoolset issues, published on 24 Mar 2024. 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-2024-29188 and fix it if it is affected.\n\nWhat it is: CVE-2024-29188 is a high-severity path traversal vulnerability in wixtoolset issues, published on 24 Mar 2024. 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-2024-29188 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- WixToolset.Util.wixext (NuGet): affected all versions; fixed in 4.0.5\n- WixToolset.Util.wixext (NuGet): affected all versions; fixed in 4.0.5\n- wix (NuGet): affected all versions; fixed in 3.14.1\n- wix (NuGet): affected all versions; fixed in 3.14.1\n- wix (NuGet): affected from 4.0.0; fixed in 4.0.5\n- wix (NuGet): affected from 4.0.0; fixed in 4.0.5\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-29188/ (Markdown: https://insights.sbomify.com/CVE-2024-29188/index.md)","id":"CVE-2024-29188","markdown":"https://insights.sbomify.com/CVE-2024-29188/index.md","name":"CVE-2024-29188","record":{"aliases":["GHSA-jx4p-m4wm-vvjg"],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["privilege_escalation","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"WiX toolset","requires_auth":"low_privilege","summary":"Attackers can delete protected system files via directory junctions in WiX installers, requiring admin approval for execution.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":7.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"description":"WiX toolset lets developers create installers for Windows Installer, the Windows installation engine. The custom action behind WiX's `RemoveFolderEx` functionality could allow a standard user to delete protected directories. `RemoveFolderEx` deletes an entire directory tree during installation or uninstallation. It does so by recursing every subdirectory starting at a specified directory and adding each subdirectory to the list of directories Windows Installer should delete. If the setup author instructed `RemoveFolderEx` to delete a per-user folder from a per-machine installer, an attacker could create a directory junction in that per-user folder pointing to a per-machine, protected directory. Windows Installer, when executing the per-machine installer after approval by an administrator, would delete the target of the directory junction. This vulnerability is fixed in 3.14.1 and 4.0.5.","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":"Malicious directory junction can cause WiX RemoveFoldersEx to possibly delete elevated files","id":"CVE-2024-29188","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"NuGet","product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":6,"n_references":3,"next":{"headline":"ansys-geometry-core OS Command Injection vulnerability","id":"CVE-2024-29189"},"packages":[{"ecosystem":"NuGet","fixed":["4.0.5"],"introduced":["0"],"last_affected":[],"package":"WixToolset.Util.wixext","purl":null,"source":"GHSA-jx4p-m4wm-vvjg"},{"ecosystem":"NuGet","fixed":["4.0.5"],"introduced":["0"],"last_affected":[],"package":"WixToolset.Util.wixext","purl":"pkg:nuget/WixToolset.Util.wixext","source":"GHSA-jx4p-m4wm-vvjg"},{"ecosystem":"NuGet","fixed":["3.14.1"],"introduced":["0"],"last_affected":[],"package":"wix","purl":null,"source":"GHSA-jx4p-m4wm-vvjg"},{"ecosystem":"NuGet","fixed":["3.14.1"],"introduced":["0"],"last_affected":[],"package":"wix","purl":"pkg:nuget/wix","source":"GHSA-jx4p-m4wm-vvjg"},{"ecosystem":"NuGet","fixed":["4.0.5"],"introduced":["4.0.0"],"last_affected":[],"package":"wix","purl":null,"source":"GHSA-jx4p-m4wm-vvjg"},{"ecosystem":"NuGet","fixed":["4.0.5"],"introduced":["4.0.0"],"last_affected":[],"package":"wix","purl":"pkg:nuget/wix","source":"GHSA-jx4p-m4wm-vvjg"}],"prev":{"headline":"WiX based installers are vulnerable to binary hijack when run as SYSTEM","id":"CVE-2024-29187"},"products":["issues"],"published":"2024-03-24","related":[],"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":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-08-02","vendors":["wixtoolset"]},"summary":"Attackers can delete protected system files via directory junctions in WiX installers, requiring admin approval for execution.","url":"https://insights.sbomify.com/CVE-2024-29188/"}