CVE-2019-7653 Code injection in n/a
Attackers can execute arbitrary code via malicious Python modules in the current working directory when using specific Debian CLI tools.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2019-7653?
CVE-2019-7653 is a critical code injection vulnerability in Canonical Ubuntu Linux, published on 9 Feb 2019. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
The Debian python-rdflib-tools 4.2.2-1 package for RDFLib 4.2.2 has CLI tools that can load Python modules from the current working directory, allowing code injection, because "python -m" looks in this directory, as demonstrated by rdf2dot. This issue is specific to use of the debian/scripts directory.
Weakness: CWE-427
Which versions are affected by CVE-2019-7653?
It affects 3 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Rdflib Project Rdflib.
How do I fix CVE-2019-7653?
Apply the vendor's patch.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2019-7653 being exploited?
There is no known exploitation of CVE-2019-7653 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as DEBIAN-CVE-2019-7653, DLA-1717-1, DLA-2861-1, GHSA-34gp-mhv2-cg2f, UBUNTU-CVE-2019-7653, USN-4535-1.