Arbitrary Code Injection Affecting pyxdg package, versions *


Severity

Recommended
0.0
medium
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
2.11% (81st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CENTOS6-PYXDG-2002762
  • published26 Jul 2021
  • disclosed1 Jun 2019

Introduced: 1 Jun 2019

CVE-2019-12761  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

There is no fixed version for Centos:6 pyxdg.

NVD Description

Note: Versions mentioned in the description apply only to the upstream pyxdg package and not the pyxdg package as distributed by Centos. See How to fix? for Centos:6 relevant fixed versions and status.

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.