Amazon Linux AMI : rpm (ALAS-2021-1521)

high Nessus Plugin ID 151512


The remote Amazon Linux AMI host is missing a security update.


The version of rpm installed on the remote host is prior to 4.11.3-40.79. It is, therefore, affected by multiple vulnerabilities as referenced in the ALAS-2021-1521 advisory.

- A flaw was found in RPM's signature check functionality when reading a package file. This flaw allows an attacker who can convince a victim to install a seemingly verifiable package, whose signature header was modified, to cause RPM database corruption and execute code. The highest threat from this vulnerability is to data integrity, confidentiality, and system availability. (CVE-2021-20271)

- A flaw was found in the RPM package in the read functionality. This flaw allows an attacker who can convince a victim to install a seemingly verifiable package or compromise an RPM repository, to cause RPM database corruption. The highest threat from this vulnerability is to data integrity. This flaw affects RPM versions before 4.17.0-alpha. (CVE-2021-3421)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version number.


Run 'yum update rpm' to update your system.

See Also

Plugin Details

Severity: High

ID: 151512

File Name: ala_ALAS-2021-1521.nasl

Version: 1.2

Type: local

Agent: unix

Published: 7/13/2021

Updated: 7/13/2021

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information


Risk Factor: Medium

Score: 5.9


Risk Factor: Medium

Base Score: 5.1

Temporal Score: 3.8

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:P

CVSS Score Source: CVE-2021-20271


Risk Factor: High

Base Score: 7

Temporal Score: 6.1

Vector: CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:amazon:linux:rpm, p-cpe:/a:amazon:linux:rpm-apidocs, p-cpe:/a:amazon:linux:rpm-build, p-cpe:/a:amazon:linux:rpm-build-libs, p-cpe:/a:amazon:linux:rpm-cron, p-cpe:/a:amazon:linux:rpm-debuginfo, p-cpe:/a:amazon:linux:rpm-devel, p-cpe:/a:amazon:linux:rpm-libs, p-cpe:/a:amazon:linux:rpm-python26, p-cpe:/a:amazon:linux:rpm-python27, p-cpe:/a:amazon:linux:rpm-sign, cpe:/o:amazon:linux

Required KB Items: Host/local_checks_enabled, Host/AmazonLinux/release, Host/AmazonLinux/rpm-list

Exploit Ease: No known exploits are available

Patch Publication Date: 7/8/2021

Vulnerability Publication Date: 3/22/2021

Reference Information

CVE: CVE-2021-20271, CVE-2021-3421

ALAS: 2021-1521