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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | rpm-build | 4.14.3-19.el8 | ALSA-2021:4489 |
| AlmaLinux:8 | rpm-plugin-fapolicyd | 4.14.3-19.el8 | ALSA-2021:4489 |
| Alpine:v3.20 | rpm | 4.16.1.3-r0 | ALPINE-CVE-2021-20266 |
| Alpine:v3.21 | rpm | 4.16.1.3-r0 | ALPINE-CVE-2021-20266 |
| Alpine:v3.22 | rpm | 4.16.1.3-r0 | ALPINE-CVE-2021-20266 |
| Alpine:v3.23 | rpm | 4.16.1.3-r0 | ALPINE-CVE-2021-20266 |
| Alpine:v3.24 | rpm | 4.16.1.3-r0 | ALPINE-CVE-2021-20266 |
| Debian:12 | rpm | 4.16.1.2+dfsg1-1 | DEBIAN-CVE-2021-20266 |
| Debian:13 | rpm | 4.16.1.2+dfsg1-1 | DEBIAN-CVE-2021-20266 |
| Debian:14 | rpm | 4.16.1.2+dfsg1-1 | DEBIAN-CVE-2021-20266 |
| Rocky Linux:8 | rpm | 0:4.14.3-19.el8 | RLSA-2021:4489 |
Affected products (as reported)
Weakness: CWE-125
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1927741 x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VHRPNBCRPDJHHQE3MBPSZK4H7X2IM7AC/ x_refsource_MISC
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TMGXO3W6DHPO62GJ4VVF5DEUX5DRUR5K/ x_refsource_MISC
- GLSA-202107-43 vendor-advisory, x_refsource_GENTOO