Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: GSA_kwCzR0hTQS02cTMyLWhxNDctNXFxM84AA_QF

@actions/artifact has an Arbitrary File Write via artifact extraction

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

CVE

CVE-2024-42471

Credits

Justin Taft from Google

Permalink: https://github.com/advisories/GHSA-6q32-hq47-5qq3
JSON: https://advisories.ecosyste.ms/api/v1/advisories/GSA_kwCzR0hTQS02cTMyLWhxNDctNXFxM84AA_QF
Source: GitHub Advisory Database
Origin: Unspecified
Severity: High
Classification: General
Published: 3 months ago
Updated: 3 months ago


CVSS Score: 7.3
CVSS vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

Identifiers: GHSA-6q32-hq47-5qq3, CVE-2024-42471
References: Repository: https://github.com/actions/toolkit
Blast Radius: 19.5

Affected Packages

npm:@actions/artifact
Dependent packages: 32
Dependent repositories: 475
Downloads: 478,850 last month
Affected Version Ranges: >= 2.0.0, < 2.1.7
Fixed in: 2.1.7
All affected versions: 2.0.0, 2.0.1, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5, 2.1.6
All unaffected versions: 0.1.0, 0.2.0, 0.3.0, 0.3.1, 0.3.2, 0.3.3, 0.3.4, 0.3.5, 0.4.0, 0.4.1, 0.4.2, 0.5.0, 0.5.1, 0.5.2, 0.6.0, 0.6.1, 1.0.0, 1.0.1, 1.0.2, 1.1.0, 1.1.1, 1.1.2, 2.1.7, 2.1.8, 2.1.9, 2.1.10, 2.1.11