Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-21542
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 17:06 UTC · Revision 1
Source evidence
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.
osv:CVE-2024-21542
Complete source record
{
"id": "50fcfa9d9268bd9de62649a08ebd4d00b97c1ce1305ee576a13e87926f5cfac6",
"url": "https://osv.dev/vulnerability/CVE-2024-21542",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2024-21542",
"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.",
"evidence": "osv:CVE-2024-21542",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-21542",
"aliases": [
"CVE-2024-21542",
"GHSA-8qch-vj6m-2694",
"PYSEC-2024-159"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/spotify/luigi",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "3d76fa24a0a86f1612720b0502c524698e52d40d"
},
{
"fixed": "b5d1b965ead7d9f777a3216369b5baf23ec08999"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"fixed": "3.6.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"range": [
{
"fixed": "b5d1b965ead7d9f777a3216369b5baf23ec08999"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "3d76fa24a0a86f1612720b0502c524698e52d40d"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v3.6.0"
}
]
}
}
],
"versions": [
"v3.5.2",
"3.5.1",
"3.5.0",
"3.4.0",
"3.3.0",
"3.2.1",
"3.2.0",
"3.1.1",
"3.1.0",
"3.0.3",
"3.0.2",
"3.0.1",
"3.0.0",
"2.8.13",
"2.8.12",
"2.8.11",
"2.8.10",
"2.8.9",
"2.8.8",
"2.8.7",
"2.8.6",
"2.8.5",
"2.8.4",
"2.8.3",
"2.8.2",
"2.8.1",
"2.8.0",
"2.7.9",
"2.7.8",
"2.7.7",
"2.7.6",
"2.7.5",
"2.7.4",
"2.7.3",
"2.7.2",
"2.7.1",
"2.7.0",
"2.6.2",
"2.6.1",
"2.6.0",
"2.5.0",
"2.4.0",
"2.3.3",
"2.3.2",
"2.3.1",
"2.3.0",
"2.2.0",
"2.1.1",
"2.1.0",
"2.0.1",
"2.0.0",
"1.3.0",
"v1.2.1",
"1.2.1",
"v1.2.0",
"1.1.2",
"1.1.1",
"1.1.0",
"1.0.24",
"1.0.22",
"1.0.23",
"v1.0.22",
"v1.0.21",
"v1.0.19",
"v1.0.17",
"1.0.16"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-21542.json"
}
}
],
"modified": "2026-10-28T02:30:37.678277457Z",
"provider": "osv",
"references": [
"https://github.com/spotify/luigi/releases/tag/v3.6.0",
"https://security.snyk.io/vuln/SNYK-PYTHON-LUIGI-7830489",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21542.json",
"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/L3ster1337/Poc-CVE-2024-21542"
],
"provider_metadata": {
"cwe_ids": [
"CWE-29"
],
"cna_assigner": "snyk",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/21xxx/CVE-2024-21542.json"
}
},
"related_cves": [
{
"value": "CVE-2024-21542",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 505156,
"published_at": "2024-12-10T05:00:01.546+00:00"
}