Bug 1547124 (CVE-2018-7247)

Summary: CVE-2018-7247 leptonica: Unsanitized input in pixHtmlViewer in prog/htmlviewer.c
Product: [Other] Security Response Reporter: Laura Pardo <lpardo>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: low Docs Contact:
Priority: low    
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:10 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: 1547125, 1547126, 1547132, 1547133    
Bug Blocks:    

Description Laura Pardo 2018-02-20 15:01:02 UTC
A flaw was found in pixHtmlViewer in prog/htmlviewer.c in Leptonica before 1.75.3. An Unsanitized input (rootname) can overflow a buffer, thus potentially leading to arbitrary code execution or possibly other unspecified impact.


References:
https://github.com/DanBloomberg/leptonica/pull/309

Patch:
https://github.com/DanBloomberg/leptonica/commit/c1079bb8e77cdd426759e466729917ca37a3ed9f

Comment 1 Laura Pardo 2018-02-20 15:01:28 UTC
Created leptonica tracking bugs for this issue:

Affects: epel-all [bug 1547125]
Affects: fedora-all [bug 1547126]

Comment 2 Laura Pardo 2018-02-20 15:12:08 UTC
Created mingw-leptonica tracking bugs for this issue:

Affects: fedora-all [bug 1547133]