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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | rpm | 4.16.1.3-r0 | ALPINE-CVE-2021-20271 |
| Alpine:v3.21 | rpm | 4.16.1.3-r0 | ALPINE-CVE-2021-20271 |
| Alpine:v3.22 | rpm | 4.16.1.3-r0 | ALPINE-CVE-2021-20271 |
| Alpine:v3.23 | rpm | 4.16.1.3-r0 | ALPINE-CVE-2021-20271 |
| Alpine:v3.24 | rpm | 4.16.1.3-r0 | ALPINE-CVE-2021-20271 |
| Debian:12 | rpm | 4.16.1.2+dfsg1-1 | DEBIAN-CVE-2021-20271 |
| Debian:13 | rpm | 4.16.1.2+dfsg1-1 | DEBIAN-CVE-2021-20271 |
| Debian:14 | rpm | 4.16.1.2+dfsg1-1 | DEBIAN-CVE-2021-20271 |
| Rocky Linux:8 | rpm | 0:4.14.3-14.el8_4 | RLSA-2021:2574 |
Affected products (as reported)
Weakness: CWE-345
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1934125
- https://github.com/rpm-software-management/rpm/commit/d6a86b5e69e46cc283b1e06c92343319beb42e21
- FEDORA-2021-2383d950fd vendor-advisory
- FEDORA-2021-8d52a8a999 vendor-advisory
- FEDORA-2021-662680e477 vendor-advisory
- GLSA-202107-43 vendor-advisory
- https://www.starwindsoftware.com/security/sw-20220805-0002/