External Control of File Name or Path in Luigi - CVE-2024-21542

 

External Control of File Name or Path in Luigi - CVE-2024-21542

Published: March 21, 2025


Vulnerability identifier: #VU105947
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2024-21542
CWE-ID: CWE-73
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Spotify
Affected software:
Luigi

Detailed vulnerability description

The vulnerability allows a remote attacker to overwrite arbitrary files on the system.

The vulnerability exists due to improper validation of file names when unpacking them from an archive in the _extract_packages_archive() function. A remote attacker can pass a specially crafted archive to the application and overwrite arbitrary files on the system (a.k.a. Zip Slip vulnerability).


How to mitigate CVE-2024-21542

Install updates from vendor's website.

Sources