Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. luigi
  4. ›
  5. CVE-2024-21542

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

December 10, 2024 (updated February 11, 2025)

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.

References

  • github.com/advisories/GHSA-8qch-vj6m-2694
  • github.com/pypa/advisory-database/tree/main/vulns/luigi/PYSEC-2024-159.yaml
  • github.com/spotify/luigi
  • github.com/spotify/luigi/commit/b5d1b965ead7d9f777a3216369b5baf23ec08999
  • github.com/spotify/luigi/issues/3301
  • github.com/spotify/luigi/releases/tag/v3.6.0
  • nvd.nist.gov/vuln/detail/CVE-2024-21542
  • security.snyk.io/vuln/SNYK-PYTHON-LUIGI-7830489

Code Behaviors & Features

Detect and mitigate CVE-2024-21542 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.6.0

Fixed versions

  • 3.6.0

Solution

Upgrade to version 3.6.0 or above.

Impact 8.6 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-29: Path Traversal: '..filename'

Source file

pypi/luigi/CVE-2024-21542.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:08 +0000.