cve.bz

CVE-2021-3421

5.5 mediumEPSS 0.6%Fix available

Medium (5.5). EPSS 0.6% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in the RPM package in the read functionality. This flaw allows an attacker who can convince a victim to install a seemingly verifiable package or compromise an RPM repository, to cause RPM database corruption. The highest threat from this vulnerability is to data integrity. This flaw affects RPM versions before 4.17.0-alpha.

Severity

CVSS 3.1

5.5 medium
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
EPSS
0.6% (unchanged from 0.6% a week ago; 0.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 52nd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-347 Improper Verification of Cryptographic Signature
OWASP Top 10
A04:2025 Cryptographic Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-3421 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3421?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3421?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-3421 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
rpm:rpmbefore 4.16.1.3
redhat:enterprise_linux8.0
fedoraproject:fedora32
fedoraproject:fedora33
fedoraproject:fedora34

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14rpm4.16.1.2+dfsg1-1DEBIAN-CVE-2021-3421
UbuntuPro:14.04:LTSrpmno fix listedUBUNTU-CVE-2021-3421
UbuntuPro:16.04:LTSrpm4.12.0.1+dfsg1-3ubuntu0.1~esm1UBUNTU-CVE-2021-3421 USN-5273-1
UbuntuPro:18.04:LTSrpm4.14.1+dfsg1-2ubuntu0.1~esm1UBUNTU-CVE-2021-3421 USN-5273-1
UbuntuPro:20.04:LTSrpm4.14.2.1+dfsg1-1ubuntu0.1~esm1UBUNTU-CVE-2021-3421 USN-5273-1
Red Hatenterprise_linux:8::appstreamrpm-build, rpm-debuginfo, rpm-debugsource and 13 more0:4.14.3-14.el8_4RHSA-2021:2574
Red Hatenterprise_linux:8::baseosrpm, rpm-cron, rpm-libs and 24 more0:4.14.3-14.el8_4RHSA-2021:2574
Red Hatrhel_eus:8.2::appstreamrpm-build, rpm-debuginfo, rpm-debugsource and 11 more0:4.14.2-38.el8_2RHSA-2021:2791
Red Hatrhel_eus:8.2::baseosrpm, rpm-cron, rpm-libs and 23 more0:4.14.2-38.el8_2RHSA-2021:2791
SUSELinux Enterprise Micro 5.0, Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Development Tools 15 SP2 and 2 morerpm4.14.1-22.4.2SUSE-SU-2021:3444-1
SUSELinux Enterprise Micro 5.0, Linux Enterprise Module for Basesystem 15 SP2, Linux Enterprise Module for Python 2 15 SP2python-rpm4.14.1-22.4.1SUSE-SU-2021:3444-1
SUSELinux Enterprise Module for Basesystem 15 SP3rpm, python-rpm4.14.3-37.2SUSE-SU-2021:2682-1
SUSELinux Enterprise Module for Development Tools 15 SP3, Manager Proxy Module 4.2, Manager Server Module 4.2rpm4.14.3-37.2SUSE-SU-2021:2682-1
SUSELinux Enterprise Module for Public Cloud 15 SP2rpm-ndb4.14.1-22.4.2SUSE-SU-2021:3444-1
SUSELinux Enterprise Module for Public Cloud 15 SP3rpm-ndb4.14.3-37.2SUSE-SU-2021:2682-1
SUSELinux Enterprise Module for Python 2 15 SP3python-rpm4.14.3-37.2SUSE-SU-2021:2682-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5rpm, rpm-python, python3-rpm4.11.2-16.26.1SUSE-SU-2022:3939-1
SUSELinux Enterprise Software Development Kit 12 SP5rpm4.11.2-16.26.1SUSE-SU-2022:3939-1
openSUSELeap 15.2rpm, python-rpm4.14.1-lp152.18.3.1openSUSE-SU-2021:1366-1
openSUSELeap 15.3libdnf0.62.0-5.3.1openSUSE-SU-2021:2685-1
openSUSELeap 15.3rpm, rpm-ndb, python-rpm4.14.3-37.2openSUSE-SU-2021:2682-1
openSUSETumbleweedrpm4.16.1.3-3.2openSUSE-SU-2024:11305-1
Rocky Linux8rpm0:4.14.3-14.el8_4RLSA-2021:2574
Alpinev3.13, v3.14, v3.15 and 9 morerpm4.16.1.3-r0ALPINE-CVE-2021-3421

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

To exploit this flaw, an attacker must either compromise an RPM repository or convince an administrator to install an untrusted RPM. It is strongly recommended to only use RPMs from trusted repositories.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8rpm-0:4.14.3-14.el8_4Fixed 2021-06-29RHSA-2021:2574
Red Hat Enterprise Linux 8.2 Extended Update Supportrpm-0:4.14.2-38.el8_2Fixed 2021-07-20RHSA-2021:2791
Red Hat Enterprise Linux 6rpmOut of support scope
Red Hat Enterprise Linux 7rpmOut of support scope
Red Hat Enterprise Linux 9rpmNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-3421.

Attack patterns (CAPEC)

  • CAPEC-463 Padding Oracle Crypto Attack Severity: High
  • CAPEC-475 Signature Spoofing by Improper Validation Likelihood: Low · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON