Open-source package vulnerability · PyPI
CVE-2024-21542: luigi Arbitrary File Write via Archive Extraction (Zip Slip)
highCVSS 4.0 7.7 · 3.1 8.6GHSA-8qch-vj6m-2694
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 extractpackagesarchive function.
Published Dec 10, 2024 · Updated Feb 11, 2025
Affected packages
luigi
- Ecosystem
- PyPI
- Affected
- < 3.6.0
- Fixed in
- 3.6.0
- Check
pip show luigi
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2024-21542
- https://github.com/spotify/luigi/issues/3301
- https://github.com/spotify/luigi/commit/b5d1b965ead7d9f777a3216369b5baf23ec08999
- https://github.com/spotify/luigi/releases/tag/v3.6.0
- https://security.snyk.io/vuln/SNYK-PYTHON-LUIGI-7830489
- https://github.com/pypa/advisory-database/tree/main/vulns/luigi/PYSEC-2024-159.yaml
- https://github.com/advisories/GHSA-8qch-vj6m-2694
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
