Bug 1549742 (CVE-2018-7441)

Summary: CVE-2018-7441 leptonica: hardcoded /tmp paths
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:51 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: 1549744, 1549743, 1549745, 1549746    
Bug Blocks:    

Description Laura Pardo 2018-02-27 18:17:27 UTC
Leptonica through 1.75.3 uses hardcoded /tmp pathnames, which might allow local users to overwrite arbitrary files or have unspecified other impact by creating files in advance or winning a race condition, as demonstrated by /tmp/junk_split_image.ps in prog/splitimage2pdf.c.


References:
https://lists.debian.org/debian-lts/2018/02/msg00054.html

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

Affects: epel-all [bug 1549744]
Affects: fedora-all [bug 1549743]


Created mingw-leptonica tracking bugs for this issue:

Affects: fedora-all [bug 1549745]