Advisory

GHSA-8qch-vj6m-2694

Also known as: CVE-2024-21542, PYSEC-2024-159

Summary

luigi Arbitrary File Write via Archive Extraction (Zip Slip)

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2024-12-10 06:31 UTC
Modified
2025-02-11 00:57 UTC

Affected packages and fixes

luigi

PyPI · All systems

Affected

  • introduced 0, fixed 3.6.0 (ecosystem)

Fixed versions

3.6.0

Fix

  • Fixed version 3.6.0
    pip install --upgrade luigi==3.6.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences