{"id":"CVE-2024-21542","aliases":["CVE-2024-21542","GHSA-8qch-vj6m-2694","PYSEC-2024-159"],"related":[],"kind":"vulnerability","state":"published","title":"luigi Arbitrary File Write via Archive Extraction (Zip Slip)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Las versiones del paquete luigi anteriores a 3.6.0 son vulnerables a escritura arbitraria de archivos mediante extracción de archivo (Zip Slip) debido a una validación incorrecta de la ruta del archivo de destino en la función _extract_packages_archive.","source":"nvd"}],"published":"2024-12-10T05:00:01.546Z","modified":"2026-08-03T15:25:49.786Z","severity":{"scorer":"snyk","scheme":"CVSS:4.0","vector":"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","score":7.7,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:4.0","vector":"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","score":7.7,"rating":"HIGH"},{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N/E:P","score":8.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","score":8.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"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","rating":"HIGH"}],"cwes":["CWE-22","CWE-29"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"3.6.0","status":"affected"}],"product":"luigi","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.6.0"}],"ecosystem":"PyPI","package":"luigi","purl":"pkg:pypi/luigi","source":"ghsa"},{"ranges":[{"type":"git","introduced":"0","status":"affected","fixed":"b5d1b965ead7d9f777a3216369b5baf23ec08999"},{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.6.0"}],"ecosystem":"PyPI","package":"luigi","purl":"pkg:pypi/luigi","repo":"https://github.com/spotify/luigi","source":"pysec"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-PYTHON-LUIGI-7830489","tags":["web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/spotify/luigi/issues/3301","tags":["report","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/spotify/luigi/commit/b5d1b965ead7d9f777a3216369b5baf23ec08999","tags":["fix","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/spotify/luigi/releases/tag/v3.6.0","tags":["web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/L3ster1337/Poc-CVE-2024-21542","tags":[],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21542","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/luigi/PYSEC-2024-159.yaml","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/spotify/luigi","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-8qch-vj6m-2694","tags":["advisory"],"sources":["pysec"]}],"credits":["Ali Razmjoo"],"assigner":"snyk","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-12-16T19:10:21.527Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-21542","url":"https://www.cve.org/CVERecord?id=CVE-2024-21542","licence":"CVE Terms of Use","modified":"2026-08-03T15:25:49.786Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-8qch-vj6m-2694","url":"https://github.com/advisories/GHSA-8qch-vj6m-2694","licence":"CC-BY-4.0","modified":"2025-02-11T00:57:17.596Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-21542","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21542","licence":"Public domain","modified":"2026-06-17T07:09:42.537Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2024-159","url":"https://osv.dev/vulnerability/PYSEC-2024-159","licence":"CC-BY-4.0","modified":"2026-06-10T17:00:12.291Z"}],"updatedAt":"2026-11-25T22:58:49.867Z","epss":{"score":0.01135,"percentile":0.67418,"date":"2026-12-01T12:00:22.000Z"}}