CVE-2024-42471

High

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.

SeverityHigh
CVSS7.3
Exploit probability—
ProductGithub Actions Toolkit
PublishedSep 2, 2024
First seenSep 2, 2024

How to fix

Update
  • github actions\/artifact2.1.7 or later
  • @actions/artifact2.1.2 or later

Affected products

ProductAffected versionsFixed in
github actions_toolkitNo range specified—
github actions\/artifact2.0.0 ≤ v < 2.1.72.1.7
@actions/artifactnpm2.0.0 ≤ v < 2.1.22.1.2

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.