Skip to content
OpenAdvisories
Unscored CVE-2017-18196 EUVD-2017-9330GHSA-m7cf-9jqx-8xrq

Leptonica 1.74.4 constructs unintended pathnames (containing duplicated path components) when operating on files in /tmp subdirectories, wh…

Published Feb 23, 2018 · Updated Sep 16, 2024 · Assigned by mitre

Description

Leptonica 1.74.4 constructs unintended pathnames (containing duplicated path components) when operating on files in /tmp subdirectories, which might allow local users to bypass intended file restrictions by leveraging access to a directory located deeper within the /tmp directory tree, as demonstrated by /tmp/ANY/PATH/ANY/PATH/input.tif.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 leptonlib 1.74.4-2 —
Debian 13 leptonlib 1.74.4-2 —
Debian 12 leptonlib 1.74.4-2 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS leptonlib 1.73-1ubuntu0.1~esm1 USN-4819-1
Ubuntu Pro 14.04 LTS leptonlib 1.70.1-1ubuntu0.1~esm1 USN-4819-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed leptonica 1.80.0-1.9 openSUSE-SU-2024:10914-1

Advisories 2

References