Skip to main content
← All vulnerabilities
CVE-2024-42471GHSA-6Q32-HQ47-5QQ3

Arbitrary File Write via artifact extraction in actions/artifact

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.1.2
1 on Exploit-DB, 1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Public exploit on Exploit-DB

    EDB-52276

  4. Record last updated

Affected versions

  • actions toolkit

    From 2.0.0 · fixed in 2.1.2

  • @actions/artifactnpm

    From 2.0.0 · fixed in 2.1.2

References 5

GitHub · actions/toolkit

snyk.io

Exploit-DB

GitHub · theMcSam/CVE-2024-42471-PoC