Skip to content

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

ProductAffected versionsFixed 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