Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2021-3521: CVE-2021-3521 rpm: RPM does not require subkeys to have a valid binding signature (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Red Hat: CVE-2021-3521: CVE-2021-3521 rpm: RPM does not require subkeys to have a valid binding signature (Multiple Advisories)

Severity
4
CVSS
(AV:L/AC:M/Au:N/C:P/I:P/A:P)
Published
01/25/2022
Created
01/27/2022
Added
01/26/2022
Modified
12/15/2023

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.

Solution(s)

  • redhat-upgrade-python3-rpm
  • redhat-upgrade-python3-rpm-debuginfo
  • redhat-upgrade-rpm
  • redhat-upgrade-rpm-apidocs
  • redhat-upgrade-rpm-build
  • redhat-upgrade-rpm-build-debuginfo
  • redhat-upgrade-rpm-build-libs
  • redhat-upgrade-rpm-build-libs-debuginfo
  • redhat-upgrade-rpm-cron
  • redhat-upgrade-rpm-debuginfo
  • redhat-upgrade-rpm-debugsource
  • redhat-upgrade-rpm-devel
  • redhat-upgrade-rpm-devel-debuginfo
  • redhat-upgrade-rpm-libs
  • redhat-upgrade-rpm-libs-debuginfo
  • redhat-upgrade-rpm-plugin-fapolicyd
  • redhat-upgrade-rpm-plugin-fapolicyd-debuginfo
  • redhat-upgrade-rpm-plugin-ima
  • redhat-upgrade-rpm-plugin-ima-debuginfo
  • redhat-upgrade-rpm-plugin-prioreset
  • redhat-upgrade-rpm-plugin-prioreset-debuginfo
  • redhat-upgrade-rpm-plugin-selinux
  • redhat-upgrade-rpm-plugin-selinux-debuginfo
  • redhat-upgrade-rpm-plugin-syslog
  • redhat-upgrade-rpm-plugin-syslog-debuginfo
  • redhat-upgrade-rpm-plugin-systemd-inhibit
  • redhat-upgrade-rpm-plugin-systemd-inhibit-debuginfo
  • redhat-upgrade-rpm-sign
  • redhat-upgrade-rpm-sign-debuginfo

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;