{"answers":{"affected":"1 open source package ship an affected version, including actions/download-artifact.","exploited":"There is no known exploitation of GHSA-cxww-7g56-2vh6 in the wild and no public exploit code.","fix":"Upgrade actions/download-artifact to 4.1.3 or later.","what":"GHSA-cxww-7g56-2vh6 is a path traversal vulnerability in actions/download-artifact, published on 3 Sep 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-cxww-7g56-2vh6 and fix it if it is affected.\n\nWhat it is: GHSA-cxww-7g56-2vh6 is a path traversal vulnerability in actions/download-artifact, published on 3 Sep 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 GHSA-cxww-7g56-2vh6 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- actions/download-artifact (GitHub Actions): affected from 4.0.0; fixed in 4.1.3\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/GHSA-cxww-7g56-2vh6/ (Markdown: https://insights.sbomify.com/GHSA-cxww-7g56-2vh6/index.md)","id":"GHSA-cxww-7g56-2vh6","markdown":"https://insights.sbomify.com/GHSA-cxww-7g56-2vh6/index.md","name":"GHSA-cxww-7g56-2vh6","record":{"aliases":[],"analysis":{"component_type":"developer_tool","fix_type":"upgrade","impacts":["code_execution","data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"GitHub Actions","requires_auth":"none","summary":"Attackers can write arbitrary files via path traversal in crafted artifacts, potentially leading to code execution in CI/CD environments.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"### Impact\n\nVersions of `actions/download-artifact` before 4.1.3 are vulnerable to arbitrary file write when downloading and extracting a specifically crafted artifact that contains path traversal filenames.\n\n### Patches\n\nUpgrade to version 4.1.3 or higher. Alternatively use 'v4' tag which points to the latest and secure version.\n\n### References\n\n- https://snyk.io/research/zip-slip-vulnerability\n- https://github.com/actions/download-artifact/releases/tag/v4.1.3\n- https://github.com/actions/download-artifact/pull/299\n\n### CVE\n\nCVE-2024-42471\n\n### Credits\n\nJustin Taft from Google","ecosystems":["GitHub Actions"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"@actions/download-artifact has an Arbitrary File Write via artifact extraction","id":"GHSA-cxww-7g56-2vh6","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"GitHub Actions","product":null,"products":[],"type":"path_traversal","year":"2024"},"n_packages":1,"n_references":null,"packages":[{"ecosystem":"GitHub Actions","fixed":["4.1.3"],"introduced":["4.0.0"],"last_affected":[],"package":"actions/download-artifact","purl":null,"source":"GHSA-cxww-7g56-2vh6"}],"products":null,"published":"2024-09-03","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Attackers can write arbitrary files via path traversal in crafted artifacts, potentially leading to code execution in CI/CD environments.","url":"https://insights.sbomify.com/GHSA-cxww-7g56-2vh6/"}