Arbitrary Code Injection Affecting rpm package, versions <0:4.8.0-16.36.amzn1


medium

Snyk CVSS

    Attack Complexity High
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    EPSS 5.81% (94th percentile)
Expand this section
NVD
8.8 high
Expand this section
Red Hat
8.1 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-AMZN201803-RPM-1661376
  • published 27 Sep 2021
  • disclosed 24 Dec 2011

How to fix?

Upgrade Amazon-Linux:2018.03 rpm to version 0:4.8.0-16.36.amzn1 or higher.
This issue was patched in ALAS-2011-14.

NVD Description

Note: Versions mentioned in the description apply only to the upstream rpm package and not the rpm package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2018.03 relevant fixed versions and status.

RPM 4.4.x through 4.9.x, probably before 4.9.1.2, allows remote attackers to cause a denial of service (memory corruption) and possibly execute arbitrary code via an rpm package with crafted headers and offsets that are not properly handled when a package is queried or installed, related to (1) the regionSwab function, (2) the headerLoad function, and (3) multiple functions in rpmio/rpmpgp.c.