{"id":"CVE-2024-21542","aliases":["EUVD-2024-0098","GHSA-8qch-vj6m-2694","PYSEC-2024-159"],"status":"published","title":"luigi Arbitrary File Write via Archive Extraction (Zip Slip)","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.","severity":{"version":"4.0","score":7.7,"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.01135,"percentile":0.66956,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":true,"fix_available":true},"cwes":["CWE-22","CWE-29"],"published":"2024-12-10T05:00:01Z","modified":"2026-10-28T02:30:37Z","exploits":[{"source":"pocgithub","id":"L3ster1337/Poc-CVE-2024-21542","title":"L3ster1337/Poc-CVE-2024-21542","date":"2024-12-15","url":"https://github.com/L3ster1337/Poc-CVE-2024-21542"}],"fixes":[{"ecosystem":"PyPI","package":"luigi","fixed_in":["3.6.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"luigi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.0"}]}]},{"source":"osv","ecosystem":"PyPI","package":"luigi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.0"}]}],"versions":["1.0","1.0.1","1.0.10","1.0.11","1.0.12","1.0.13","1.0.14","1.0.15","1.0.16","1.0.17","1.0.18","1.0.19","1.0.2","1.0.20","1.0.21","1.0.22","1.0.23","1.0.24","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.1.0","1.1.1","1.1.2","1.2.1","1.3.0","2.0.0","2.0.1","2.1.0","2.1.1","2.2.0","2.3.0","2.3.1","2.3.2","2.3.3","2.4.0","2.5.0","2.6.0","2.6.1","2.6.2","2.7.0","2.7.1","2.7.2","2.7.3","2.7.4","2.7.5","2.7.6","2.7.7","2.7.8","2.7.9","2.8.0","2.8.1","2.8.10","2.8.11","2.8.12","2.8.13","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.8.7","2.8.8","2.8.9","3.0.0","3.0.0b1","3.0.0b2","3.0.1","3.0.2","3.0.3","3.1.0","3.1.1","3.2.0","3.2.1","3.3.0","3.4.0","3.5.0","3.5.1","3.5.2"]},{"source":"osv","ecosystem":"PyPI","package":"luigi","ranges":[{"type":"GIT","events":[{"introduced":"0"},{"fixed":"b5d1b965ead7d9f777a3216369b5baf23ec08999"}]},{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.0"}]}],"versions":["1.0","1.0.1","1.0.10","1.0.11","1.0.12","1.0.13","1.0.14","1.0.15","1.0.16","1.0.17","1.0.18","1.0.19","1.0.2","1.0.20","1.0.21","1.0.22","1.0.23","1.0.24","1.0.3","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8","1.0.9","1.1.0","1.1.1","1.1.2","1.2.1","1.3.0","2.0.0","2.0.1","2.1.0","2.1.1","2.2.0","2.3.0","2.3.1","2.3.2","2.3.3","2.4.0","2.5.0","2.6.0","2.6.1","2.6.2","2.7.0","2.7.1","2.7.2","2.7.3","2.7.4","2.7.5","2.7.6","2.7.7","2.7.8","2.7.9","2.8.0","2.8.1","2.8.10","2.8.11","2.8.12","2.8.13","2.8.2","2.8.3","2.8.4","2.8.5","2.8.6","2.8.7","2.8.8","2.8.9","3.0.0","3.0.0b1","3.0.0b2","3.0.1","3.0.2","3.0.3","3.1.0","3.1.1","3.2.0","3.2.1","3.3.0","3.4.0","3.5.0","3.5.1","3.5.2","v3.5.2","v1.2.1","v1.2.0","v1.0.22","v1.0.21","v1.0.19","v1.0.17"]}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-PYTHON-LUIGI-7830489","tags":["web"]},{"url":"https://github.com/spotify/luigi/issues/3301","tags":["report","web"]},{"url":"https://github.com/spotify/luigi/commit/b5d1b965ead7d9f777a3216369b5baf23ec08999","tags":["fix","web"]},{"url":"https://github.com/spotify/luigi/releases/tag/v3.6.0","tags":["web"]},{"url":"https://github.com/L3ster1337/Poc-CVE-2024-21542","tags":["package"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-21542","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/luigi/PYSEC-2024-159.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-8qch-vj6m-2694","tags":["advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21542.json","tags":["advisory"]},{"url":"https://github.com/spotify/luigi","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-21542","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.","status":"published","published":"2024-12-10T05:00:01.546Z","modified":"2026-08-03T15:25:49.786Z","cvss":[{"version":"4.0","score":7.7,"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","level":"high","assessor":"cna"},{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N/E:P","level":"high","assessor":"cna"}],"cwes":["CWE-29","CWE-22"],"updated_at":"2026-11-02T14:34:04.681315Z"}],"euvd":[{"id":"EUVD-2024-0098","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.","status":"published","published":"2024-12-10T05:00:01Z","modified":"2026-08-03T15:25:49Z","cvss":[{"version":"4.0","score":7.7,"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","level":"high"}],"updated_at":"2026-11-02T18:02:24.366648Z"}],"ghsa":[{"id":"GHSA-8qch-vj6m-2694","title":"luigi Arbitrary File Write via Archive Extraction (Zip Slip)","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.","status":"published","published":"2024-12-10T06:31:40Z","modified":"2025-02-11T00:36:39Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","level":"high"},{"version":"4.0","score":7.7,"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","level":"high"}],"cwes":["CWE-22","CWE-29"],"updated_at":"2026-11-02T14:38:30.754382Z"}],"nvd":[{"id":"CVE-2024-21542","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.","status":"published","published":"2024-12-10T05:15:07.567Z","modified":"2026-06-17T07:09:42.537Z","cvss":[{"version":"4.0","score":6.6,"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/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","level":"medium","assessor":"secondary"},{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","level":"high","assessor":"secondary"}],"cwes":["CWE-29","CWE-22"],"updated_at":"2026-11-02T14:10:39.434419Z"}],"osv":[{"id":"CVE-2024-21542","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.","status":"published","published":"2024-12-10T05:00:01.546Z","modified":"2026-10-28T02:30:37.678277457Z","cvss":[{"version":"4.0","score":6.6,"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","level":"medium"}],"cwes":["CWE-29"],"updated_at":"2026-11-02T15:44:38.577405Z"},{"id":"GHSA-8qch-vj6m-2694","title":"luigi Arbitrary File Write via Archive Extraction (Zip Slip)","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.","status":"published","published":"2024-12-10T06:31:40Z","modified":"2025-02-11T00:57:17.596021Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","level":"high"},{"version":"4.0","score":7.7,"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","level":"high"}],"cwes":["CWE-22","CWE-29"],"updated_at":"2026-11-02T15:46:42.78452Z"},{"id":"PYSEC-2024-159","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.","status":"published","published":"2024-12-10T05:15:07Z","modified":"2026-06-10T17:00:12.291616722Z","updated_at":"2026-11-02T15:52:53.837392Z"}]}}
