Debian DSA-2873-1 : file - several vulnerabilities

medium Nessus Plugin ID 72952
New! Plugin Severity Now Using CVSS v3

The calculated severity for Plugins has been updated to use CVSS v3 by default. Plugins that do not have a CVSS v3 score will fall back to CVSS v2 for calculating severity. Severity display preferences can be toggled in the settings dropdown.

Synopsis

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

Description

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.

Solution

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

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=703993

https://security-tracker.debian.org/tracker/CVE-2014-2270

https://packages.debian.org/source/squeeze/file

https://packages.debian.org/source/wheezy/file

https://www.debian.org/security/2014/dsa-2873

Plugin Details

Severity: Medium

ID: 72952

File Name: debian_DSA-2873.nasl

Version: 1.13

Type: local

Agent: unix

Published: 3/12/2014

Updated: 1/11/2021

Dependencies: ssh_get_info.nasl

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

Temporal Vector: 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 Ease: No known exploits are available

Patch Publication Date: 3/11/2014

Reference Information

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

BID: 66002

DSA: 2873