CVE-2021-3521
published 2022-08-22CVE-2021-3521: 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…
PriorityP420medium4.7CVSS 3.1
AVLACHPRNUIRSUCNIHAN
EPSS
0.30%
22.2th percentile
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
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | rpm | < rpm 4.18.0+dfsg-1 (bookworm) | rpm 4.18.0+dfsg-1 (bookworm) |
| msrc | cbl2_rpm_4.18.0-1_on_cbl_mariner_2.0 | — | — |
| msrc | cm1_rpm_4.14.2-15_on_cbl_mariner_1.0 | — | — |
| rpm | rpm | < 4.17.1 | 4.17.1 |
| rpm | rpm | — | — |
| rpm | rpm | >= 0 < 4.18.0+dfsg-1 | 4.18.0+dfsg-1 |
| rpm | rpm | >= 0 < 4.18.0+dfsg-1 | 4.18.0+dfsg-1 |
| rpm | rpm | >= 0 < 4.18.0+dfsg-1 | 4.18.0+dfsg-1 |
CVSS provenance
nvdv3.14.7MEDIUMCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
osv4.7MEDIUM
vendor_debian4.7MEDIUM
vendor_msrc4.7MEDIUM
vendor_redhat4.7MEDIUM
vendor_oracle4.4MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Microsoft
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 th
vendor_msrc·2022-08-09·CVSS 4.7
CVE-2021-3521 [MEDIUM] CWE-347 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 th
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.
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
Oracle
Oracle Oracle Communications Risk Matrix: OC-CNE (rpm) — CVE-2021-3521
vendor_oracle·2022-04-15·CVSS 4.4
CVE-2021-3521 [MEDIUM] Oracle Oracle Communications Risk Matrix: OC-CNE (rpm) — CVE-2021-3521
Oracle Oracle Communications Risk Matrix: OC-CNE (rpm) vulnerability
CVE: CVE-2021-3521
CVSS: 4.4
Protocol: None
Remote exploit: No
Affected versions: Local
Advisory: cpuapr2022 (APR 2022)
Red Hat
rpm: RPM does not require subkeys to have a valid binding signature
vendor_redhat·2021-09-28·CVSS 4.7
CVE-2021-3521 [MEDIUM] CWE-347 rpm: RPM does not require subkeys to have a valid binding signature
rpm: RPM does not require subkeys to have a valid binding signature
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.
There is a flaw in RPM's signature functionality. OpenPGP subkeys are associ
Debian
CVE-2021-3521: rpm - There is a flaw in RPM's signature functionality. OpenPGP subkeys are associated...
vendor_debian·2021·CVSS 4.7
CVE-2021-3521 [MEDIUM] CVE-2021-3521: rpm - There is a flaw in RPM's signature functionality. OpenPGP subkeys are associated...
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.
Scope: local
bookworm: resolved (fixed in 4.18.0+dfsg-1)
bullseye: open
forky: resolved (fixed in 4.18.0+dfsg-1)
sid: resolved (fixed in 4.18.0+df
GHSA
GHSA-pr6x-p264-jrpq: There is a flaw in RPM's signature functionality
ghsa_unreviewed·2022-08-23
CVE-2021-3521 [MEDIUM] CWE-347 GHSA-pr6x-p264-jrpq: There is a flaw in RPM's signature functionality
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.
OSV
CVE-2021-3521: There is a flaw in RPM's signature functionality
osv·2022-08-22·CVSS 4.7
CVE-2021-3521 [MEDIUM] CVE-2021-3521: There is a flaw in RPM's signature functionality
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.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
https://access.redhat.com/security/cve/CVE-2021-3521https://bugzilla.redhat.com/show_bug.cgi?id=1941098https://github.com/rpm-software-management/rpm/commit/bd36c5dc9fb6d90c46fbfed8c2d67516fc571ec8https://github.com/rpm-software-management/rpm/pull/1795/https://security.gentoo.org/glsa/202210-22https://access.redhat.com/security/cve/CVE-2021-3521https://bugzilla.redhat.com/show_bug.cgi?id=1941098https://github.com/rpm-software-management/rpm/commit/bd36c5dc9fb6d90c46fbfed8c2d67516fc571ec8https://github.com/rpm-software-management/rpm/pull/1795/https://security.gentoo.org/glsa/202210-22
2022-08-22
Published