Advisory

GHSA-8wwf-2644-f8x4

Also known as: CVE-2021-34363, PYSEC-2021-97

Summary

The Fuck Arbitrary File Deletion via Path Traversal

Details

The thefuck (aka _The Fuck_) is app that corrects errors in previous console commands. _The Fuck_ python package before 3.31 allows Path Traversal that leads to arbitrary file deletion via the undo archive operation feature.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2021-06-15 15:49 UTC
Modified
2024-11-13 23:23 UTC

Affected packages and fixes

thefuck

PyPI · All systems

Affected

  • introduced 0, fixed 3.31 (ecosystem)

Fixed versions

3.31

Fix

  • Fixed version 3.31
    pip install --upgrade thefuck==3.31

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