Debian DLA-131-1 : file security update

medium Nessus Plugin ID 82114

Synopsis

The remote Debian host is missing a security update.

Description

Multiple security issues have been found in file, a tool/library to determine a file type. Processing a malformed file could result in denial of service. Most of the changes are related to parsing ELF files.

As part of the fixes, several limits on aspects of the detection were added or tightened, sometimes resulting in messages like 'recursion limit exceeded' or 'too many program header sections'.

To mitigate such shortcomings, these limits are controllable by a new '-R'/'--recursion' parameter in the file program. Note: A future upgrade for file in squeeze-lts might replace this with the '-P' parameter to keep usage consistent across all distributions.

CVE-2014-8116

The ELF parser (readelf.c) allows remote attackers to cause a denial of service (CPU consumption or crash).

CVE-2014-8117

softmagic.c does not properly limit recursion, which allows remote attackers to cause a denial of service (CPU consumption or crash).

(no identifier has been assigned so far)

out-of-bounds memory access

NOTE: Tenable Network Security has extracted the preceding description block directly from the DLA security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues.

Solution

Upgrade the affected packages.

See Also

https://lists.debian.org/debian-lts-announce/2015/01/msg00004.html

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

Plugin Details

Severity: Medium

ID: 82114

File Name: debian_DLA-131.nasl

Version: 1.7

Type: local

Agent: unix

Published: 3/26/2015

Updated: 1/11/2021

Supported Sensors: Agentless Assessment, Continuous Assessment, Frictionless Assessment Agent, Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

Temporal Score: 3.7

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

Vulnerability Information

CPE: p-cpe:/a:debian:debian_linux:libmagic1, p-cpe:/a:debian:debian_linux:file, cpe:/o:debian:debian_linux:6.0, p-cpe:/a:debian:debian_linux:libmagic-dev, p-cpe:/a:debian:debian_linux:python-magic-dbg, p-cpe:/a:debian:debian_linux:python-magic

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

Exploit Ease: No known exploits are available

Patch Publication Date: 1/9/2015

Reference Information

CVE: CVE-2014-8116, CVE-2014-8117

BID: 71692, 71700