CVE-2018-7442

NameCVE-2018-7442
DescriptionAn issue was discovered in Leptonica through 1.75.3. The gplotMakeOutput function does not block '/' characters in the gplot rootname argument, potentially leading to path traversal and arbitrary file overwrite.
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, ELA-765-1
Debian Bugs898439

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
buster1.76.0-1+deb10u1fixed
buster (security)1.76.0-1+deb10u2fixed
bullseye1.79.0-1.1+deb11u1fixed
sid, trixie, bookworm1.82.0-3fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
leptonlibsourcejessie1.71-2.1+deb8u2ELA-765-1
leptonlibsourcestretch1.74.1-1+deb9u2ELA-764-1
leptonlibsource(unstable)1.76.0-1898439

Notes

[wheezy] - leptonlib <ignored> (Minor issue)
https://lists.debian.org/debian-lts/2018/02/msg00086.html
https://github.com/DanBloomberg/leptonica/commit/24cca39cbeafd7943fb6ec723c9c1f525c24eb9f
The patch deactivates debugging functions by default and thus changes behaviour.

Search for package or bug name: Reporting problems