ghsa-6q32-hq47-5qq3
Vulnerability from github
Published
2024-09-03 20:08
Modified
2025-01-22 18:44
Severity ?
7.3 (High) - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
8.6 (High) - 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
8.6 (High) - 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
VLAI Severity ?
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
{
"affected": [
{
"package": {
"ecosystem": "npm",
"name": "@actions/artifact"
},
"ranges": [
{
"events": [
{
"introduced": "2.0.0"
},
{
"fixed": "2.1.2"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2024-42471"
],
"database_specific": {
"cwe_ids": [
"CWE-22"
],
"github_reviewed": true,
"github_reviewed_at": "2024-09-03T20:08:30Z",
"nvd_published_at": "2024-09-02T18:15:35Z",
"severity": "HIGH"
},
"details": "### Impact\n\nVersions 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.\n\n### Patches\n\nUpgrade to version 2.1.7 or higher. \n\n### References\n\n- https://snyk.io/research/zip-slip-vulnerability\n- https://github.com/actions/toolkit/pull/1724\n\n### CVE\n\nCVE-2024-42471\n\n### Credits\n\nJustin Taft from Google",
"id": "GHSA-6q32-hq47-5qq3",
"modified": "2025-01-22T18:44:59Z",
"published": "2024-09-03T20:08:30Z",
"references": [
{
"type": "WEB",
"url": "https://github.com/actions/toolkit/security/advisories/GHSA-6q32-hq47-5qq3"
},
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2024-42471"
},
{
"type": "WEB",
"url": "https://github.com/actions/toolkit/pull/1602"
},
{
"type": "WEB",
"url": "https://github.com/actions/toolkit/pull/1666"
},
{
"type": "WEB",
"url": "https://github.com/actions/toolkit/pull/1724"
},
{
"type": "WEB",
"url": "https://github.com/actions/toolkit/commit/29885a805ef3e95a9862dcaa8431c30981960017"
},
{
"type": "WEB",
"url": "https://github.com/actions/download-artifact/blob/v3/package.json#L31"
},
{
"type": "PACKAGE",
"url": "https://github.com/actions/toolkit"
},
{
"type": "WEB",
"url": "https://snyk.io/research/zip-slip-vulnerability"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N",
"type": "CVSS_V3"
},
{
"score": "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",
"type": "CVSS_V4"
}
],
"summary": "@actions/artifact has an Arbitrary File Write via artifact extraction"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…