NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2024-42471: @actions/artifact has an Arbitrary File Write via artifact extraction

highCVSS 4.0 8.6 · 3.1 7.3GHSA-6q32-hq47-5qq3

Impact 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. Patches Upgrade to version 2.1.7 or higher.

Published Sep 3, 2024 · Updated Jan 22, 2025

Affected packages

@actions/artifact

Ecosystem
npm
Affected
>= 2.0.0, < 2.1.2
Fixed in
2.1.2
Check
npm ls @actions/artifact

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

Impact

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.

Patches

Upgrade to version 2.1.7 or higher.

References

  • https://snyk.io/research/zip-slip-vulnerability
  • https://github.com/actions/toolkit/pull/1724

CVE

CVE-2024-42471

Credits

Justin Taft from Google

Credited to JLHwung.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology