Bug 1549725 (CVE-2018-7440)

Summary: CVE-2018-7440 leptonica: gplotMakeOutput command injection (CVE-2018-3836 incomplete fix)
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: jkucera, manisandro, rhel8-maint
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-10-21 19:55:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1549726, 1549727, 1549728, 1549729    
Bug Blocks:    

Description Laura Pardo 2018-02-27 17:37:35 UTC
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.


References:
https://github.com/DanBloomberg/leptonica/issues/303#issuecomment-366472212

Comment 1 Laura Pardo 2018-02-27 17:38:02 UTC
Created leptonica tracking bugs for this issue:

Affects: epel-all [bug 1549726]
Affects: fedora-all [bug 1549729]


Created mingw-leptonica tracking bugs for this issue:

Affects: fedora-all [bug 1549727]