CVE-2021-3521
JSON

4.7medium

There is a flaw in RPM's signature functionality.

Severity
4.7medium CVSS:3.1 by NVD
Exploit likelihood
0.32% (higher than 27% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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.

Affected

Product or packageVersionsReported by
RPMFixed in rpm-4.18.0-beta1, rpm-4.18.0-alpha2, rpm-4.18.0-alpha1 .CVE List
rpm rpmbefore 4.17.1NVD

Classification

What each source says

CVE List

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 (es)

Se presenta un fallo en la funcionalidad de firma de RPM. Las subclaves OpenPGP se asocian a una clave primaria por medio de una "firma vinculante". RPM no comprueba la firma vinculante de las subclaves antes de importarlas. Si un atacante es capaz de añadir o hacer ingeniería social para que otra parte añada una subclave maliciosa a una clave pública legítima, RPM podría confiar erróneamente en una firma maliciosa. El mayor impacto de este fallo es la integridad de los datos. Para explotar este fallo, un atacante debe comprometer un repositorio de RPM o convencer a un administrador para que instale un RPM o una clave pública que no sean confiables. Es recomendado encarecidamente usar sólo RPMs y claves públicas de fuentes confiables.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-3521 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-3521 changed 2026-06-17Public domain