Skip to main content
EPSS 1.1%top 36%

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

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.

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: 08/03/2026, 19:34:19 UTC

Technical Analysis

CVE-2024-21542 is a directory traversal vulnerability in the luigi package before version 3.6.0. It arises from insufficient validation of file paths during archive extraction in the _extract_packages_archive function, enabling an attacker to perform arbitrary file writes (Zip Slip). This can lead to overwriting critical files or placing malicious files in sensitive locations. The vulnerability is rated high severity with a CVSS 4.0 score of 7.7, indicating network attack vector, low attack complexity, no privileges or user interaction required, and high scope impact. No known exploits are reported in the wild, and no official patch or remediation level has been disclosed.

Potential Impact

Successful exploitation allows an attacker to write files to arbitrary locations on the affected system, potentially leading to code execution, system compromise, or disruption of service depending on the files overwritten. The vulnerability does not require privileges or user interaction, increasing its risk. However, no known active exploitation has been reported.

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 extracting untrusted archives with vulnerable versions of luigi or implement manual path validation to prevent directory traversal during archive 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

Threat ID: 6a638a5d9c2644c7f82fb85b

Added to database: 07/24/2026, 15:53:01 UTC

Last enriched: 08/03/2026, 19:34:19 UTC

Last updated: 09/10/2026, 19:36:47 UTC

Views: 61

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