Name | CVE-2018-7441 |
Description | Leptonica through 1.75.3 uses hardcoded /tmp pathnames, which might allow local users to overwrite arbitrary files or have unspecified other impact by creating files in advance or winning a race condition, as demonstrated by /tmp/junk_split_image.ps in prog/splitimage2pdf.c. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
leptonlib (PTS) | 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.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
leptonlib | source | (unstable) | 1.76.0-1 | | | |
Notes
https://lists.debian.org/debian-lts/2018/02/msg00054.html
Not neutralised by kernel hardening, because subdirectories of /tmp are not hardened
https://github.com/DanBloomberg/leptonica/commit/dcaf546c748aaf13fd14289677037e83d749455f
The patch requires CVE-2018-7442 patch as underlying infrastructure.
The patch deactivates debugging functions by default and thus changes behaviour.