Vulnerabilities · 2024 · Github
CVE-2024-42471
Github Actions\/artifact vulnerability
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
Actions\/artifact, Actions Toolkit. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Github Actions\/artifact runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/actions/toolkit/security/advisories/GHSA-6q32-hq47-5qq3 · Vendor Advisory
- github.com/actions/toolkit/pull/1666
- snyk.io/research/zip-slip-vulnerability
- nvd.nist.gov/vuln/detail/CVE-2024-42471
- github.com/actions/toolkit/pull/1724
- github.com/actions/toolkit/commit/29885a805ef3e95a9862dcaa8431c30981960017
- github.com/actions/toolkit/pull/1602
- github.com/actions/download-artifact/blob/v3/package.json#L31
- nvd.nist.gov/vuln/detail/CVE-2024-42471
- cve.org/CVERecord?id=CVE-2024-42471
More vulnerabilities in Github products
CVE-2025-23369CVE-2025-14046CVE-2025-13744CVE-2025-11892CVE-2025-11578CVE-2025-8447CVE-2025-6981CVE-2025-6600All 125
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.