CVE-2018-3836 Command injection in Leptonica

High 7.0 Published Updated

A command injection vulnerability in Leptonica allows attackers to execute arbitrary code via a crafted gplot rootname argument.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2018-3836?

CVE-2018-3836 is a high-severity command injection vulnerability in Debian Debian Linux, published on 24 Apr 2018. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An exploitable command injection vulnerability exists in the gplotMakeOutput function of Leptonica 1.74.4. A specially crafted gplot rootname argument can cause a command injection resulting in arbitrary code execution. An attacker can provide a malicious path as input to an application that passes attacker data to this function to trigger this vulnerability.

Weakness: CWE-78

Which versions are affected by CVE-2018-3836?

It affects 2 products.

Products include Debian Debian Linux, Leptonica Leptonica.

How do I fix CVE-2018-3836?

Upgrade to a fixed version.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2018-3836 being exploited?

There is no known exploitation of CVE-2018-3836 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as DEBIAN-CVE-2018-3836, DLA-1284-1, GHSA-jv24-gr2j-qp4r, MGASA-2018-0154, UBUNTU-CVE-2018-3836.

Is CVE-2018-3836 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free