{"id":"GHSA-cxww-7g56-2vh6","aliases":[],"summary":"@actions/download-artifact has an Arbitrary File Write via artifact extraction","published_at":"2024-09-03T20:55:34Z","modified_at":"2025-01-22T17:31:55Z","products":[{"slug":"github-actions","name":"GitHub Actions","category":"gitops-cicd"}],"rating":{"severity":"high","score":8.6,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","attack_path":"internet_authenticated","user_interaction":false,"malicious":false},"fix_available":true,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"priority":9.6,"details":"### 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","affected_stack":[{"ecosystem":"GitHub Actions","package":"actions/download-artifact","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.1.3"}]}],"fixed":["4.1.3"],"provider":"osv","source":"GHSA-cxww-7g56-2vh6","relation":"self"}],"affected_other":[],"product_status":[],"records":[{"provider":"osv","source_id":"GHSA-cxww-7g56-2vh6","relation":"self","url":"https://osv.dev/vulnerability/GHSA-cxww-7g56-2vh6","license":"CC-BY-4.0","published_at":"2024-09-03T20:55:34Z","modified_at":"2025-01-22T17:31:55Z","summary":"@actions/download-artifact has an Arbitrary File Write via artifact extraction","details":"### 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","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","source":"GHSA-cxww-7g56-2vh6"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","source":"GHSA-cxww-7g56-2vh6"}],"affected":[{"ecosystem":"GitHub Actions","package":"actions/download-artifact","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.0.0"},{"fixed":"4.1.3"}]}],"fixed":["4.1.3"],"provider":"osv","source":"GHSA-cxww-7g56-2vh6","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/actions/download-artifact/security/advisories/GHSA-cxww-7g56-2vh6"},{"type":"PACKAGE","url":"https://github.com/actions/download-artifact"},{"type":"WEB","url":"https://github.com/actions/download-artifact/releases/tag/v4.1.3"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6q32-hq47-5qq3"},{"type":"WEB","url":"https://snyk.io/research/zip-slip-vulnerability"}]}],"references":[{"type":"WEB","url":"https://github.com/actions/download-artifact/security/advisories/GHSA-cxww-7g56-2vh6"},{"type":"PACKAGE","url":"https://github.com/actions/download-artifact"},{"type":"WEB","url":"https://github.com/actions/download-artifact/releases/tag/v4.1.3"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-6q32-hq47-5qq3"},{"type":"WEB","url":"https://snyk.io/research/zip-slip-vulnerability"}],"sources":[{"provider":"osv","source_id":"GHSA-cxww-7g56-2vh6","url":"https://osv.dev/vulnerability/GHSA-cxww-7g56-2vh6","license":"CC-BY-4.0","modified_at":"2025-01-22T17:31:55Z","relation":"self"}]}
