GHSA-6q32-hq47-5qq3

Suggest an improvement
Source
https://github.com/advisories/GHSA-6q32-hq47-5qq3
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/09/GHSA-6q32-hq47-5qq3/GHSA-6q32-hq47-5qq3.json
JSON Data
https://api.test.osv.dev/v1/vulns/GHSA-6q32-hq47-5qq3
Aliases
  • CVE-2024-42471
Published
2024-09-03T20:08:30Z
Modified
2025-01-22T18:44:59Z
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/artifact has an Arbitrary File Write via artifact extraction
Details

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

Database specific
{
    "nvd_published_at": "2024-09-02T18:15:35Z",
    "cwe_ids": [
        "CWE-22"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-09-03T20:08:30Z"
}
References

Affected packages

npm / @actions/artifact

Package

Name
@actions/artifact
View open source insights on deps.dev
Purl
pkg:npm/%40actions/artifact

Affected ranges

Type
SEMVER
Events
Introduced
2.0.0
Fixed
2.1.2