CVE-2008-4640 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-4640): 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.
CVE-2008-4641 (http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-4641): The DoCommand function in jhead.c in Matthias Wandel jhead 2.84 and earlier allows attackers to execute arbitrary commands via shell metacharacters in unspecified input.
Whoops, sorry about the dupe...
*** This bug has been marked as a duplicate of bug 242702 ***
I fail. This bug is not a dupe of course.
Debian ships a 2.85 release, but I cannot find that upstream: http://ftp.de.debian.org/debian/pool/main/j/jhead/jhead_2.85.orig.tar.gz Upstream claims this fixes both issues in this bug. I mailed upstream for clarification of the release.
discussion with upstream yielded that Debian took one of the snapshots available on the jhead website and called that "2.85". Upstream does not plan a release any sooner than "early next year". I think we should fix this bug before that, either by extracting the relevant patch from the latest snapshot, or by bumping to that snapshot. Comments?
+*jhead-2.84-r1 (28 Nov 2008) + + 28 Nov 2008; Markus Meier <maekke@gentoo.org> + +files/jhead-2.84-bug243238.patch, +jhead-2.84-r1.ebuild: + bump for security bug #243238
Arches, please test and mark stable: =media-gfx/jhead-2.84-r1 Target keywords : "alpha amd64 hppa ia64 ppc ppc64 sparc x86"
ppc stable
Stable for HPPA.
alpha/ia64/sparc/x86 stable
amd64, ppc64: *ping*
amd64 stable
ppc64 done
GLSA together with bug 242702.
GLSA 200901-02