Insufficient verification of data authenticity in rpm
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 25 fixed, 1 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-345.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | rpm | all versions | — | No fix listed | CNA |
- rpm Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 13
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:rpm:rpm:*:*:*:*:*:*:*:* | 4.15.0 to before 4.15.1.3; 4.16.0 to before 4.16.1.3 | Vulnerable | Rpm |
| cpe:2.3:a:rpm:rpm:4.15.0:alpha:*:*:*:*:*:* | 4.15.0 alpha | Vulnerable | Rpm |
| cpe:2.3:a:rpm:rpm:4.15.0:beta1:*:*:*:*:*:* | 4.15.0 beta1 | Vulnerable | Rpm |
| cpe:2.3:a:rpm:rpm:4.15.0:rc1:*:*:*:*:*:* | 4.15.0 rc1 | Vulnerable | Rpm |
| cpe:2.3:a:rpm:rpm:4.16.0:alpha:*:*:*:*:*:* | 4.16.0 alpha | Vulnerable | Rpm |
| cpe:2.3:a:rpm:rpm:4.16.0:beta2:*:*:*:*:*:* | 4.16.0 beta2 | Vulnerable | Rpm |
| cpe:2.3:a:rpm:rpm:4.16.0:beta3:*:*:*:*:*:* | 4.16.0 beta3 | Vulnerable | Rpm |
| cpe:2.3:a:rpm:rpm:4.16.0:rc1:*:*:*:*:*:* | 4.16.0 rc1 | Vulnerable | Rpm |
| cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Red Hat |
| cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* | 32 | Vulnerable | Fedoraproject |
- cpe:2.3:a:rpm:rpm:*:*:*:*:*:*:*:* Versions 4.15.0 to before 4.15.1.3; 4.16.0 to before 4.16.1.3 Vulnerable ·Rpm
- cpe:2.3:a:rpm:rpm:4.15.0:alpha:*:*:*:*:*:* Versions 4.15.0 alpha Vulnerable ·Rpm
- cpe:2.3:a:rpm:rpm:4.15.0:beta1:*:*:*:*:*:* Versions 4.15.0 beta1 Vulnerable ·Rpm
- cpe:2.3:a:rpm:rpm:4.15.0:rc1:*:*:*:*:*:* Versions 4.15.0 rc1 Vulnerable ·Rpm
- cpe:2.3:a:rpm:rpm:4.16.0:alpha:*:*:*:*:*:* Versions 4.16.0 alpha Vulnerable ·Rpm
- cpe:2.3:a:rpm:rpm:4.16.0:beta2:*:*:*:*:*:* Versions 4.16.0 beta2 Vulnerable ·Rpm
- cpe:2.3:a:rpm:rpm:4.16.0:beta3:*:*:*:*:*:* Versions 4.16.0 beta3 Vulnerable ·Rpm
- cpe:2.3:a:rpm:rpm:4.16.0:rc1:*:*:*:*:*:* Versions 4.16.0 rc1 Vulnerable ·Rpm
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Red Hat
- cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:* Versions 32 Vulnerable ·Fedoraproject
Show 3 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | 33 | Vulnerable | Fedoraproject |
| cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* | 34 | Vulnerable | Fedoraproject |
| cpe:2.3:a:starwindsoftware:starwind_virtual_san:v8:build14398:*:*:*:*:*:* | v8 build14398 | Vulnerable | Starwindsoftware |
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
- cpe:2.3:a:starwindsoftware:starwind_virtual_san:v8:build14398:*:*:*:*:*:* Versions v8 build14398 Vulnerable ·Starwindsoftware
Remediation
Red Hat 5 advisories
- RHSA-2021:4975 Released 2021-12-07 · Red Hat rating Moderaterpm security update
- Red Hat Enterprise Linux Server AUS (v. 7.7) rpm-4.11.3-40.el7_7.1, rpm-build-4.11.3-40.el7_7.1, rpm-build-libs-4.11.3-40.el7_7.1 +4
- Red Hat Enterprise Linux Server E4S (v. 7.7) rpm-4.11.3-40.el7_7.1, rpm-build-4.11.3-40.el7_7.1, rpm-build-libs-4.11.3-40.el7_7.1 +4
- Red Hat Enterprise Linux Server Optional AUS (v. 7.7) rpm-apidocs-4.11.3-40.el7_7.1, rpm-cron-4.11.3-40.el7_7.1, rpm-plugin-systemd-inhibit-4.11.3-40.el7_7.1
- Red Hat Enterprise Linux Server Optional E4S (v. 7.7) rpm-apidocs-4.11.3-40.el7_7.1, rpm-cron-4.11.3-40.el7_7.1, rpm-plugin-systemd-inhibit-4.11.3-40.el7_7.1
- Red Hat Enterprise Linux Server Optional TUS (v. 7.7) rpm-apidocs-4.11.3-40.el7_7.1, rpm-cron-4.11.3-40.el7_7.1, rpm-plugin-systemd-inhibit-4.11.3-40.el7_7.1
- Red Hat Enterprise Linux Server TUS (v. 7.7) rpm-4.11.3-40.el7_7.1, rpm-build-4.11.3-40.el7_7.1, rpm-build-libs-4.11.3-40.el7_7.1 +4
- RHSA-2021:4785 Released 2021-11-23 · Red Hat rating Moderaterpm security update
- Red Hat Enterprise Linux Client (v. 7) rpm-4.11.3-48.el7_9, rpm-build-4.11.3-48.el7_9, rpm-build-libs-4.11.3-48.el7_9 +2
- Red Hat Enterprise Linux Client Optional (v. 7) rpm-apidocs-4.11.3-48.el7_9, rpm-cron-4.11.3-48.el7_9, rpm-devel-4.11.3-48.el7_9 +2
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) rpm-apidocs-4.11.3-48.el7_9, rpm-cron-4.11.3-48.el7_9, rpm-devel-4.11.3-48.el7_9 +2
- Red Hat Enterprise Linux Server (v. 7) rpm-4.11.3-48.el7_9, rpm-build-4.11.3-48.el7_9, rpm-build-libs-4.11.3-48.el7_9 +7
- Red Hat Enterprise Linux Server Optional (v. 7) rpm-apidocs-4.11.3-48.el7_9, rpm-cron-4.11.3-48.el7_9, rpm-plugin-systemd-inhibit-4.11.3-48.el7_9
- Red Hat Enterprise Linux Workstation (v. 7) rpm-4.11.3-48.el7_9, rpm-build-4.11.3-48.el7_9, rpm-build-libs-4.11.3-48.el7_9 +4
- Red Hat Enterprise Linux Workstation Optional (v. 7) rpm-apidocs-4.11.3-48.el7_9, rpm-cron-4.11.3-48.el7_9, rpm-plugin-systemd-inhibit-4.11.3-48.el7_9
- RHSA-2021:4771 Released 2021-11-23 · Red Hat rating Moderaterpm security update
- Red Hat Enterprise Linux Server AUS (v. 7.6) rpm-4.11.3-35.el7_6.2, rpm-build-4.11.3-35.el7_6.2, rpm-build-libs-4.11.3-35.el7_6.2 +4
- Red Hat Enterprise Linux Server E4S (v. 7.6) rpm-4.11.3-35.el7_6.2, rpm-build-4.11.3-35.el7_6.2, rpm-build-libs-4.11.3-35.el7_6.2 +4
- Red Hat Enterprise Linux Server Optional AUS (v. 7.6) rpm-apidocs-4.11.3-35.el7_6.2, rpm-cron-4.11.3-35.el7_6.2, rpm-plugin-systemd-inhibit-4.11.3-35.el7_6.2
- Red Hat Enterprise Linux Server Optional E4S (v. 7.6) rpm-apidocs-4.11.3-35.el7_6.2, rpm-cron-4.11.3-35.el7_6.2, rpm-plugin-systemd-inhibit-4.11.3-35.el7_6.2
- Red Hat Enterprise Linux Server Optional TUS (v. 7.6) rpm-apidocs-4.11.3-35.el7_6.2, rpm-cron-4.11.3-35.el7_6.2, rpm-plugin-systemd-inhibit-4.11.3-35.el7_6.2
- Red Hat Enterprise Linux Server TUS (v. 7.6) rpm-4.11.3-35.el7_6.2, rpm-build-4.11.3-35.el7_6.2, rpm-build-libs-4.11.3-35.el7_6.2 +4
Show 2 more Red Hat advisories
- RHSA-2021:2791 Released 2021-07-20 · Red Hat rating Moderaterpm security update
- Red Hat Enterprise Linux AppStream EUS (v. 8.2) rpm-build-4.14.2-38.el8_2
- Red Hat Enterprise Linux BaseOS EUS (v. 8.2) python3-rpm-4.14.2-38.el8_2, rpm-4.14.2-38.el8_2, rpm-apidocs-4.14.2-38.el8_2 +10
- RHSA-2021:2574 Released 2021-06-29 · Red Hat rating Moderaterpm security update
- Red Hat Enterprise Linux AppStream (v. 8) rpm-build-4.14.3-14.el8_4, rpm-plugin-fapolicyd-4.14.3-14.el8_4
- Red Hat Enterprise Linux BaseOS (v. 8) python3-rpm-4.14.3-14.el8_4, rpm-4.14.3-14.el8_4, rpm-apidocs-4.14.3-14.el8_4 +10
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 6 | Affected | No fix planned: Out of support scope |
| 7Server-RHMTC-1.4 | Fixed | — |
| 8Base-RHMTC-1.4 | Fixed | — |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2021:2574 |
| Red Hat Enterprise Linux AppStream EUS (v. 8.2) | Fixed | RHSA-2021:2791 |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2021:2574 |
| Red Hat Enterprise Linux BaseOS EUS (v. 8.2) | Fixed | RHSA-2021:2791 |
| Red Hat Enterprise Linux Client (v. 7) | Fixed | RHSA-2021:4785 |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2021:4785 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2021:4785 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2021:4785 |
| Red Hat Enterprise Linux Server AUS (v. 7.6) | Fixed | RHSA-2021:4771 |
| Red Hat Enterprise Linux Server AUS (v. 7.7) | Fixed | RHSA-2021:4975 |
| Red Hat Enterprise Linux Server E4S (v. 7.6) | Fixed | RHSA-2021:4771 |
| Red Hat Enterprise Linux Server E4S (v. 7.7) | Fixed | RHSA-2021:4975 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2021:4785 |
| Red Hat Enterprise Linux Server Optional AUS (v. 7.6) | Fixed | RHSA-2021:4771 |
| Red Hat Enterprise Linux Server Optional AUS (v. 7.7) | Fixed | RHSA-2021:4975 |
| Red Hat Enterprise Linux Server Optional E4S (v. 7.6) | Fixed | RHSA-2021:4771 |
| Red Hat Enterprise Linux Server Optional E4S (v. 7.7) | Fixed | RHSA-2021:4975 |
| Red Hat Enterprise Linux Server Optional TUS (v. 7.6) | Fixed | RHSA-2021:4771 |
| Red Hat Enterprise Linux Server Optional TUS (v. 7.7) | Fixed | RHSA-2021:4975 |
| Red Hat Enterprise Linux Server TUS (v. 7.6) | Fixed | RHSA-2021:4771 |
| Red Hat Enterprise Linux Server TUS (v. 7.7) | Fixed | RHSA-2021:4975 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2021:4785 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2021:4785 |
Not affected: 1 product
- Red Hat Enterprise Linux 9
Timeline
- 2026-10-02 Threatist record created from CVE-2021-20271
- 2026-10-03 Alias added: GHSA-77pm-gxx7-5c5f
References
Patch 2
Sources
- CVE-2021-20271 · CVE Program
- CVE-2021-20271 · NVD
- FIRST EPSS
- GHSA-77pm-gxx7-5c5f · GitHub Advisory Database · CC BY 4.0
- CVE-2021-20271 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences