PT-2018-18074 · Dan Bloomberg+1 · Leptonica+1
Published
2018-02-23
·
Updated
2024-12-19
·
CVE-2018-7441
CVSS v3.1
7.0
High
| Vector | AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Leptonica versions prior to 1.75.4
Description
The issue allows local users to potentially overwrite arbitrary files or have unspecified other impact by creating files in advance or winning a race condition, due to the use of hardcoded /tmp pathnames. This is demonstrated by the example of /tmp/junk split image.ps in prog/splitimage2pdf.c.
Recommendations
For versions prior to 1.75.4, update to version 1.75.4 or later to resolve the issue. As a temporary workaround, consider restricting access to the /tmp directory to minimize the risk of exploitation.
Fix
Race Condition
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Alt Linux
Leptonica