Amazon Linux AMI : rpm (ALAS-2014-458)

Critical Nessus Plugin ID 79842

Synopsis

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

Description

It was found that RPM could encounter an integer overflow, leading to a stack-based overflow, while parsing a crafted CPIO header in the payload section of an RPM file. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation. (CVE-2014-8118)

It was found that RPM wrote file contents to the target installation directory under a temporary name, and verified its cryptographic signature only after the temporary file has been written completely.
Under certain conditions, the system interprets the unverified temporary file contents and extracts commands from it. This could allow an attacker to modify signed RPM files in such a way that they would execute code chosen by the attacker during package installation.
Red Hat has published an excellent analysis of this issue.
(CVE-2013-6435)

Solution

Run 'yum update rpm' to update your system.

See Also

https://access.redhat.com/blogs/766093/posts/1976443

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

Plugin Details

Severity: Critical

ID: 79842

File Name: ala_ALAS-2014-458.nasl

Version: 1.6

Type: local

Agent: unix

Published: 2014/12/10

Updated: 2018/11/19

Dependencies: 12634

Risk Information

Risk Factor: Critical

CVSS v2.0

Base Score: 10

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

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:rpm, p-cpe:/a:amazon:linux:rpm-apidocs, p-cpe:/a:amazon:linux:rpm-build, p-cpe:/a:amazon:linux:rpm-build-libs, p-cpe:/a:amazon:linux:rpm-cron, p-cpe:/a:amazon:linux:rpm-debuginfo, p-cpe:/a:amazon:linux:rpm-devel, p-cpe:/a:amazon:linux:rpm-libs, p-cpe:/a:amazon:linux:rpm-python, p-cpe:/a:amazon:linux:rpm-sign, cpe:/o:amazon:linux

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

Patch Publication Date: 2014/12/10

Reference Information

CVE: CVE-2013-6435, CVE-2014-8118

ALAS: 2014-458