Amazon Linux AMI : file (ALAS-2014-382)

Medium Nessus Plugin ID 78325

Synopsis

The remote Amazon Linux AMI host is missing a security update.

Description

A denial of service flaw was found in the way the File Information (fileinfo) extension parsed certain Composite Document Format (CDF) files. A remote attacker could use this flaw to crash a PHP application using fileinfo via a specially crafted CDF file.

Buffer overflow in the mconvert function in softmagic.c in file before 5.19, as used in the Fileinfo component in PHP before 5.4.30 and 5.5.x before 5.5.14, allows remote attackers to cause a denial of service (application crash) via a crafted Pascal string in a FILE_PSTRING conversion.

file before 5.19 does not properly restrict the amount of data read during a regex search, which allows remote attackers to cause a denial of service (CPU consumption) via a crafted file that triggers backtracking during processing of an awk rule.

NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-7345 .

Solution

Run 'yum update file' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2014-382.html

Plugin Details

Severity: Medium

ID: 78325

File Name: ala_ALAS-2014-382.nasl

Version: 1.3

Type: local

Agent: unix

Published: 2014/10/12

Updated: 2018/04/18

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 5

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:file, p-cpe:/a:amazon:linux:file-debuginfo, p-cpe:/a:amazon:linux:file-devel, p-cpe:/a:amazon:linux:file-libs, p-cpe:/a:amazon:linux:file-static, p-cpe:/a:amazon:linux:python-magic, cpe:/o:amazon:linux

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

Patch Publication Date: 2014/07/23

Reference Information

CVE: CVE-2014-0207, CVE-2014-0237, CVE-2014-0238, CVE-2014-3478, CVE-2014-3479, CVE-2014-3480, CVE-2014-3487, CVE-2014-3538

ALAS: 2014-382