Rapid7 Vulnerability & Exploit Database

Ubuntu: USN-4700-1 (CVE-2019-12761): PyXDG vulnerability

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Ubuntu: USN-4700-1 (CVE-2019-12761): PyXDG vulnerability

Severity
5
CVSS
(AV:N/AC:H/Au:N/C:P/I:P/A:P)
Published
06/06/2019
Created
01/22/2021
Added
01/20/2021
Modified
03/22/2023

Description

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.

Solution(s)

  • ubuntu-upgrade-python-xdg
  • ubuntu-upgrade-python3-xdg

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;