RCE in Leptonica
CVE-2018-7440
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.
Vulnerability class: Command Injection (OS Command Injection)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS 0.037, 90.0th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Leptonica
- Debian Linux — versions 7.0
Weakness classification (CWE)
References
- [debian-lts-announce] 20180307 [SECURITY] [DLA 1302-1] leptonlib security update (mailing-list, Mailing List, Third Party Advisory)
- github.com/DanBloomberg/leptonica/issues/303 (Third Party Advisory)
- GLSA-202312-01 (vendor-advisory)