Vulnerability · Published Apr 30, 2021 · Assigned by redhat

CVE-2021-20266

Medium 4.9

In plain English

A medium-severity out-of-bounds read in rpm. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.6% (higher than 76% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)4.9Medium
Exploit odds (30 days)1.6%top 23.5% 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 hdrblobInit() in lib/header.c. This flaw allows an attacker who can modify the rpmdb to cause an out-of-bounds read. The highest threat from this vulnerability is to system availability.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8rpm-build4.14.3-19.el8ALSA-2021:4489
AlmaLinux:8rpm-plugin-fapolicyd4.14.3-19.el8ALSA-2021:4489
Alpine:v3.20rpm4.16.1.3-r0ALPINE-CVE-2021-20266
Alpine:v3.21rpm4.16.1.3-r0ALPINE-CVE-2021-20266
Alpine:v3.22rpm4.16.1.3-r0ALPINE-CVE-2021-20266
Alpine:v3.23rpm4.16.1.3-r0ALPINE-CVE-2021-20266
Alpine:v3.24rpm4.16.1.3-r0ALPINE-CVE-2021-20266
Debian:12rpm4.16.1.2+dfsg1-1DEBIAN-CVE-2021-20266
Debian:13rpm4.16.1.2+dfsg1-1DEBIAN-CVE-2021-20266
Debian:14rpm4.16.1.2+dfsg1-1DEBIAN-CVE-2021-20266
Rocky Linux:8rpm0:4.14.3-19.el8RLSA-2021:4489

Affected products (as reported)

VendorProductVersions
n/a rpm rpm 4.17.0

Weakness: CWE-125

References