Skip to content
OpenAdvisories
Unscored CVE-2021-3521 EUVD-2021-26837GHSA-pr6x-p264-jrpq

There is a flaw in RPM's signature functionality. OpenPGP subkeys are associated with a primary key via a "binding signature." RPM does not…

Published Aug 22, 2022 · Updated Aug 3, 2024 · 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 products

VendorProductAffectedFixed
— RPM Fixed in rpm-4.18.0-beta1, rpm-4.18.0-alpha2, rpm-4.18.0-alpha1 . —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 rpm 4.18.0+dfsg-1 —
Debian 13 rpm 4.18.0+dfsg-1 —
Debian 12 rpm 4.18.0+dfsg-1 —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 rpm No fix yet —
Ubuntu 26.04 LTS rpm No fix yet —
Ubuntu 25.10 rpm No fix yet —
Ubuntu 24.04 LTS rpm No fix yet —
Ubuntu 22.04 LTS rpm No fix yet —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS rpm No fix yet —
Ubuntu Pro 18.04 LTS rpm No fix yet —
Ubuntu Pro 16.04 LTS rpm No fix yet —
Ubuntu Pro 14.04 LTS rpm No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 rpm +14 4.14.3-19.el8_5.2 RHSA-2022:0368
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.4 EUS rpm +14 4.14.3-14.el8_4.2 RHSA-2022:0254
RHEL 8.2 EUS rpm +13 4.14.2-40.el8_2 RHSA-2022:0634

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 rpm-build +1 4.14.3-19.el8_5.2 ALSA-2022:0368

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 rpm 4.14.3-19.el8_5.2 RLSA-2022:0368
ReleasePackageFixed inAdvisory
SLES 15 SP6 rpm +2 4.14.3-150400.59.16.1 SUSE-SU-2024:1557-2
SLES 15 SP5 rpm +2 4.14.3-150400.59.16.1 SUSE-SU-2024:1557-1
SLES 15 SP4 rpm +2 4.14.3-150400.59.16.1 SUSE-SU-2024:1557-1
SLES 3 python-rpm 4.14.3-150400.59.16.1 SUSE-SU-2024:1557-2, SUSE-SU-2024:1557-1
Show 8 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP4 rpm +1 4.14.3-150400.59.16.1 SUSE-SU-2024:1557-1
SLE Micro 5.5 rpm +2 4.14.3-150400.59.16.1 SUSE-SU-2024:1557-3, SUSE-SU-2024:1557-1
SLE Micro 5.4 rpm +2 4.14.3-150400.59.16.1 SUSE-SU-2024:1557-1
SLE HPC 15 SP4 rpm +1 4.14.3-150400.59.16.1 SUSE-SU-2024:1557-1
SUSE Manager Server Module 4.3 rpm 4.14.3-150400.59.16.1 SUSE-SU-2024:1557-1
SUSE Manager Server 4.3 rpm +1 4.14.3-150400.59.16.1 SUSE-SU-2024:1557-1
SUSE Manager Proxy Module 4.3 rpm 4.14.3-150400.59.16.1 SUSE-SU-2024:1557-1
SUSE Manager Proxy 4.3 rpm +1 4.14.3-150400.59.16.1 SUSE-SU-2024:1557-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed rpm 4.17.1-1.1 openSUSE-SU-2024:12245-1
openSUSE Leap 15.6 rpm +2 4.14.3-150400.59.16.1 SUSE-SU-2024:1557-2
openSUSE Leap 15.5 rpm +2 4.14.3-150400.59.16.1 SUSE-SU-2024:1557-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.4 rpm +2 4.14.3-150400.59.16.1 SUSE-SU-2024:1557-1
ReleasePackageFixed inAdvisory
Alpine v3.24 rpm 4.17.1-r0 —
Alpine v3.23 rpm 4.17.1-r0 —
Alpine v3.22 rpm 4.17.1-r0 —
Alpine v3.21 rpm 4.17.1-r0 —
Alpine v3.20 rpm 4.17.1-r0 —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 rpm 4.17.1-r0 —
Alpine v3.18 rpm 4.17.1-r0 —
Alpine v3.17 rpm 4.17.1-r0 —

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) rpm 4.18.0-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 rpm +14 4.14.3-19.el8_5.2 ELSA-2022-0368

Advisories 13

References