Debian DSA-2873-1 : file - several vulnerabilities

Medium Nessus Plugin ID 72952


The remote Debian host is missing a security-related update.


Several vulnerabilities have been found in file, a file type classification tool.

Aaron Reffett reported a flaw in the way the file utility determined the type of Portable Executable (PE) format files, the executable format used on Windows. When processing a defective or intentionally prepared PE executable which contains invalid offset information, the file_strncmp routine will access memory that is out of bounds, causing file to crash. The Common Vulnerabilities and Exposures project ID CVE-2014-2270 has been assigned to identify this flaw.

Mike Frysinger reported that file's rule for detecting AWK scripts significantly slows down file. The regular expression to detect AWK files contained two star operators, which could be exploited to cause excessive backtracking in the regex engine.


Upgrade the file packages.

For the oldstable distribution (squeeze), these problems have been fixed in version 5.04-5+squeeze4.

For the stable distribution (wheezy), these problems have been fixed in version 5.11-2+deb7u2.

See Also

Plugin Details

Severity: Medium

ID: 72952

File Name: debian_DSA-2873.nasl

Version: 1.12

Type: local

Agent: unix

Published: 2014/03/12

Updated: 2020/03/12

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 5

Temporal Score: 3.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:file, cpe:/o:debian:debian_linux:6.0, cpe:/o:debian:debian_linux:7.0

Required KB Items: Host/local_checks_enabled, Host/Debian/release, Host/Debian/dpkg-l

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2014/03/11

Reference Information

CVE: CVE-2013-7345, CVE-2014-2270

BID: 66002

DSA: 2873