~ / search / GHSA-r6v3-hpxj-r8rv

GHSA-r6v3-hpxj-r8rv

Code Injection in PyXDG

Source: GitHub Advisory Database (reviewed) High CVE-2019-12761

Packages

EcosystemPackageAffectedFixed in
PyPI pyxdg < 0.26 0.26

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.