Advisory

PYSEC-2024-41

Also known as: CVE-2024-25711, GHSA-33w6-hvmq-gh4x

Summary

The record has no summary.

Details

diffoscope before 256 allows directory traversal via an embedded filename in a GPG file. Contents of any file, such as ../.ssh/id_rsa, may be disclosed to an attacker. This occurs because the value of the gpg --use-embedded-filenames option is trusted.

Severity

Not rated by the source.

Dates

Published
2024-02-27 02:15 UTC
Modified
2026-06-10 17:00 UTC

Affected packages and fixes

diffoscope

PyPI · All systems

Affected

  • introduced 0, fixed 256 (ecosystem)

Fixed versions

256

Fix

  • Fixed version 256
    pip install --upgrade diffoscope==256

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: PyPA Advisory Database · CC BY 4.0

Sources & licences