Lucene search

K
amazonAmazonALAS-2014-458
HistoryDec 09, 2014 - 7:34 a.m.

Important: rpm

2014-12-0907:34:00
alas.aws.amazon.com
13

10 High

CVSS2

Access Vector

NETWORK

Access 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

0.369 Low

EPSS

Percentile

97.1%

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  

Additional References

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

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

10 High

CVSS2

Access Vector

NETWORK

Access 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

0.369 Low

EPSS

Percentile

97.1%