Cyber Resilience

CVE-2024-42471

High

Published: 02 September 2024

Published
02 September 2024
Modified
27 August 2025
KEV Added
Patch
CVSS Score v3.1 7.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
EPSS Score 0.0541 90.4th percentile
Risk Priority 18 60% EPSS · 20% KEV · 20% CVSS

Summary

CVE-2024-42471 is a high-severity Path Traversal (CWE-22) vulnerability in Github Actions\/Artifact. Its CVSS base score is 7.3 (High).

Operationally, ranked in the top 9.6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.

Deeper analysis

CVE-2024-42471 affects the actions/artifact package in the GitHub Actions Toolkit on the 2.x branch prior to version 2.1.2. The flaw is a path traversal issue (CWE-22) that permits arbitrary file writes when the functions downloadArtifactInternal, downloadArtifactPublic, or streamExtractExternal process a specially crafted artifact containing traversal sequences in filenames.

An authenticated attacker who can supply or substitute a malicious artifact can exploit the vulnerability to write files outside the intended extraction directory on the runner or host executing the action. Successful exploitation yields high confidentiality and integrity impact but no availability impact, consistent with the reported CVSS 7.3 score.

The GitHub advisory GHSA-6q32-hq47-5qq3 and the associated pull request direct users to upgrade to actions/artifact 2.1.2 or later; no workarounds are documented. The referenced Snyk research on Zip-Slip provides additional background on the class of extraction vulnerabilities.

EPSS for the CVE rose from a low baseline to a peak of 0.0771, indicating measurable post-disclosure exploitation interest that warrants renewed attention even though current probability sits at 0.0541.

EU & UK References

Vulnerability details

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…

more

filenames. Users are advised to upgrade to version 2.1.2 or higher. There are no known workarounds for this issue.

CWE(s)

Related Threats

No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.

Affected Assets

github
actions\/artifact
2.0.0 — 2.1.7
github
actions toolkit
all versions

Mitigating Controls

Likely Mitigating Controls AI

Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.

addresses: CWE-22

Validates pathnames and filenames to prevent traversal outside intended directories.

References