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

high Nessus Plugin ID 151512

Synopsis

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

Description

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. (CVE-2021-3421)

Tenable has extracted the preceding description block directly from the tested product security advisory.

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

Solution

Run 'yum update rpm' to update your system.

See Also

https://alas.aws.amazon.com/ALAS-2021-1521.html

https://access.redhat.com/security/cve/CVE-2021-20271

https://access.redhat.com/security/cve/CVE-2021-3421

Plugin Details

Severity: High

ID: 151512

File Name: ala_ALAS-2021-1521.nasl

Version: 1.3

Type: local

Agent: unix

Published: 7/13/2021

Updated: 12/11/2024

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

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

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

CVSS v3

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-build, p-cpe:/a:amazon:linux:rpm-cron, p-cpe:/a:amazon:linux:rpm-apidocs, p-cpe:/a:amazon:linux:rpm-libs, p-cpe:/a:amazon:linux:rpm, p-cpe:/a:amazon:linux:rpm-devel, p-cpe:/a:amazon:linux:rpm-debuginfo, p-cpe:/a:amazon:linux:rpm-build-libs, p-cpe:/a:amazon:linux:rpm-sign, p-cpe:/a:amazon:linux:rpm-python27, p-cpe:/a:amazon:linux:rpm-python26, 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