CVE-2021-3521
publishedrpm: RPM does not require subkeys to have a valid binding signature
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | RPMFixed in rpm-4.18.0-beta1, rpm-4.18.0-alpha2, rpm-4.18.0-alpha1 . | Affected | Not stated | redhat |
| AlmaLinux | 8 | rpm-build | Advisory build | 4.14.3-19.el8_5.2 | ALSA-2022:0368 |
| Alpine Linux | edge | rpm | Fixed | 4.17.1-r0 | Package fix record |
| Oracle Linux | 8 | python3-rpmaarch64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpmaarch64 | Advisory build | 4.14.2-40.el8_2 | RHSA-2022:0634 |
| AlmaLinux | 8 | rpm-plugin-fapolicyd | Advisory build | 4.14.3-19.el8_5.2 | ALSA-2022:0368 |
| Alpine Linux | v3.17 | rpm | Fixed | 4.17.1-r0 | Package fix record |
| Alpine Linux | v3.18 | rpm | Fixed | 4.17.1-r0 | Package fix record |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.19 | rpm | Fixed | 4.17.1-r0 | Package fix record |
| Alpine Linux | v3.20 | rpm | Fixed | 4.17.1-r0 | Package fix record |
| Alpine Linux | v3.21 | rpm | Fixed | 4.17.1-r0 | Package fix record |
| Alpine Linux | v3.22 | rpm | Fixed | 4.17.1-r0 | Package fix record |
| Alpine Linux | v3.23 | rpm | Fixed | 4.17.1-r0 | Package fix record |
| Alpine Linux | v3.24 | rpm | Fixed | 4.17.1-r0 | Package fix record |
| Oracle Linux | 8 | python3-rpmx86_64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpmaarch64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpmx86_64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-apidocsaarch64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-apidocsx86_64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-buildaarch64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-buildx86_64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-build-libsaarch64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-build-libsx86_64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-cronaarch64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-cronx86_64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-develaarch64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-develx86_64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-libsaarch64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-libsx86_64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-plugin-fapolicydaarch64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-plugin-fapolicydx86_64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-plugin-imaaarch64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-plugin-imax86_64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-plugin-prioresetaarch64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-plugin-prioresetx86_64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-plugin-selinuxaarch64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-plugin-selinuxx86_64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-plugin-syslogaarch64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-plugin-syslogx86_64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-plugin-systemd-inhibitaarch64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-plugin-systemd-inhibitx86_64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-signaarch64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Oracle Linux | 8 | rpm-signx86_64 | Advisory build | 0:4.14.3-19.el8_5.2 | ELSA-2022-0368 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpmaarch64 | Advisory build | 4.14.3-14.el8_4.2 | RHSA-2022:0254 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpmaarch64 | Advisory build | 4.14.3-19.el8_5.2 | RHSA-2022:0368 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpmppc64le | Advisory build | 4.14.2-40.el8_2 | RHSA-2022:0634 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpmppc64le | Advisory build | 4.14.3-14.el8_4.2 | RHSA-2022:0254 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpmppc64le | Advisory build | 4.14.3-19.el8_5.2 | RHSA-2022:0368 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpms390x | Advisory build | 4.14.2-40.el8_2 | RHSA-2022:0634 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpms390x | Advisory build | 4.14.3-14.el8_4.2 | RHSA-2022:0254 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpms390x | Advisory build | 4.14.3-19.el8_5.2 | RHSA-2022:0368 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpmx86_64 | Advisory build | 4.14.2-40.el8_2 | RHSA-2022:0634 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpmx86_64 | Advisory build | 4.14.3-14.el8_4.2 | RHSA-2022:0254 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpmx86_64 | Advisory build | 4.14.3-19.el8_5.2 | RHSA-2022:0368 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpm-debuginfoaarch64 | Advisory build | 4.14.2-40.el8_2 | RHSA-2022:0634 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpm-debuginfoaarch64 | Advisory build | 4.14.3-14.el8_4.2 | RHSA-2022:0254 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpm-debuginfoaarch64 | Advisory build | 4.14.3-19.el8_5.2 | RHSA-2022:0368 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpm-debuginfoi686 | Advisory build | 4.14.2-40.el8_2 | RHSA-2022:0634 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpm-debuginfoi686 | Advisory build | 4.14.3-14.el8_4.2 | RHSA-2022:0254 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpm-debuginfoi686 | Advisory build | 4.14.3-19.el8_5.2 | RHSA-2022:0368 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpm-debuginfoppc64le | Advisory build | 4.14.2-40.el8_2 | RHSA-2022:0634 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpm-debuginfoppc64le | Advisory build | 4.14.3-14.el8_4.2 | RHSA-2022:0254 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpm-debuginfoppc64le | Advisory build | 4.14.3-19.el8_5.2 | RHSA-2022:0368 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpm-debuginfos390x | Advisory build | 4.14.2-40.el8_2 | RHSA-2022:0634 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpm-debuginfos390x | Advisory build | 4.14.3-14.el8_4.2 | RHSA-2022:0254 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpm-debuginfos390x | Advisory build | 4.14.3-19.el8_5.2 | RHSA-2022:0368 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpm-debuginfox86_64 | Advisory build | 4.14.2-40.el8_2 | RHSA-2022:0634 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpm-debuginfox86_64 | Advisory build | 4.14.3-14.el8_4.2 | RHSA-2022:0254 |
| Red Hat Enterprise Linux | RHEL-8 | python3-rpm-debuginfox86_64 | Advisory build | 4.14.3-19.el8_5.2 | RHSA-2022:0368 |
| Red Hat Enterprise Linux | RHEL-8 | rpmaarch64 | Advisory build | 4.14.2-40.el8_2 | RHSA-2022:0634 |
| Red Hat Enterprise Linux | RHEL-8 | rpmaarch64 | Advisory build | 4.14.3-14.el8_4.2 | RHSA-2022:0254 |
| Red Hat Enterprise Linux | RHEL-8 | rpmaarch64 | Advisory build | 4.14.3-19.el8_5.2 | RHSA-2022:0368 |
| Red Hat Enterprise Linux | RHEL-8 | rpmppc64le | Advisory build | 4.14.2-40.el8_2 | RHSA-2022:0634 |
| Red Hat Enterprise Linux | RHEL-8 | rpmppc64le | Advisory build | 4.14.3-14.el8_4.2 | RHSA-2022:0254 |
| Red Hat Enterprise Linux | RHEL-8 | rpmppc64le | Advisory build | 4.14.3-19.el8_5.2 | RHSA-2022:0368 |
| Red Hat Enterprise Linux | RHEL-8 | rpms390x | Advisory build | 4.14.2-40.el8_2 | RHSA-2022:0634 |
| Red Hat Enterprise Linux | RHEL-8 | rpms390x | Advisory build | 4.14.3-14.el8_4.2 | RHSA-2022:0254 |
| Red Hat Enterprise Linux | RHEL-8 | rpms390x | Advisory build | 4.14.3-19.el8_5.2 | RHSA-2022:0368 |
| Red Hat Enterprise Linux | RHEL-8 | rpmsrc | Advisory build | 4.14.2-40.el8_2 | RHSA-2022:0634 |
| Red Hat Enterprise Linux | RHEL-8 | rpmsrc | Advisory build | 4.14.3-14.el8_4.2 | RHSA-2022:0254 |
| Red Hat Enterprise Linux | RHEL-8 | rpmsrc | Advisory build | 4.14.3-19.el8_5.2 | RHSA-2022:0368 |
| Red Hat Enterprise Linux | RHEL-8 | rpmx86_64 | Advisory build | 4.14.2-40.el8_2 | RHSA-2022:0634 |
| Red Hat Enterprise Linux | RHEL-8 | rpmx86_64 | Advisory build | 4.14.3-14.el8_4.2 | RHSA-2022:0254 |
| Red Hat Enterprise Linux | RHEL-8 | rpmx86_64 | Advisory build | 4.14.3-19.el8_5.2 | RHSA-2022:0368 |
| Red Hat Enterprise Linux | RHEL-8 | rpm-apidocsnoarch | Advisory build | 4.14.2-40.el8_2 | RHSA-2022:0634 |
| Red Hat Enterprise Linux | RHEL-8 | rpm-apidocsnoarch | Advisory build | 4.14.3-14.el8_4.2 | RHSA-2022:0254 |
| Red Hat Enterprise Linux | RHEL-8 | rpm-apidocsnoarch | Advisory build | 4.14.3-19.el8_5.2 | RHSA-2022:0368 |
| Red Hat Enterprise Linux | RHEL-8 | rpm-buildaarch64 | Advisory build | 4.14.2-40.el8_2 | RHSA-2022:0634 |
| Red Hat Enterprise Linux | RHEL-8 | rpm-buildaarch64 | Advisory build | 4.14.3-14.el8_4.2 | RHSA-2022:0254 |
| Red Hat Enterprise Linux | RHEL-8 | rpm-buildaarch64 | Advisory build | 4.14.3-19.el8_5.2 | RHSA-2022:0368 |
| Red Hat Enterprise Linux | RHEL-8 | rpm-buildppc64le | Advisory build | 4.14.2-40.el8_2 | RHSA-2022:0634 |
| Red Hat Enterprise Linux | RHEL-8 | rpm-buildppc64le | Advisory build | 4.14.3-14.el8_4.2 | RHSA-2022:0254 |
| Red Hat Enterprise Linux | RHEL-8 | rpm-buildppc64le | Advisory build | 4.14.3-19.el8_5.2 | RHSA-2022:0368 |
| Red Hat Enterprise Linux | RHEL-8 | rpm-builds390x | Advisory build | 4.14.2-40.el8_2 | RHSA-2022:0634 |
| Red Hat Enterprise Linux | RHEL-8 | rpm-builds390x | Advisory build | 4.14.3-14.el8_4.2 | RHSA-2022:0254 |
| Red Hat Enterprise Linux | RHEL-8 | rpm-builds390x | Advisory build | 4.14.3-19.el8_5.2 | RHSA-2022:0368 |
| Red Hat Enterprise Linux | RHEL-8 | rpm-buildx86_64 | Advisory build | 4.14.2-40.el8_2 | RHSA-2022:0634 |
| Red Hat Enterprise Linux | RHEL-8 | rpm-buildx86_64 | Advisory build | 4.14.3-14.el8_4.2 | RHSA-2022:0254 |
| Red Hat Enterprise Linux | RHEL-8 | rpm-buildx86_64 | Advisory build | 4.14.3-19.el8_5.2 | RHSA-2022:0368 |
| Red Hat Enterprise Linux | RHEL-8 | rpm-build-debuginfoaarch64 | Advisory build | 4.14.2-40.el8_2 | RHSA-2022:0634 |
| Red Hat Enterprise Linux | RHEL-8 | rpm-build-debuginfoaarch64 | Advisory build | 4.14.3-14.el8_4.2 | RHSA-2022:0254 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | RPM | Fixed in rpm-4.18.0-beta1, rpm-4.18.0-alpha2, rpm-4.18.0-alpha1 . (affected) | redhat · cna |
Weaknesses
1- CWE-347 CWE-347 - Improper Verification of Cryptographic Signature
References
5- https://access.redhat.com/security/cve/CVE-2021-3521
- https://bugzilla.redhat.com/show_bug.cgi?id=1941098
- https://github.com/rpm-software-management/rpm/commit/bd36c5dc9fb6d90c46fbfed8c2d67516fc571ec8
- https://github.com/rpm-software-management/rpm/pull/1795/
- GLSA-202210-22 https://security.gentoo.org/glsa/202210-22
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 97297101f37498c62aec70cd285f698006487023d991e9e2f9df2fb09c094c42
- Ingested
- 23 Sep 2026, 07:55:51 UTC
- Source record
- Official CVE record