CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
COMPLETE
Integrity Impact
COMPLETE
Availability Impact
COMPLETE
AV:N/AC:L/Au:N/C:C/I:C/A:C
EPSS
Percentile
97.2%
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 (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.
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
Red Hat: CVE-2013-6435, CVE-2014-8118
Mitre: CVE-2013-6435, CVE-2014-8118
OS | Version | Architecture | Package | Version | Filename |
---|---|---|---|---|---|
Amazon Linux | 1 | i686 | rpm | < 4.11.2-2.58.amzn1 | rpm-4.11.2-2.58.amzn1.i686.rpm |
Amazon Linux | 1 | i686 | rpm-sign | < 4.11.2-2.58.amzn1 | rpm-sign-4.11.2-2.58.amzn1.i686.rpm |
Amazon Linux | 1 | i686 | rpm-build-libs | < 4.11.2-2.58.amzn1 | rpm-build-libs-4.11.2-2.58.amzn1.i686.rpm |
Amazon Linux | 1 | i686 | rpm-devel | < 4.11.2-2.58.amzn1 | rpm-devel-4.11.2-2.58.amzn1.i686.rpm |
Amazon Linux | 1 | i686 | rpm-python | < 4.11.2-2.58.amzn1 | rpm-python-4.11.2-2.58.amzn1.i686.rpm |
Amazon Linux | 1 | i686 | rpm-debuginfo | < 4.11.2-2.58.amzn1 | rpm-debuginfo-4.11.2-2.58.amzn1.i686.rpm |
Amazon Linux | 1 | i686 | rpm-build | < 4.11.2-2.58.amzn1 | rpm-build-4.11.2-2.58.amzn1.i686.rpm |
Amazon Linux | 1 | i686 | rpm-libs | < 4.11.2-2.58.amzn1 | rpm-libs-4.11.2-2.58.amzn1.i686.rpm |
Amazon Linux | 1 | noarch | rpm-cron | < 4.11.2-2.58.amzn1 | rpm-cron-4.11.2-2.58.amzn1.noarch.rpm |
Amazon Linux | 1 | noarch | rpm-apidocs | < 4.11.2-2.58.amzn1 | rpm-apidocs-4.11.2-2.58.amzn1.noarch.rpm |