MidnightBSD

Advisories for file

CVE-2003-0102 MEDIUM

Buffer overflow in tryelf() in readelf.c of the file command allows attackers to execute arbitrary code as the user running file, possibly via a large entity size value in an ELF header (elfhdr.e_shentsize).

CVSS 2.0

Severity: MEDIUM

Problem Type: NVD-CWE-Other,

Products Affected

Vendor Product Version
file file 3.40
netbsd netbsd 1.6
file file 3.33
file file 3.32
netbsd netbsd 1.5.2
file file 3.30
netbsd netbsd 1.5.1
file file 3.37
file file 3.39
file file 3.36
netbsd netbsd 1.5
file file 3.35
file file 3.34
file file 3.28
netbsd netbsd 1.5.3
CVE-2004-1304 HIGH

Stack-based buffer overflow in the ELF header parsing code in file before 4.12 allows attackers to execute arbitrary code via a crafted ELF file.

CVSS 2.0

Severity: HIGH

Problem Type: NVD-CWE-Other,

Products Affected

Vendor Product Version
file file 4.6
file file 4.8
trustix secure_linux 2.0
file file 4.0
trustix secure_linux 2.2
gentoo linux *
file file 4.7
file file 4.10
file file 4.3
file file 4.9
trustix secure_linux 2.1
file file 4.5
file file 4.4
file file 4.11
file file 4.2
file file 4.1
CVE-2007-1536 HIGH

Integer underflow in the file_printf function in the "file" program before 4.20 allows user-assisted attackers to execute arbitrary code via a file that triggers a heap-based buffer overflow.

CVSS 2.0

Severity: HIGH

Problem Type: CWE-189,

Products Affected

Vendor Product Version
file file *
CVE-2007-2799 MEDIUM

Integer overflow in the "file" program 4.20, when running on 32-bit systems, as used in products including The Sleuth Kit, might allow user-assisted attackers to execute arbitrary code via a large file that triggers an overflow that bypasses an assert() statement. NOTE: this issue is due to an incorrect patch for CVE-2007-1536.

CVSS 2.0

Severity: MEDIUM

Problem Type: CWE-189,

Products Affected

Vendor Product Version
file file 4.2
sleuth_kit the_sleuth_kith *