@actions/artifact@0.4.0 vulnerabilities

Actions artifact lib

Direct Vulnerabilities

Known vulnerabilities in the @actions/artifact package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • H
Arbitrary File Write via Archive Extraction (Zip Slip)

@actions/artifact is an Actions artifact lib

Affected versions of this package are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) via the downloadArtifactInternal, downloadArtifactPublic, or streamExtractExternal functions. An attacker can write files to arbitrary locations on the filesystem by supplying a crafted artifact that includes path traversal filenames and tricking a user into extracting it.

How to fix Arbitrary File Write via Archive Extraction (Zip Slip)?

Upgrade @actions/artifact to version 2.1.7 or higher.

<2.1.7