Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2024-21542: Arbitrary File Write via Archive Extraction (Zip Slip) in luigi

0
High
VulnerabilityCVE-2024-21542cvecve-2024-21542
Published: 12/10/2024 (12/10/2024, 05:00:01 UTC)
Source: CVE Database V5
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
High
Subsq. Availability
None
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 software

luigi
pkg:pypi/luigi
Affected versions
<3.6.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/24/2026, 16:07:08 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses