CVE-2017-18196

Published: 23 February 2018

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.

From the Ubuntu security team

It was discovered that Leptonica incorrectly handled path names. An attacker could possibly use this issue to obtain sensitive information.

Priority

Low

CVSS 3 base score: 3.3

Status

Package Release Status
leptonlib
Launchpad, Ubuntu, Debian
Upstream
Released (1.74.4-2)
Ubuntu 21.04 (Hirsute Hippo) Not vulnerable
(1.75.3-2)
Ubuntu 20.04 LTS (Focal Fossa) Not vulnerable
(1.75.3-2)
Ubuntu 18.04 LTS (Bionic Beaver) Not vulnerable
(1.75.3-2)
Ubuntu 16.04 ESM (Xenial Xerus) Ignored
(end of standard support, was needed)
Ubuntu 14.04 ESM (Trusty Tahr) Not vulnerable
(code not present)