XML injection in pyxdg - CVE-2019-12761
Published: March 3, 2021
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to improper input validation when processing XML data in xdg/Menu.py before an eval call. A remote unauthenticated attacker can pass specially crafted XML data to the application and perform arbitrary actions on the system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Affected software
Platform Automation Toolkit
SUSE CaaS Platform
SUSE Enterprise Storage
Fedora
Ubuntu
SUSE Linux Enterprise High Performance Computing
SUSE Linux Enterprise Server
SUSE Linux Enterprise Server for SAP
python-xdg (Ubuntu package)
python3-xdg (Ubuntu package)
pyxdg
python2-pyxdg
python3-pyxdg
How to mitigate CVE-2019-12761
python-xdg (Ubuntu package) - addressed in versions 0.25-4ubuntu0.16.04.1, 0.25-4ubuntu1.1
python3-xdg (Ubuntu package) - addressed in versions 0.25-4ubuntu0.16.04.1, 0.25-4ubuntu1.1
pyxdg - update to 0.25-8.el7
python2-pyxdg - update to 0.25-150000.3.3.1
python3-pyxdg - update to 0.25-150000.3.3.1
Platform Automation Toolkit - addressed in versions 4.0.13, 4.1.13, 4.2.8, 4.3.5