GHSA-cxww-7g56-2vh6

Suggest an improvement
Source
https://github.com/advisories/GHSA-cxww-7g56-2vh6
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-cxww-7g56-2vh6/GHSA-cxww-7g56-2vh6.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-cxww-7g56-2vh6
Published
2024-09-03T20:55:34Z
Modified
2024-09-04T18:08:32Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
  • 8.6 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
@actions/download-artifact has an Arbitrary File Write via artifact extraction
Details

Impact

Versions of actions/download-artifact before 4.1.7 are vulnerable to arbitrary file write when downloading and extracting a specifically crafted artifact that contains path traversal filenames.

Patches

Upgrade to version 4.1.7 or higher. Alternatively use 'v4' tag which points to the latest and secure version.

References

  • https://snyk.io/research/zip-slip-vulnerability
  • https://github.com/actions/download-artifact/releases/tag/v4.1.7

CVE

CVE-2024-42471

Credits

Justin Taft from Google

Database specific
{
    "nvd_published_at": null,
    "cwe_ids": [
        "CWE-22"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-09-03T20:55:34Z"
}
References

Affected packages

GitHub Actions / actions/download-artifact

Affected ranges

Type
ECOSYSTEM
Events
Introduced
4.0.0
Fixed
4.1.7