Mandriva Linux Security Advisory : file (MDVSA-2014:051)

Medium Nessus Plugin ID 72998


The remote Mandriva Linux host is missing one or more security updates.


Updated file package fixes security vulnerability :

It was discovered that file before 5.17 contains a flaw in the handling of indirect magic rules in the libmagic library, which leads to an infinite recursion when trying to determine the file type of certain files (CVE-2014-1943).

Additionally, other well-crafted files might result in long computation times (while using 100% CPU) and overlong results.

A flaw was found in the way the file utility determined the type of Portable Executable (PE) format files, the executable format used on Windows. A malicious PE file could cause the file utility to crash or, potentially, execute arbitrary code (CVE-2014-2270).

A memory leak in file has also been fixed.

The affected packages have been upgraded to the 5.12 version and patched to correct these flaws.


Update the affected packages.

See Also

Plugin Details

Severity: Medium

ID: 72998

File Name: mandriva_MDVSA-2014-051.nasl

Version: $Revision: 1.1 $

Type: local

Published: 2014/03/14

Modified: 2014/03/14

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 5

Temporal Score: 4.3

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

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

Vulnerability Information

CPE: p-cpe:/a:mandriva:linux:file, p-cpe:/a:mandriva:linux:lib64magic-devel, p-cpe:/a:mandriva:linux:lib64magic-static-devel, p-cpe:/a:mandriva:linux:lib64magic1, p-cpe:/a:mandriva:linux:python-magic, cpe:/o:mandriva:business_server:1

Required KB Items: Host/local_checks_enabled, Host/cpu, Host/Mandrake/release, Host/Mandrake/rpm-list

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2014/03/13

Reference Information

CVE: CVE-2014-1943, CVE-2014-2270

BID: 65596, 66002

MDVSA: 2014:051