CVE-2021-3521: rpm
Vulnerability summary
CVE-2021-3521 is a medium (CVSS 4.7) vulnerability in rpm. EPSS estimates a 0.33% chance of exploitation in the next 30 days, higher than 24% of scored vulnerabilities.
Timeline
- 22-08-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · Red hatEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
- OSV · DebianEcosystem advisory · calculated4.7MediumCVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:N
EPSS trend
Probability
0.33%
Chance of exploitation in the next 30 days
Percentile
24%
Versus all other CVEs
30-day change
0.00 pp
From 0.32% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Suse31 products
- python-rpm&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS< 4.14.3-150400.59.16.1
- python-rpm&distro=SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS< 4.14.3-150400.59.16.1
- python-rpm&distro=SUSE Linux Enterprise Micro 5.4< 4.14.3-150400.59.16.1
- python-rpm&distro=SUSE Linux Enterprise Micro 5.5< 4.14.3-150400.59.16.1
- python-rpm&distro=SUSE Linux Enterprise Module for Basesystem 15 SP5< 4.14.3-150400.59.16.1
Redhat29 products
- python3-rpm< 0:4.14.3-14.el8_4.2 | < 0:4.14.3-19.el8_5.2 | < 0:4.14.2-40.el8_2
- python3-rpm-debuginfo< 0:4.14.3-14.el8_4.2 | < 0:4.14.3-19.el8_5.2 | < 0:4.14.2-40.el8_2
- rpm< 0:4.14.3-14.el8_4.2 | < 0:4.14.3-19.el8_5.2 | < 0:4.14.2-40.el8_2
- rpm-apidocs< 0:4.14.3-14.el8_4.2 | < 0:4.14.3-19.el8_5.2 | < 0:4.14.2-40.el8_2
- rpm-build< 0:4.14.3-14.el8_4.2 | < 0:4.14.3-19.el8_5.2 | < 0:4.14.2-40.el8_2
Opensuse10 products
- python-rpm&distro=openSUSE Leap 15.5< 4.14.3-150400.59.16.1
- python-rpm&distro=openSUSE Leap 15.6< 4.14.3-150400.59.16.1
- python-rpm&distro=openSUSE Leap Micro 5.4< 4.14.3-150400.59.16.1
- rpm-ndb&distro=openSUSE Leap 15.5< 4.14.3-150400.59.16.1
- rpm-ndb&distro=openSUSE Leap 15.6< 4.14.3-150400.59.16.1
Debian1 product
- rpm< 4.18.0+dfsg-1
Mageia1 product
- rpm< 4.16.1.3-1.2.mga8
Rpm1 product
- rpm< 4.17.1
Ubuntu1 product
- rpmAll versions (No fix recorded)
7 vendors · 74 products
References
25 links- github.com/rpm-software-management/rpm/commit/bd36c5dc9fb6d90c46fbfed8c2d67516fc571ec8PatchThird Party Advisory