Bug 468056 (CVE-2008-4640)

Summary: CVE-2008-4640 jhead: arbitrary file deletion
Product: [Other] Security Response Reporter: Tomas Hoger <thoger>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: adrian
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
URL: http://nvd.nist.gov/nvd.cfm?cvename=CVE-2008-4640
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-03-06 13:11:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tomas Hoger 2008-10-22 15:39:39 UTC
Common Vulnerabilities and Exposures assigned an identifier CVE-2008-4640 to the following vulnerability:

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.

References:
https://bugs.launchpad.net/ubuntu/+source/jhead/+bug/271020
http://www.openwall.com/lists/oss-security/2008/10/16/3

Comment 1 Adrian Reber 2009-02-16 14:23:57 UTC
debian has released jhead 2.86 which seems to fix this error.

http://packages.debian.org/changelogs/pool/main/j/jhead/jhead_2.86-1/changelog.html

I will update jhead to 2.86 on all branches.

Comment 2 Fedora Update System 2009-03-05 16:31:38 UTC
jhead-2.86-1.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 3 Fedora Update System 2009-03-05 16:32:34 UTC
jhead-2.86-1.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 4 Red Hat Product Security 2009-03-06 13:11:29 UTC
This issue was addressed in:

Fedora:
  https://admin.fedoraproject.org/updates/F10/FEDORA-2009-1824
  https://admin.fedoraproject.org/updates/F9/FEDORA-2009-1776