Vulnerability · Published Mar 26, 2021 · Assigned by redhat

CVE-2021-20271

High 7.0

In plain English

A high-severity insufficient verification of data authenticity in rpm. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)7.0High
Exploit odds (30 days)0.8%top 44.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20rpm4.16.1.3-r0ALPINE-CVE-2021-20271
Alpine:v3.21rpm4.16.1.3-r0ALPINE-CVE-2021-20271
Alpine:v3.22rpm4.16.1.3-r0ALPINE-CVE-2021-20271
Alpine:v3.23rpm4.16.1.3-r0ALPINE-CVE-2021-20271
Alpine:v3.24rpm4.16.1.3-r0ALPINE-CVE-2021-20271
Debian:12rpm4.16.1.2+dfsg1-1DEBIAN-CVE-2021-20271
Debian:13rpm4.16.1.2+dfsg1-1DEBIAN-CVE-2021-20271
Debian:14rpm4.16.1.2+dfsg1-1DEBIAN-CVE-2021-20271
Rocky Linux:8rpm0:4.14.3-14.el8_4RLSA-2021:2574

Affected products (as reported)

VendorProductVersions
n/a rpm all versions

Weakness: CWE-345

References