{"id":"CVE-2024-42471","state":"PUBLISHED","title":"Arbitrary File Write via artifact extraction in actions/artifact","description":"actions/artifact is the GitHub ToolKit for developing GitHub Actions.  Versions of `actions/artifact` on the 2.x branch before 2.1.2 are vulnerable to arbitrary file write when using `downloadArtifactInternal`, `downloadArtifactPublic`, or `streamExtractExternal` for extracting a specifically crafted artifact that contains path traversal filenames. Users are advised to upgrade to version 2.1.2 or higher. There are no known workarounds for this issue.","publishedAt":"2024-09-02T16:13:50.712Z","updatedAt":"2025-08-27T21:33:03.045Z","severity":{"score":7.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["actions toolkit"],"affected":[{"vendor":"actions","product":"toolkit","versions":[{"version":">= 2.0.0, < 2.1.2","status":"affected"}]}],"references":["https://github.com/actions/toolkit/security/advisories/GHSA-6q32-hq47-5qq3","https://github.com/actions/toolkit/pull/1666","https://snyk.io/research/zip-slip-vulnerability"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:07:47.831Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/42xxx/CVE-2024-42471.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-42471","state":"PUBLISHED","datePublished":"2024-09-02T16:13:50.712Z","dateUpdated":"2025-08-27T21:33:03.045Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-08-02T14:13:04.615Z"},"containers":{"cna":{"title":"Arbitrary File Write via artifact extraction in actions/artifact","descriptions":[{"lang":"en","value":"actions/artifact is the GitHub ToolKit for developing GitHub Actions.  Versions of `actions/artifact` on the 2.x branch before 2.1.2 are vulnerable to arbitrary file write when using `downloadArtifactInternal`, `downloadArtifactPublic`, or `streamExtractExternal` for extracting a specifically crafted artifact that contains path traversal filenames. Users are advised to upgrade to version 2.1.2 or higher. There are no known workarounds for this issue."}],"affected":[{"vendor":"actions","product":"toolkit","versions":[{"version":">= 2.0.0, < 2.1.2","status":"affected"}]}],"references":[{"url":"https://github.com/actions/toolkit/security/advisories/GHSA-6q32-hq47-5qq3","name":"https://github.com/actions/toolkit/security/advisories/GHSA-6q32-hq47-5qq3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/actions/toolkit/pull/1666","name":"https://github.com/actions/toolkit/pull/1666","tags":["x_refsource_MISC"]},{"url":"https://snyk.io/research/zip-slip-vulnerability","name":"https://snyk.io/research/zip-slip-vulnerability","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2025-01-22T16:32:28.715Z"},"source":{"advisory":"GHSA-6q32-hq47-5qq3","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":7.5,"attackVector":"NETWORK","baseSeverity":"HIGH","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","integrityImpact":"HIGH","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"id":"CVE-2024-42471","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2025-01-23T21:40:08.030878Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-08-27T21:33:03.045Z"}}]}}}