High severity · published Sep 2, 2024
CVE-2024-42471
Arbitrary File Write via artifact extraction in actions/artifact
7.5
CVSS
3.2%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
High
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)3.2% · higher than 88% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
TO
toolkit · actions
>= 2.0.0, < 2.1.2 · source: vendor
AT
Actions Toolkit · Github
All versions, or not specified · source: NVD
AC
Actions/artifact · Github
2.0.0 before 2.1.7 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-42471
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-42471
github.com
https://github.com/actions/toolkit/pull/1666
Vendor Advisory
https://github.com/actions/toolkit/security/advisories/GHSA-6q32-hq47-5qq3
Not Applicable
https://snyk.io/research/zip-slip-vulnerability
More from toolkit
4.3
CVE-2025-5890
actions toolkit glob internal-pattern.ts globEscape redos
