Name | CVE-2017-18196 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | ELA-764-1 |
Debian Bugs | 885704 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
leptonlib (PTS) | jessie, jessie (lts) | 1.71-2.1+deb8u2 | fixed |
| stretch (security) | 1.74.1-1+deb9u1 | vulnerable |
| stretch (lts), stretch | 1.74.1-1+deb9u2 | fixed |
| buster (security), buster, buster (lts) | 1.76.0-1+deb10u2 | fixed |
| bullseye | 1.79.0-1.1+deb11u1 | fixed |
| bookworm | 1.82.0-3 | fixed |
| sid, trixie | 1.84.1-4 | fixed |
The information below is based on the following data on fixed versions.
Notes
[jessie] - leptonlib <not-affected> (Vulnerable code not present)
[wheezy] - leptonlib <not-affected> (Vulnerable code not present)