CVE-2021-3521
CVE-2021-3521
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 4.7 · Medium · EPSS 0.3% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
rpm
- Versions
- Fixed in rpm-4.18.0-beta1, rpm-4.18.0-alpha2, rpm-4.18.0-alpha1 .: Affected
No fix published
rpm Debian:12
- Affected ranges
- ECOSYSTEM: < 4.18.0+dfsg-1
Update to 4.18.0+dfsg-1
rpm Debian:13
- Affected ranges
- ECOSYSTEM: < 4.18.0+dfsg-1
Update to 4.18.0+dfsg-1
rpm Debian:14
- Affected ranges
- ECOSYSTEM: < 4.18.0+dfsg-1
Update to 4.18.0+dfsg-1
rpm Ubuntu:Pro:14.04:LTS
- Versions
- 4.11.1-2
- 4.11.1-3
- 4.11.1-3ubuntu0.1
- 4.11.1-3ubuntu0.1+esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
rpm Ubuntu:Pro:16.04:LTS
- Versions
- 4.12.0.1+dfsg1-3build2
- 4.12.0.1+dfsg1-3build3
- 4.12.0.1+dfsg1-3ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
rpm Ubuntu:Pro:18.04:LTS
- Versions
- 4.12.0.2+dfsg1-2build2
- 4.14.0+dfsg1-2
- 4.14.1+dfsg1-2
- 4.14.1+dfsg1-2ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
rpm Ubuntu:Pro:20.04:LTS
- Versions
- 4.14.2.1+dfsg1-1
- 4.14.2.1+dfsg1-1build1
- 4.14.2.1+dfsg1-1build2
- 4.14.2.1+dfsg1-1ubuntu0.1~esm1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
rpm Ubuntu:22.04:LTS
- Versions
- 4.16.1.2+dfsg1-3ubuntu1
- 4.16.1.2+dfsg1-3ubuntu3
- 4.17.0+dfsg1-1
- 4.17.0+dfsg1-3
- 4.17.0+dfsg1-4
- 4.17.0+dfsg1-4build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
rpm Ubuntu:24.04:LTS
- Versions
- 4.18.0+dfsg-1build1
- 4.18.0+dfsg-1build2
- 4.18.2+dfsg-1
- 4.18.2+dfsg-2
- 4.18.2+dfsg-2.1build1
- 4.18.2+dfsg-2.1build2
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
rpm Ubuntu:25.10
- Versions
- 4.20.1+dfsg-1
- 4.20.1+dfsg-2
- 4.20.1+dfsg-2build1
- 4.20.1+dfsg-3
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
rpm Ubuntu:26.10
- Versions
- 6.0.1-1build1
- 6.1.0-1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
rpm Ubuntu:26.04:LTS
- Versions
- 4.20.1+dfsg-3
- 6.0.0-2
- 6.0.1-1
- 6.0.1-1build1
- Affected ranges
- ECOSYSTEM: (−∞, +∞)
No fix published
Original sources
- 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://nvd.nist.gov/vuln/detail/CVE-2021-3521