Date: Mon, 13 Dec 2004 23:42:17 +0100
From: Matthias Geerdsen <vorlon@gentoo.org.>
To: [email protected]Subject: [ GLSA 200412-07 ] file: Arbitrary code execution
Cc: [email protected], [email protected],
[email protected]
--Y5rl02BVI9TCfPar
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200412-07
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: file: Arbitrary code execution
Date: December 13, 2004
Bugs: #72521
ID: 200412-07
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Synopsis
========
The code for parsing ELF headers in file contains a flaw which may
allow an attacker to execute arbitrary code.
Background
==========
file is a utility used to identify the type of a file.
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 sys-apps/file < 4.12 >= 4.12
Description
===========
A possible stack overflow has been found in the ELF header parsing code
of file.
Impact
======
An attacker may be able to create a specially crafted ELF file which,
when processed with file, may allow the execution of arbitrary code.
Workaround
==========
There is no known workaround at this time.
Resolution
==========
All file users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=sys-apps/file-4.12"
References
==========
[ 1 ] SecurityTracker Alert ID 1012433
http://securitytracker.com/id?1012433
Availability
============
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
http://security.gentoo.org/glsa/glsa-200412-07.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
[email protected] or alternatively, you may file a bug at
http://bugs.gentoo.org.
License
=======
Copyright 2004 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.0
--Y5rl02BVI9TCfPar
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQFBvhrJGc/RGrFqUYMRAllRAJ0TAt+XUW/3mpmjVdmTRW6NUfwDrwCffX8W
sYEMRp4ie6FkieoEMP1OMCs=
=WL6l
-----END PGP SIGNATURE-----
--Y5rl02BVI9TCfPar--