Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Rpm | Rpm | < 4.17.1 |
Related Weaknesses (CWE)
References
- https://access.redhat.com/security/cve/CVE-2021-3521Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1941098Issue TrackingPatchThird Party Advisory
- https://github.com/rpm-software-management/rpm/commit/bd36c5dc9fb6d90c46fbfed8c2PatchThird Party Advisory
- https://github.com/rpm-software-management/rpm/pull/1795/PatchThird Party Advisory
- https://security.gentoo.org/glsa/202210-22Third Party Advisory
- https://access.redhat.com/security/cve/CVE-2021-3521Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1941098Issue TrackingPatchThird Party Advisory
- https://github.com/rpm-software-management/rpm/commit/bd36c5dc9fb6d90c46fbfed8c2PatchThird Party Advisory
- https://github.com/rpm-software-management/rpm/pull/1795/PatchThird Party Advisory
- https://security.gentoo.org/glsa/202210-22Third Party Advisory
FAQ
What is CVE-2021-3521?
CVE-2021-3521 is a vulnerability with a CVSS score of 4.7 (MEDIUM). 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 th...
How severe is CVE-2021-3521?
CVE-2021-3521 has been rated MEDIUM with a CVSS base score of 4.7/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-3521?
Check the references section above for vendor advisories and patch information. Affected products include: Rpm Rpm.