Amazon Linux 1 Security Advisory: ALAS-2014-458
Advisory Release Date: 2014-12-09 07:34 Pacific
Advisory Updated Date: 2014-12-10 13:48 Pacific
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 (https://securityblog.redhat.com/2014/12/10/analysis-of-the-cve-2013-6435-flaw-in-rpm/) of this issue. (CVE-2013-6435)
Affected Packages:
rpm
Issue Correction:
Run yum update rpm to update your system.
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