CVE-2024-21542
HIGH8.6EPSS 14.2%luigi Arbitrary File Write via Archive Extraction (Zip Slip)
Published: 12/10/2024Modified: 2/11/2025
Description
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.
Affected packages (2)
- PyPI/luigifrom 0, < 3.6.0
- PyPI/luigifrom 0, < b5d1b965ead7d9f777a3216369b5baf23ec08999 | from 0, < 3.6.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 |
| osv | CVSS 3.1 | HIGH8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N |
References (7)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2024-21542
- PATCHhttps://github.com/spotify/luigi
- WEBhttps://github.com/pypa/advisory-database/tree/main/vulns/luigi/PYSEC-2024-159.yaml
- WEBhttps://github.com/spotify/luigi/commit/b5d1b965ead7d9f777a3216369b5baf23ec08999
- WEBhttps://github.com/spotify/luigi/issues/3301
- WEBhttps://github.com/spotify/luigi/releases/tag/v3.6.0
- WEBhttps://security.snyk.io/vuln/SNYK-PYTHON-LUIGI-7830489