CVE-2018-7440 Command injection in n/a
Attackers can execute arbitrary commands via the gplot rootname argument in the Leptonica image processing library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-7440?
CVE-2018-7440 is a critical command injection vulnerability in Debian Debian Linux, published on 23 Feb 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue was discovered in Leptonica through 1.75.3. The gplotMakeOutput function allows command injection via a $(command) approach in the gplot rootname argument. This issue exists because of an incomplete fix for CVE-2018-3836.
Weakness: CWE-78
Which versions are affected by CVE-2018-7440?
It affects 2 products.
Products include Debian Debian Linux, Leptonica Leptonica.
How do I fix CVE-2018-7440?
Apply the vendor's patch.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2018-7440 being exploited?
There is no known exploitation of CVE-2018-7440 in the wild and no public exploit code.
Other vulnerabilities in Debian Debian Linux
Sources
Also known as DEBIAN-CVE-2018-7440, GHSA-x83x-c4xw-rr5g, UBUNTU-CVE-2018-7440.