CVE-2017-18196

NameCVE-2017-18196
DescriptionLeptonica 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesELA-764-1
Debian Bugs885704

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
leptonlib (PTS)jessie, jessie (lts)1.71-2.1+deb8u2fixed
stretch (security)1.74.1-1+deb9u1vulnerable
stretch (lts), stretch1.74.1-1+deb9u2fixed
buster (security), buster, buster (lts)1.76.0-1+deb10u2fixed
bullseye1.79.0-1.1+deb11u1fixed
bookworm1.82.0-3fixed
sid, trixie1.84.1-4fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
leptonlibsourcewheezy(not affected)
leptonlibsourcejessie(not affected)
leptonlibsourcestretch1.74.1-1+deb9u2ELA-764-1
leptonlibsource(unstable)1.74.4-2low885704

Notes

[jessie] - leptonlib <not-affected> (Vulnerable code not present)
[wheezy] - leptonlib <not-affected> (Vulnerable code not present)

Search for package or bug name: Reporting problems