What’s Vulnerable › Vulnerabilities

CVE-2024-42471: Arbitrary File Write via artifact extraction in actions/artifact

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

How to fix

Upgrade to a fixed version: GitHub Actions/Artifact 2.1.7. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2024-42471 or the next vulnerability affects your stack