# CVE-2021-20271

- Priority: **Routine**
- Reason: Not severe (CVSS 7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2021-03-26 · Modified: 2024-08-03
- Aliases: RHSA-2021:4771, RHSA-2021:4785, RHSA-2021:4975, UBUNTU-CVE-2021-20271, DEBIAN-CVE-2021-20271, ALPINE-CVE-2021-20271
- Record: https://cvemate.com/vulnerability/CVE-2021-20271 · JSON: https://cvemate.com/vulnerability/CVE-2021-20271/json

## Description

```text
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.
```

## Signals

- CVSS: 7 high (v3.1, NVD) CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.779%, percentile 57.242%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine rpm (Alpine Linux): ≥ 4.15.0, \< 4.16.1.3-r0 \| ≥ 4.16.0, \< 4.16.1.3-r0
- debian rpm (Debian): \< 4.16.1.2+dfsg1-1
- ubuntu rpm (Ubuntu): All versions (No fix recorded) \| \< 4.12.0.1+dfsg1-3ubuntu0.1~esm1 \| \< 4.14.1+dfsg1-2ubuntu0.1~esm1 \| \< 4.14.2.1+dfsg1-1ubuntu0.1~esm1
- fedoraproject fedora: 32 \| 33 \| 34
- redhat enterprise\_linux: 8.0
- redhat rpm (Red Hat): \< 0:4.11.3-35.el7\_6.2 \| \< 0:4.11.3-48.el7\_9 \| \< 0:4.11.3-40.el7\_7.1
- redhat rpm-apidocs (Red Hat): \< 0:4.11.3-35.el7\_6.2 \| \< 0:4.11.3-48.el7\_9 \| \< 0:4.11.3-40.el7\_7.1
- redhat rpm-build (Red Hat): \< 0:4.11.3-35.el7\_6.2 \| \< 0:4.11.3-48.el7\_9 \| \< 0:4.11.3-40.el7\_7.1
- redhat rpm-build-libs (Red Hat): \< 0:4.11.3-35.el7\_6.2 \| \< 0:4.11.3-48.el7\_9 \| \< 0:4.11.3-40.el7\_7.1
- redhat rpm-cron (Red Hat): \< 0:4.11.3-35.el7\_6.2 \| \< 0:4.11.3-48.el7\_9 \| \< 0:4.11.3-40.el7\_7.1
- redhat rpm-debuginfo (Red Hat): \< 0:4.11.3-35.el7\_6.2 \| \< 0:4.11.3-48.el7\_9 \| \< 0:4.11.3-40.el7\_7.1
- redhat rpm-devel (Red Hat): \< 0:4.11.3-35.el7\_6.2 \| \< 0:4.11.3-48.el7\_9 \| \< 0:4.11.3-40.el7\_7.1
- redhat rpm-libs (Red Hat): \< 0:4.11.3-35.el7\_6.2 \| \< 0:4.11.3-48.el7\_9 \| \< 0:4.11.3-40.el7\_7.1
- redhat rpm-plugin-systemd-inhibit (Red Hat): \< 0:4.11.3-35.el7\_6.2 \| \< 0:4.11.3-48.el7\_9 \| \< 0:4.11.3-40.el7\_7.1
- redhat rpm-python (Red Hat): \< 0:4.11.3-35.el7\_6.2 \| \< 0:4.11.3-48.el7\_9 \| \< 0:4.11.3-40.el7\_7.1
- redhat rpm-sign (Red Hat): \< 0:4.11.3-35.el7\_6.2 \| \< 0:4.11.3-48.el7\_9 \| \< 0:4.11.3-40.el7\_7.1
- rpm rpm: ≥ 4.15.0, \< 4.15.1.3 \| ≥ 4.16.0, \< 4.16.1.3 \| 4.15.0:alpha \| 4.15.0:beta1 \| 4.15.0:rc1 \| 4.16.0:alpha \| 4.16.0:beta2 \| 4.16.0:beta3 \| 4.16.0:rc1
- starwindsoftware starwind\_virtual\_san: v8:build14398

## References (first 20 of 21)

- <https://bugzilla.redhat.com/show_bug.cgi?id=1934125>
- <https://github.com/rpm-software-management/rpm/commit/d6a86b5e69e46cc283b1e06c92343319beb42e21>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/VHRPNBCRPDJHHQE3MBPSZK4H7X2IM7AC/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TMGXO3W6DHPO62GJ4VVF5DEUX5DRUR5K/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YILPBTPSBRYL4POBI3F4YUSVPSOQNJBY/>
- <https://security.gentoo.org/glsa/202107-43>
- <https://www.starwindsoftware.com/security/sw-20220805-0002/>
- <https://access.redhat.com/errata/RHSA-2021:4771>
- <https://access.redhat.com/security/updates/classification/#moderate>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_4771.json>
- <https://access.redhat.com/security/cve/CVE-2021-20271>
- <https://www.cve.org/CVERecord?id=CVE-2021-20271>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-20271>
- <https://access.redhat.com/errata/RHSA-2021:4785>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_4785.json>
- <https://access.redhat.com/errata/RHSA-2021:4975>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_4975.json>
- <https://ubuntu.com/security/CVE-2021-20271>
- <https://ubuntu.com/security/notices/USN-5273-1>
- <https://security-tracker.debian.org/tracker/CVE-2021-20271>

---

Data as of 2026-12-05T03:06:55.973Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
