CVE-2024-42471

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:github:actions\/artifact:*:*:*:*:*:node.js:*:*

Configuration 2 (hide)

cpe:2.3:a:github:actions_toolkit:-:*:*:*:*:*:*:*

History

22 Jan 2025, 17:15

Type Values Removed Values Added
Summary actions/artifact is the GitHub ToolKit for developing GitHub Actions. Versions of `actions/artifact` on the 2.x branch 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. 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.
References
  • {'url': 'https://github.com/actions/toolkit/pull/1724', 'name': 'https://github.com/actions/toolkit/pull/1724', 'tags': ['Patch'], 'refsource': ''}
  • () https://github.com/actions/toolkit/pull/1666 -

22 Jan 2025, 16:15

Type Values Removed Values Added
Summary 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. actions/artifact is the GitHub ToolKit for developing GitHub Actions. Versions of `actions/artifact` on the 2.x branch 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.

16 Sep 2024, 16:18

Type Values Removed Values Added
References () https://snyk.io/research/zip-slip-vulnerability - () https://snyk.io/research/zip-slip-vulnerability - Not Applicable
References () https://github.com/actions/toolkit/pull/1724 - () https://github.com/actions/toolkit/pull/1724 - Patch
References () https://github.com/actions/toolkit/security/advisories/GHSA-6q32-hq47-5qq3 - () https://github.com/actions/toolkit/security/advisories/GHSA-6q32-hq47-5qq3 - Vendor Advisory
First Time Github actions Toolkit
Github
Github actions\/artifact
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
CWE CWE-22
CPE cpe:2.3:a:github:actions_toolkit:-:*:*:*:*:*:*:*
cpe:2.3:a:github:actions\/artifact:*:*:*:*:*:node.js:*:*

02 Sep 2024, 18:15

Type Values Removed Values Added
New CVE

Information

Published : 2024-09-02 18:15

Updated : 2025-01-23 22:15


NVD link : CVE-2024-42471

Mitre link : CVE-2024-42471


JSON object : View

Products Affected

github

  • actions\/artifact
  • actions_toolkit
CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')