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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severitylow
Debian Bugs885704

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
leptonlib (PTS)stretch1.74.1-1vulnerable
stretch (security)1.74.1-1+deb9u1vulnerable
buster1.76.0-1fixed
bookworm, sid, bullseye1.79.0-1.1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
leptonlibsourcewheezy(not affected)
leptonlibsourcejessie(not affected)
leptonlibsource(unstable)1.74.4-2low885704

Notes

[stretch] - leptonlib <no-dsa> (Minor issue)
[jessie] - leptonlib <not-affected> (Vulnerable code not present)
[wheezy] - leptonlib <not-affected> (Vulnerable code not present)

Search for package or bug name: Reporting problems