ALAS-2014-458


Amazon Linux AMI Security Advisory: ALAS-2014-458
Advisory Release Date: 2014-12-10 13:48 Pacific
Severity: Important

Issue Overview:

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 )


Affected Packages:

rpm


Issue Correction:
Run yum update rpm to update your system.

New Packages:
i686:
    rpm-4.11.2-2.58.amzn1.i686
    rpm-sign-4.11.2-2.58.amzn1.i686
    rpm-build-libs-4.11.2-2.58.amzn1.i686
    rpm-devel-4.11.2-2.58.amzn1.i686
    rpm-python-4.11.2-2.58.amzn1.i686
    rpm-debuginfo-4.11.2-2.58.amzn1.i686
    rpm-build-4.11.2-2.58.amzn1.i686
    rpm-libs-4.11.2-2.58.amzn1.i686

noarch:
    rpm-cron-4.11.2-2.58.amzn1.noarch
    rpm-apidocs-4.11.2-2.58.amzn1.noarch

src:
    rpm-4.11.2-2.58.amzn1.src

x86_64:
    rpm-devel-4.11.2-2.58.amzn1.x86_64
    rpm-sign-4.11.2-2.58.amzn1.x86_64
    rpm-build-libs-4.11.2-2.58.amzn1.x86_64
    rpm-python-4.11.2-2.58.amzn1.x86_64
    rpm-4.11.2-2.58.amzn1.x86_64
    rpm-libs-4.11.2-2.58.amzn1.x86_64
    rpm-debuginfo-4.11.2-2.58.amzn1.x86_64
    rpm-build-4.11.2-2.58.amzn1.x86_64