Arbitrary Code Injection Affecting python2-pyxdg package, versions <0.25-150000.3.3.1


Severity

Recommended
0.0
high
0
10

Based on SUSE Linux Enterprise Server 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-SLES150-PYTHON2PYXDG-3016830
  • published3 Sept 2022
  • disclosed2 Sept 2022

Introduced: 2 Sep 2022

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

How to fix?

Upgrade SLES:15.0 python2-pyxdg to version 0.25-150000.3.3.1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream python2-pyxdg package and not the python2-pyxdg package as distributed by SLES. See How to fix? for SLES:15.0 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.