Advisory

PYSEC-2019-199

Also known as: CVE-2019-12761, GHSA-r6v3-hpxj-r8rv, SNYK-PYTHON-PYXDG-174562

Summary

The record has no summary.

Details

A code injection issue was discovered in PyXDG before 0.26 via crafted Python code in a Category element of a Menu XML document in a .menu file. XDG_CONFIG_DIRS must be set up to trigger xdg.Menu.parse parsing within the directory containing this file. This is due to a lack of sanitization in xdg/Menu.py before an eval call.

Severity

Not rated by the source.

Dates

Published
2019-06-06 19:29 UTC
Modified
2023-11-08 04:01 UTC

Affected packages and fixes

pyxdg

PyPI · All systems

Affected

  • introduced 0, fixed 0.26 (ecosystem)

Fixed versions

0.26

Fix

  • Fixed version 0.26
    pip install --upgrade pyxdg==0.26

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