CVE-2021-3521 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://access.redhat.com/security/cve/CVE-2021-3521 | CVE | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=1941098 | CVE | Issue TrackingPatchThird Party Advisory |
| https://github.com/rpm-software-management/rpm/commit/bd36c5dc9fb6d90c46fbfed8c2d67516fc571ec8 | CVE | PatchThird Party Advisory |
| https://github.com/rpm-software-management/rpm/pull/1795/ | CVE | PatchThird Party Advisory |
| https://security.gentoo.org/glsa/202210-22 | CVE | Third Party Advisory |
| https://access.redhat.com/security/cve/CVE-2021-3521 | [email protected] | Third Party Advisory |
| https://bugzilla.redhat.com/show_bug.cgi?id=1941098 | [email protected] | Issue TrackingPatchThird Party Advisory |
| https://github.com/rpm-software-management/rpm/commit/bd36c5dc9fb6d90c46fbfed8c2d67516fc571ec8 | [email protected] | PatchThird Party Advisory |
| https://github.com/rpm-software-management/rpm/pull/1795/ | [email protected] | PatchThird Party Advisory |
| https://security.gentoo.org/glsa/202210-22 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-347 | Improper Verification of Cryptographic Signature | [email protected] |
| CWE-347 | Improper Verification of Cryptographic Signature | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| rpm rpm | < 4.17.1 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Feb 12, 2023 | CVE Modified | [email protected] |
| Feb 2, 2023 | CVE Modified | [email protected] |
| Dec 3, 2022 | Modified Analysis | [email protected] |
| Oct 31, 2022 | CVE Modified | [email protected] |
| Sep 12, 2022 | Reanalysis | [email protected] |
| Aug 26, 2022 | Initial Analysis | [email protected] |