CVE Vulnerabilities

CVE-2021-3521

Improper Verification of Cryptographic Signature

Published: Aug 22, 2022 | Modified: Feb 12, 2023
CVSS 3.x
4.7
MEDIUM
Source:
NVD
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
4.4 MODERATE
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N
Ubuntu
NEGLIGIBLE

There is a flaw in RPMs 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.

Weakness

The product does not verify, or incorrectly verifies, the cryptographic signature for data.

Affected Software

Name Vendor Start Version End Version
Rpm Rpm * 4.17.1 (excluding)
Red Hat Enterprise Linux 8 RedHat rpm-0:4.14.3-19.el8_5.2 *
Red Hat Enterprise Linux 8 RedHat rpm-0:4.14.3-19.el8_5.2 *
Red Hat Enterprise Linux 8.2 Extended Update Support RedHat rpm-0:4.14.2-40.el8_2 *
Red Hat Enterprise Linux 8.4 Extended Update Support RedHat rpm-0:4.14.3-14.el8_4.2 *
Rpm Ubuntu bionic *
Rpm Ubuntu hirsute *
Rpm Ubuntu impish *
Rpm Ubuntu kinetic *
Rpm Ubuntu lunar *
Rpm Ubuntu mantic *
Rpm Ubuntu trusty *
Rpm Ubuntu xenial *

References