Bug 1079358 - (CVE-2018-3836) VUL-0: CVE-2018-3836: leptonica: gplotMakeOutput command injection
VUL-0: CVE-2018-3836: leptonica: gplotMakeOutput command injection
Classification: openSUSE
Product: openSUSE Distribution
Classification: openSUSE
Component: Security
Leap 42.3
Other Other
: P3 - Medium : Normal (vote)
: ---
Assigned To: Security Team bot
Security Team bot
Depends on:
  Show dependency treegraph
Reported: 2018-02-05 13:36 UTC by Karol Babioch
Modified: 2018-03-06 23:44 UTC (History)
1 user (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Karol Babioch 2018-02-05 13:36:00 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:


Comment 1 Karol Babioch 2018-02-07 09:52:02 UTC
Fixed upstream in 1.75.1.

Fixed for openSUSE:Factory already, SR for openSUSE:Leap:42.3: 573621
Comment 2 Karol Babioch 2018-02-07 09:52:13 UTC
Comment 3 Karol Babioch 2018-02-07 10:36:20 UTC
Comment 4 Swamp Workflow Management 2018-02-12 20:08:37 UTC
openSUSE-SU-2018:0429-1: An update that fixes one vulnerability is now available.

Category: security (important)
Bug References: 1079358
CVE References: CVE-2018-3836
Sources used:
openSUSE Leap 42.3 (src):    leptonica-1.72-6.1
Comment 5 Karol Babioch 2018-02-13 07:42:32 UTC
Comment 6 Karol Babioch 2018-02-19 14:06:25 UTC
Issue still not fixed, as $(command) still works :-/

See: https://github.com/DanBloomberg/leptonica/issues/303#issuecomment-366472212
Comment 7 Swamp Workflow Management 2018-02-23 17:40:07 UTC
This is an autogenerated message for OBS integration:
This bug (1079358) was mentioned in
https://build.opensuse.org/request/show/579554 42.3 / leptonica
Comment 8 Andreas Stieger 2018-03-06 19:23:13 UTC
release for Leap
Comment 9 Swamp Workflow Management 2018-03-06 23:09:44 UTC
openSUSE-SU-2018:0615-1: An update that fixes three vulnerabilities is now available.

Category: security (moderate)
Bug References: 1079358,1081576,1081631
CVE References: CVE-2018-3836,CVE-2018-7186,CVE-2018-7247
Sources used:
openSUSE Leap 42.3 (src):    leptonica-1.72-9.1