File ELF Header Unspecified Buffer Overflow Vulnerability

BID:11771

Info

File ELF Header Unspecified Buffer Overflow Vulnerability

Bugtraq ID: 11771
Class: Boundary Condition Error
CVE: CVE-2004-1304
Remote: Yes
Local: No
Published: Nov 29 2004 12:00AM
Updated: Jul 12 2009 08:06AM
Credit: The individual or individuals responsible for disclosure of these issues are currently unknown; these issues were disclosed in the referenced Trustix advisory.
Vulnerable: Trustix Secure Linux 2.2
Trustix Secure Linux 2.1
Trustix Secure Linux 2.0
Trustix Secure Enterprise Linux 2.0
SeriousSam SeriousEngine
+ Delphieye Nitro Family
+ Playlogic International Alpha Black Zero 1.0 4
+ SeriousSam The Second Encounter 1.0.7
Gentoo Linux
file file 4.11
file file 4.10
file file 4.9
file file 4.8
file file 4.7
file file 4.6
file file 4.5
file file 4.4
file file 4.3
file file 4.2
file file 4.1
file file 4.0
Not Vulnerable: file file 4.12

Discussion

File ELF Header Unspecified Buffer Overflow Vulnerability

The file command is affected by a buffer overflow vulnerability. This issue is due to a failure of the application to properly validate string lengths in the affected file prior to copying them into static process buffers.

An attacker may leverage this issue to execute arbitrary code with the privileges of a user that processes the malicious file with the affected utility. This may be leveraged to escalate privileges or to gain unauthorized access.

Exploit / POC

File ELF Header Unspecified Buffer Overflow Vulnerability

Currently we are not aware of any exploits for these issues. If you feel we are in error or are aware of more recent information, please mail us at: [email protected] <mailto:[email protected]>.

Solution / Fix

File ELF Header Unspecified Buffer Overflow Vulnerability

Solution:
Trustix linux has released advisory TSL-2004-0063 along with fixes dealing with this issue. Please see the referenced advisory for more information.

The vendor has released an upgrade dealing with this issue.

Gentoo Linux has released advisory GLSA 200412-07 to address this issue. Users of affected packages are urged to execute the following commands with superuser privileges:
emerge --sync
emerge --ask --oneshot --verbose ">=sys-apps/file-4.12"
Please see the referenced advisory for further information.

SUSE has released advisory SUSE-SR:2004:004 along with fixes dealing with this and other issues. Please see the referenced advisory for more information.


Trustix Secure Enterprise Linux 2.0

Trustix Secure Linux 2.1

Trustix Secure Linux 2.2

file file 4.0

file file 4.1

file file 4.10

file file 4.11

file file 4.2

file file 4.3

file file 4.4

file file 4.5

file file 4.6

file file 4.7

file file 4.8

file file 4.9

References

File ELF Header Unspecified Buffer Overflow Vulnerability

References:

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report