CVE-2008-4640

NameCVE-2008-4640
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs504194

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
jhead (PTS)jessie, jessie (lts)1:2.97-1+deb8u2fixed
stretch1:3.00-4+deb9u1fixed
buster (security), buster, buster (lts)1:3.00-8+deb10u1fixed
bullseye (security), bullseye1:3.04-6+deb11u1fixed
bookworm1:3.06.0.1-6fixed
sid, trixie1:3.08-3fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
jheadsource(unstable)2.85-1unimportant504194

Notes

no issue, jhead is just unlinking the output file if it already exists, this is not following symlinks

Search for package or bug name: Reporting problems