CVE-2021-3521

Name
CVE-2021-3521
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://access.redhat.com/security/cve/CVE-2021-3521
MISC https://github.com/rpm-software-management/rpm/pull/1795/
MISC https://bugzilla.redhat.com/show_bug.cgi?id=1941098
MISC https://github.com/rpm-software-management/rpm/commit/bd36c5dc9fb6d90c46fbfed8c2d67516fc571ec8

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:rpm:rpm:*:*:*:*:*:*:*:* rpm >= None < 4.18.0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
rpm 3.16-community 4.16.1.3-r3 None possibly vulnerable