Marc Merlin and John Dong reported multiple vulnerabilities in JHead:
* A buffer overflow in the DoCommand() function when processing the
cmd argument and related to potential string overflows
(CVE-2008-4575).
* An insecure creation of a temporary file (CVE-2008-4639).
* A error when unlinking a file (CVE-2008-4640).
* Insufficient escaping of shell metacharacters (CVE-2008-4641).
Impact
======
A remote attacker could possibly execute arbitrary code by enticing a
user or automated system to open a file with a long filename or via
unspecified vectors. It is also possible to trick a user into deleting
or overwriting files.
Workaround
==========
There is no known workaround at this time.
Resolution
==========
All JHead users should upgrade to the latest version:
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security (at) gentoo (dot) org [email concealed] or alternatively, you may file a bug at
http://bugs.gentoo.org.
License
=======
Copyright 2009 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
Gentoo Linux Security Advisory GLSA 200901-02
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: JHead: Multiple vulnerabilities
Date: January 11, 2009
Bugs: #242702, #243238
ID: 200901-02
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
Multiple vulnerabilities in JHead might lead to the execution of
arbitrary code or data loss.
Background
==========
JHead is an exif jpeg header manipulation tool.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 media-gfx/jhead < 2.84-r1 >= 2.84-r1
Description
===========
Marc Merlin and John Dong reported multiple vulnerabilities in JHead:
* A buffer overflow in the DoCommand() function when processing the
cmd argument and related to potential string overflows
(CVE-2008-4575).
* An insecure creation of a temporary file (CVE-2008-4639).
* A error when unlinking a file (CVE-2008-4640).
* Insufficient escaping of shell metacharacters (CVE-2008-4641).
Impact
======
A remote attacker could possibly execute arbitrary code by enticing a
user or automated system to open a file with a long filename or via
unspecified vectors. It is also possible to trick a user into deleting
or overwriting files.
Workaround
==========
There is no known workaround at this time.
Resolution
==========
All JHead users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=media-gfx/jhead-2.84-r1"
References
==========
[ 1 ] CVE-2008-4575
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4575
[ 2 ] CVE-2008-4639
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4639
[ 3 ] CVE-2008-4640
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4640
[ 4 ] CVE-2008-4641
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2008-4641
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200901-02.xml
Concerns?
=========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security (at) gentoo (dot) org [email concealed] or alternatively, you may file a bug at
http://bugs.gentoo.org.
License
=======
Copyright 2009 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
http://creativecommons.org/licenses/by-sa/2.5
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
iQIcBAABAgAGBQJJaT/lAAoJECaaHo/OfoM57mQQAKSbQhJqTT6U4If6SdWJnSPf
0743vBCOLMS7gcnm3DUXDfzr7Q8v0xavVHilBzAUhkeSd/e48T63Smeffh+ELNLk
/9BiP/8pXP8uyUWnRL1k15kED0VMkY6qyNGV7ckATAsOp3o0qKCmO4OELYaCkl07
rOVtByxV8lJhKbhbnckCxcTSPmkfbV+ulXiC9dL3QI28WI43Z/E6nb4u9SY7iD/G
g+5lemlRsrgge4hiAPkv1Hx69jv8tUoDRcNN7cksldMV5Yk2obY1hvaoEGn121AP
qJxxPikfK2nK+H2YqMqH1lQDuJ7MdawiPAa+VUdUaKRJYlw0pW9JVQB0XBnDwNXq
HezpYTN5jy8/d1ojfftuEf8jQJyJ8m4ApGQSHTAofyHYWIObwc0MLJ6KOF5XLh9a
Imi7neLY94bHs6d/oIzh+7iS1eYegjHm0SUtlNnn1RowsPFa3xShaEBurXY2gW5K
fbNvIESRGSv67wd8lvihDe16GJAkWO1dXTh9ZVjumsHl0M4chSSpQOeXOHhrZvi4
f5+Vi8RH8N6Lbm6cxGh3BL/PNlQlqBggEHX037u3daKXMWb4vXfKpfidK724LW8Y
iY6QFjZNDf0wzhVZ1eMOi70/tGyi/Ow770uqlCOc8oxtZ6ARqfjdMhTpsG2VNHLs
ovNz5fx1Qud/LSFudBn1
=dsOR
-----END PGP SIGNATURE-----
[ reply ]