Bug 1542005 (CVE-2018-3836)

Summary: CVE-2018-3836 leptonica: gplotMakeOutput command injection
Product: [Other] Security Response Reporter: Andrej Nemec <anemec>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: carnil, 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:53:57 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: 1542007, 1542006, 1542008, 1542009    
Bug Blocks:    

Description Andrej Nemec 2018-02-05 11:52:03 UTC
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.

External References:

https://www.talosintelligence.com/vulnerability_reports/TALOS-2018-0516

Comment 1 Andrej Nemec 2018-02-05 11:52:25 UTC
Created leptonica tracking bugs for this issue:

Affects: epel-all [bug 1542007]
Affects: fedora-all [bug 1542008]


Created mingw-leptonica tracking bugs for this issue:

Affects: fedora-all [bug 1542009]