CVE-2018-3836OS Command Injection in Leptonica

CWE-78OS Command Injection20 documents6 sources
Severity
9.8CRITICALNVD
NVD7.8OSV7.8OSV7.0OSV3.3
EPSS
0.1%
top 67.17%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedApr 24
Latest updateMay 13

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.

CVSS vector

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitability: 1.8 | Impact: 5.9

Affected Packages2 packages

NVDleptonica/leptonica1.75.3+1
debiandebian/leptonlib< leptonlib 1.75.3-1 (bookworm)+1

Also affects: Debian Linux 7.0

🔴Vulnerability Details

6
GHSA
GHSA-x83x-c4xw-rr5g: An issue was discovered in Leptonica through 12022-05-13
GHSA
GHSA-jv24-gr2j-qp4r: An exploitable command injection vulnerability exists in the gplotMakeOutput function of Leptonica 12022-05-13
OSV
leptonlib vulnerabilities2021-03-15
OSV
linux-hwe, linux-gcp vulnerabilities2018-12-04
OSV
CVE-2018-3836: An exploitable command injection vulnerability exists in the gplotMakeOutput function of Leptonica 12018-04-24

📋Vendor Advisories

3
Ubuntu
Leptonica vulnerabilities2021-03-15
Debian
CVE-2018-3836: leptonlib - An exploitable command injection vulnerability exists in the gplotMakeOutput fun...2018
Debian
CVE-2018-7440: leptonlib - An issue was discovered in Leptonica through 1.75.3. The gplotMakeOutput functio...2018

💬Community

9
Bugzilla
CVE-2018-16876 ansible: Information disclosure in vvv+ mode with no_log on2018-12-07
Bugzilla
CVE-2018-7440 leptonica: gplotMakeOutput command injection (CVE-2018-3836 incomplete fix)2018-02-27
Bugzilla
CVE-2018-7440 leptonica: gplotMakeOutput command injection (CVE-2018-3836 incomplete fix) [epel-all]2018-02-27
Bugzilla
CVE-2018-7440 mingw-leptonica: leptonica: gplotMakeOutput command injection (CVE-2018-3836 incomplete fix) [fedora-all]2018-02-27
Bugzilla
CVE-2018-7440 leptonica: gplotMakeOutput command injection (CVE-2018-3836 incomplete fix) [fedora-all]2018-02-27