CVE-2024-21542: Arbitrary File Write via Archive Extraction (Zip Slip) in luigi
A vulnerability identified as CVE-2024-21542 affects versions of the luigi package prior to 3.6.0. It involves an arbitrary file write issue during archive extraction (Zip Slip) caused by improper validation of destination file paths in the _extract_packages_archive function. This vulnerability has a high severity rating with a CVSS score of 7.7. No official patch or remediation guidance has been provided yet.
AI Analysis
Technical Summary
CVE-2024-21542 is a directory traversal vulnerability in the luigi package before version 3.6.0. The issue arises from insufficient validation of file paths when extracting archive files in the _extract_packages_archive function, allowing an attacker to write files arbitrarily on the filesystem (Zip Slip). This can lead to unauthorized file modification or creation. The vulnerability has a CVSS 4.0 score of 7.7, indicating high severity. There is no vendor advisory or patch currently available, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation of this vulnerability allows an attacker to write arbitrary files to the filesystem during archive extraction, potentially leading to unauthorized code execution, data corruption, or system compromise depending on the context in which luigi is used.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should avoid processing untrusted archive files with vulnerable versions of luigi or implement manual validation of archive contents before extraction.
CVE-2024-21542: Arbitrary File Write via Archive Extraction (Zip Slip) in luigi
Description
A vulnerability identified as CVE-2024-21542 affects versions of the luigi package prior to 3.6.0. It involves an arbitrary file write issue during archive extraction (Zip Slip) caused by improper validation of destination file paths in the _extract_packages_archive function. This vulnerability has a high severity rating with a CVSS score of 7.7. No official patch or remediation guidance has been provided yet.
CVSS v4.0
Score 7.7high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2024-21542 is a directory traversal vulnerability in the luigi package before version 3.6.0. The issue arises from insufficient validation of file paths when extracting archive files in the _extract_packages_archive function, allowing an attacker to write files arbitrarily on the filesystem (Zip Slip). This can lead to unauthorized file modification or creation. The vulnerability has a CVSS 4.0 score of 7.7, indicating high severity. There is no vendor advisory or patch currently available, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation of this vulnerability allows an attacker to write arbitrary files to the filesystem during archive extraction, potentially leading to unauthorized code execution, data corruption, or system compromise depending on the context in which luigi is used.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should avoid processing untrusted archive files with vulnerable versions of luigi or implement manual validation of archive contents before extraction.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- snyk
- Date Reserved
- 2023-12-22T12:33:20.124Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a638a5d9c2644c7f82fb85b
Added to database: 07/24/2026, 15:53:01 UTC
Last enriched: 07/24/2026, 16:07:08 UTC
Last updated: 07/24/2026, 18:24:09 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.