Bug 1549734 (CVE-2018-7442) - CVE-2018-7442 leptonica: directory traversal in gplot rootname argument
Summary: CVE-2018-7442 leptonica: directory traversal in gplot rootname argument
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2018-7442
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1549738 1549735 1549736 1549737
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-27 17:55 UTC by Laura Pardo
Modified: 2021-10-21 19:55 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-21 19:55:36 UTC
Embargoed:


Attachments (Terms of Use)

Description Laura Pardo 2018-02-27 17:55:07 UTC
An issue was discovered in Leptonica through 1.75.3. The gplotMakeOutput function does not block '/' characters in the gplot rootname argument, potentially leading to path traversal and arbitrary file overwrite. 


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

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

Affects: epel-all [bug 1549738]
Affects: fedora-all [bug 1549735]


Created mingw-leptonica tracking bugs for this issue:

Affects: fedora-all [bug 1549737]


Note You need to log in before you can comment on or make changes to this bug.