Raw 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:XCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2024-21542 is a medium-severity Path Traversal: '\..\filename' (CWE-29) vulnerability in Snyk (inferred from references). Its CVSS base score is 6.6 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 33% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and SI-10 (Information Input Validation) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
Versions of the Luigi package prior to 3.6.0 contain a Zip Slip vulnerability that permits arbitrary file writes during archive extraction. The flaw stems from missing destination path validation inside the _extract_packages_archive function, which is tracked under CWE-29 and CWE-22 and carries a CVSS 4.0 score of 6.6.
An unauthenticated network attacker can supply a malicious archive that, when processed by the affected function, writes attacker-controlled files to arbitrary locations on the host filesystem. Successful exploitation can alter system files or configuration data, producing a high integrity impact while leaving confidentiality and availability largely unaffected.
The maintainers addressed the issue in release 3.6.0, with the corrective change committed to the repository; users are advised to upgrade to that version. A publicly available proof-of-concept exists, and the current EPSS of 0.1421 has remained flat since disclosure.
OWASP Top 10 for Web (2025)
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-0098
Vulnerability Data
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V5.3.2
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Enforces the intended directory access authorizations that path traversal would otherwise bypass.
Input validation directly neutralizes the '\..\filename' sequence before pathname resolution occurs.
Least privilege reduces the impact of any unauthorized file access obtained via traversal.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Secure SDLC practices directly require input validation and path sanitization that block this traversal vector.
Patching/maintenance can remediate known path-traversal flaws in deployed software (partial prevention of exploitability) but does nothing to stop the coding defect from being introduced in the first place.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing can discover path-traversal flaws but does not itself prevent them in production code.
Training developers in secure coding practices (input validation, path handling) reduces instances of path traversal defects, but the specific '\..\' bypass technique is subtle enough that even trained developers miss it, and training is fallible — consistent with the A.6.3 -> CWE-598 partial anchor and the A.8.28 -> CWE-79 partial anchor for implementation defects.
Secure coding standards directly require neutralizing path traversal sequences such as '\..\filename'.
Contractual secure-coding and testing requirements can prevent some path-traversal flaws in outsourced software from being introduced, but the effect depends on fallible supplier practices and leaves a substantial remainder.
A.8.8's reach is disclosure-based: it identifies vulnerabilities through vendor advisories, scanning tools, and third-party library tracking. CWE-29 instances that surface as published CVEs in third-party components are found, but the bulk of path traversal flaws live in first-party code that A.8.8 does not read, mirroring the A.8.8 -> CWE-89 anchor.