Command injection in Leptonica - CVE-2018-7440

 

Command injection in Leptonica - CVE-2018-7440

Published: March 21, 2018


Vulnerability identifier: #VU11188
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-7440
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote unauthenticated attacker to execute arbitrary code on the target system.

The weakness exists in the gplotMakeOutput function due to insufficient validation of commands used in the gplot rootname argument. A remote attacker can execute arbitrary code.

Successful exploitation of the vulnerability may result in system compromise.

Affected software

Leptonica
Gentoo Linux
Fedora
leptonica
media-libs/leptonica

How to mitigate CVE-2018-7440

Install update from vendor's website.

leptonica - update to 1.76.0-1.fc28
media-libs/leptonica - update to 1.81.0

External References

Related Security Bulletins