CVE-2024-42471
GitHub Actions Artifact Path Traversal Arbitrary File Write Vulnerability
Description
actions/artifact is the GitHub ToolKit for developing GitHub Actions. Versions of `actions/artifact` before 2.1.7 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.7 or higher. There are no known workarounds for this issue.
INFO
Published Date :
Sept. 2, 2024, 6:15 p.m.
Last Modified :
Sept. 16, 2024, 4:18 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
Affected Products
The following products are affected by CVE-2024-42471
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-42471
.
URL | Resource |
---|---|
https://github.com/actions/toolkit/pull/1724 | Patch |
https://github.com/actions/toolkit/security/advisories/GHSA-6q32-hq47-5qq3 | Vendor Advisory |
https://snyk.io/research/zip-slip-vulnerability | Not Applicable |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-42471
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-42471
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Sep. 16, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N Changed Reference Type https://github.com/actions/toolkit/pull/1724 No Types Assigned https://github.com/actions/toolkit/pull/1724 Patch Changed Reference Type https://github.com/actions/toolkit/security/advisories/GHSA-6q32-hq47-5qq3 No Types Assigned https://github.com/actions/toolkit/security/advisories/GHSA-6q32-hq47-5qq3 Vendor Advisory Changed Reference Type https://snyk.io/research/zip-slip-vulnerability No Types Assigned https://snyk.io/research/zip-slip-vulnerability Not Applicable Added CWE NIST CWE-22 Added CPE Configuration OR *cpe:2.3:a:github:actions\/artifact:*:*:*:*:*:node.js:*:* versions from (including) 2.0.0 up to (excluding) 2.1.7 Added CPE Configuration OR *cpe:2.3:a:github:actions_toolkit:-:*:*:*:*:*:*:* -
CVE Received by [email protected]
Sep. 02, 2024
Action Type Old Value New Value Added Description actions/artifact is the GitHub ToolKit for developing GitHub Actions. Versions of `actions/artifact` before 2.1.7 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.7 or higher. There are no known workarounds for this issue. Added Reference GitHub, Inc. https://github.com/actions/toolkit/security/advisories/GHSA-6q32-hq47-5qq3 [No types assigned] Added Reference GitHub, Inc. https://github.com/actions/toolkit/pull/1724 [No types assigned] Added Reference GitHub, Inc. https://snyk.io/research/zip-slip-vulnerability [No types assigned] Added CWE GitHub, Inc. CWE-22 Added CVSS V3.1 GitHub, Inc. AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-42471
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-42471
weaknesses.