CVE-2021-3521

Medium

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.

SeverityMedium
CVSS4.7
Exploit probability—
ProductRpm
PublishedAug 22, 2022
First seenAug 22, 2022
Weakness typeCWE-347CWE-347

How to fix

Update
  • rpm rpm4.17.1 or later

Affected products

ProductAffected versionsFixed in
rpm rpmv < 4.17.14.17.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.