| 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, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, 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) | bullseye (security), bullseye | 1:3.04-6+deb11u1 | fixed |
| bookworm | 1:3.06.0.1-6 | fixed |
| forky, 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