Name | CVE-2008-4640 |
Description | The DoCommand function in jhead.c in Matthias Wandel jhead 2.84 and earlier allows local users to delete arbitrary files via vectors involving a modified input filename in which (1) a final "z" character is replaced by a "t" character or (2) a final "t" character is replaced by a "z" character. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 504194 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
jhead (PTS) | jessie, jessie (lts) | 1:2.97-1+deb8u2 | fixed |
| stretch | 1:3.00-4+deb9u1 | fixed |
| buster (security), buster, buster (lts) | 1:3.00-8+deb10u1 | fixed |
| bullseye (security), bullseye | 1:3.04-6+deb11u1 | fixed |
| bookworm | 1:3.06.0.1-6 | fixed |
| sid, trixie | 1:3.08-3 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
jhead | source | (unstable) | 2.85-1 | unimportant | | 504194 |
Notes
no issue, jhead is just unlinking the output file if it already exists, this is not following symlinks