High, CVSS 8.6npmAmendedPublished
@actions/artifact has an Arbitrary File Write via artifact extraction
CVE-2024-42471 · GHSA-6q32-hq47-5qq3
- Affected
- npm @actions/artifact >= 2.0.0, < 2.1.2
- Fixed in
- 2.1.2· Vendor fix available
- Issue
- Impact Versions of actions/artifact before 2.1.7 are vulnerable to arbitrary file write when using downloadArtifactInternal, downloadArtifactPublic, or streamExtractExternal for extracting a specifically crafted artifact that contains path traversal filenames. Patches Upgrade to version 2.1.7 or higher. References - https://snyk.io/research/zip-slip-vulnerability - https://github.com/actions/toolkit/pull/1724 CVE CVE-2024-42471 Credits Justin Taft from Google
Recommended action: Upgrade to 2.1.2 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.