# CVE-2021-3521

- Priority: **Routine**
- Reason: Not severe (CVSS 4.7, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-08-22 · Modified: 2024-08-03
- Aliases: MGASA-2022-0321, SUSE-SU-2024:1557-1, SUSE-SU-2024:1557-2, SUSE-SU-2024:1557-3, RHSA-2022:0254, RHSA-2022:0368, RHSA-2022:0634, UBUNTU-CVE-2021-3521, DEBIAN-CVE-2021-3521, openSUSE-SU-2024:12245-1, ALPINE-CVE-2021-3521
- Record: https://cvemate.com/vulnerability/CVE-2021-3521 · JSON: https://cvemate.com/vulnerability/CVE-2021-3521/json

## Description

```text
There is a flaw in RPM's signature functionality. OpenPGP subkeys are associated with a primary key via a "binding signature." RPM does not check the binding signature of subkeys prior to importing them. If an attacker is able to add or socially engineer another party to add a malicious subkey to a legitimate public key, RPM could wrongly trust a malicious signature. The greatest impact of this flaw is to data integrity. To exploit this flaw, an attacker must either compromise an RPM repository or convince an administrator to install an untrusted RPM or public key. It is strongly recommended to only use RPMs and public keys from trusted sources.
```

## Signals

- CVSS: 4.7 medium (v3.1, NVD) CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
- EPSS: 0.322%, percentile 27.195%, 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 (first 20 of 75)

- alpine rpm (Alpine Linux): \< 4.17.1-r0
- debian rpm (Debian): \< 4.18.0+dfsg-1
- ubuntu rpm (Ubuntu): All versions (No fix recorded)
- mageia rpm (Mageia): \< 4.16.1.3-1.2.mga8
- opensuse python-rpm&distro=openSUSE Leap 15.5 (openSUSE): \< 4.14.3-150400.59.16.1
- opensuse python-rpm&distro=openSUSE Leap 15.6 (openSUSE): \< 4.14.3-150400.59.16.1
- opensuse python-rpm&distro=openSUSE Leap Micro 5.4 (openSUSE): \< 4.14.3-150400.59.16.1
- opensuse rpm-ndb&distro=openSUSE Leap 15.5 (openSUSE): \< 4.14.3-150400.59.16.1
- opensuse rpm-ndb&distro=openSUSE Leap 15.6 (openSUSE): \< 4.14.3-150400.59.16.1
- opensuse rpm-ndb&distro=openSUSE Leap Micro 5.4 (openSUSE): \< 4.14.3-150400.59.16.1
- opensuse rpm&distro=openSUSE Leap 15.5 (openSUSE): \< 4.14.3-150400.59.16.1
- opensuse rpm&distro=openSUSE Leap 15.6 (openSUSE): \< 4.14.3-150400.59.16.1
- opensuse rpm&distro=openSUSE Leap Micro 5.4 (openSUSE): \< 4.14.3-150400.59.16.1
- opensuse rpm&distro=openSUSE Tumbleweed (openSUSE): \< 4.17.1-1.1
- redhat python3-rpm (Red Hat): \< 0:4.14.3-14.el8\_4.2 \| \< 0:4.14.3-19.el8\_5.2 \| \< 0:4.14.2-40.el8\_2
- redhat python3-rpm-debuginfo (Red Hat): \< 0:4.14.3-14.el8\_4.2 \| \< 0:4.14.3-19.el8\_5.2 \| \< 0:4.14.2-40.el8\_2
- redhat rpm (Red Hat): \< 0:4.14.3-14.el8\_4.2 \| \< 0:4.14.3-19.el8\_5.2 \| \< 0:4.14.2-40.el8\_2
- redhat rpm-apidocs (Red Hat): \< 0:4.14.3-14.el8\_4.2 \| \< 0:4.14.3-19.el8\_5.2 \| \< 0:4.14.2-40.el8\_2
- redhat rpm-build (Red Hat): \< 0:4.14.3-14.el8\_4.2 \| \< 0:4.14.3-19.el8\_5.2 \| \< 0:4.14.2-40.el8\_2
- redhat rpm-build-debuginfo (Red Hat): \< 0:4.14.3-14.el8\_4.2 \| \< 0:4.14.3-19.el8\_5.2 \| \< 0:4.14.2-40.el8\_2

## References (first 20 of 26)

- <https://bugzilla.redhat.com/show_bug.cgi?id=1941098>
- <https://access.redhat.com/security/cve/CVE-2021-3521>
- <https://github.com/rpm-software-management/rpm/pull/1795/>
- <https://github.com/rpm-software-management/rpm/commit/bd36c5dc9fb6d90c46fbfed8c2d67516fc571ec8>
- <https://security.gentoo.org/glsa/202210-22>
- <https://advisories.mageia.org/MGASA-2022-0321.html>
- <https://bugs.mageia.org/show_bug.cgi?id=29987>
- <https://access.redhat.com/errata/RHSA-2022:0368>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20241557-1/>
- <https://bugzilla.suse.com/1189495>
- <https://bugzilla.suse.com/1191175>
- <https://bugzilla.suse.com/1218686>
- <https://www.suse.com/security/cve/CVE-2021-3521>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20241557-2/>
- <https://www.suse.com/support/update/announcement/2024/suse-su-20241557-3/>
- <https://access.redhat.com/errata/RHSA-2022:0254>
- <https://access.redhat.com/security/updates/classification/#moderate>
- <https://security.access.redhat.com/data/csaf/v2/advisories/2022/rhsa-2022_0254.json>
- <https://www.cve.org/CVERecord?id=CVE-2021-3521>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-3521>

---

Data as of 2026-12-05T07:37:00.781Z. 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
