Race condition in Leptonica - CVE-2018-7441

 

Race condition in Leptonica - CVE-2018-7441

Published: March 22, 2018 / Updated: December 22, 2023


Vulnerability identifier: #VU11225
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2018-7441
CWE-ID: CWE-362
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: DanBloomberg
Affected software:
Leptonica

Detailed vulnerability description

The vulnerability allows a local attacker to overwrite arbitrary files on the target system.

The weakness exists due to hardcoded /tmp pathnames. A local attacker can create a file in advance, trigger race condition and overwrite arbitrary files.

How to mitigate CVE-2018-7441

Install update from vendor's website.

Sources