CVE-2024-21542
MEDIUM 6.6CVSS 4.0luigi Arbitrary File Write via Archive Extraction (Zip Slip)
Versions of the package luigi before 3.6.0 are vulnerable to Arbitrary File Write via Archive Extraction (Zip Slip) due to improper destination file path validation in the _extract_packages_archive function.
- Published
- 10 Dec 2024
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Deferred
- Weakness
- CWE-22CWE-29
- Also known as
- GHSA-8qch-vj6m-2694PYSEC-2024-159
- Sources
- NVDJSONOSV GHSA-8qch-vj6m-2694JSONOSV PYSEC-2024-159JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 4.0 | MEDIUM 6.6 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:H/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X | |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | luigi | < 3.6.0 | 3.6.0 |
References
- https://github.com/L3ster1337/Poc-CVE-2024-21542
- https://github.com/spotify/luigi/commit/b5d1b965ead7d9f777a3216369b5baf23ec08999 · WEB, FIX
- https://github.com/spotify/luigi/issues/3301 · WEB, REPORT
- https://github.com/spotify/luigi/releases/tag/v3.6.0 · WEB
- https://security.snyk.io/vuln/SNYK-PYTHON-LUIGI-7830489 · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-21542 · ADVISORY
- https://github.com/pypa/advisory-database/tree/main/vulns/luigi/PYSEC-2024-159.yaml · WEB
- https://github.com/spotify/luigi · PACKAGE
- https://github.com/advisories/GHSA-8qch-vj6m-2694 · ADVISORY
History
- 25 Nov 2026 20:56 UTC · NVD: first stored (published 10 Dec 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 10 Dec 2024)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 10 Dec 2024)