CVE-2024-42471 Arbitrary File Write via artifact extraction in actions/artifact
HighCVSS 7.5
EPSS 3.2%
Public exploit
- Published
- Updated
- Exploit status
- Public exploit available
Description
actions/artifact is the GitHub ToolKit for developing GitHub Actions. Versions of actions/artifact on the 2.x branch before 2.1.2 are vulnerable to arbitrary file write when using downloadArtifactInternal, downloadArtifactPublic, or streamExtractExternal for extracting a specifically crafted artifact that contains path traversal filenames. Users are advised to upgrade to version 2.1.2 or higher. There are no known workarounds for this issue.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| actions @actions/artifact(npm) | >= 2.0.0, < 2.1.2 | 2.1.2 |
| actions toolkit | = >= 2.0.0, < 2.1.2 | No fix listed |
| GitHub actionsartifact | >= 2.0.0, < 2.1.7 | 2.1.7 |
| GitHub actions toolkit | All versions | No fix listed |
References
- https://github.com/actions/toolkit/security/advisories/GHSA-6q32-hq47-5qq3 vendor-advisory
- nvd.nist.gov third-party-advisory
- github.com patch
- github.com patch
- https://snyk.io/research/zip-slip-vulnerability not-applicable
- github.com patch
- github.com
- https://github.com/actions/toolkit/pull/1666 patch
- github.com