cve.bz

CVE-2021-3445

7.5 highEPSS 1.1%

High (7.5). EPSS 1.1% estimated probability of exploitation activity in the next 30 days.

On this page
A flaw was found in libdnf's signature verification functionality in versions before 0.60.1. This flaw allows an attacker to achieve code execution if they can alter the header information of an RPM package and then trick a user or system into installing it. The highest risk of this vulnerability is to confidentiality, integrity, as well as system availability.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 67th 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-3445 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-3445?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-3445?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-3445 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:libdnfbefore 0.60.1
fedoraproject:fedora33
fedoraproject:fedora34
redhat:enterprise_linux8.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14libdnf0.55.2-6DEBIAN-CVE-2021-3445
Ubuntu22.04:LTSlibdnf0.55.2-6UBUNTU-CVE-2021-3445
Red Hatenterprise_linux:8::baseosdnf, yum, dnf-data and 2 more0:4.7.0-4.el8RHSA-2021:4464
Red Hatenterprise_linux:8::baseoslibdnf, python3-hawkey, python3-libdnf and 4 more0:0.63.0-3.el8RHSA-2021:4464
Red Hatenterprise_linux:8::baseosyum-utils, dnf-plugins-core, python3-dnf-plugins-core and 2 more0:4.0.21-3.el8RHSA-2021:4464
Red Hatenterprise_linux:8::crblibdnf-devel, libdnf-debuginfo, libdnf-debugsource and 2 more0:0.63.0-3.el8RHSA-2021:4464
openSUSELeap 15.3libdnf0.62.0-5.3.1openSUSE-SU-2021:2685-1
AlmaLinux8libdnf-devel0.63.0-3.el8ALSA-2021:4464
Rocky Linux8dnf0:4.7.0-4.el8RLSA-2021:4464
Rocky Linux8dnf-plugins-core0:4.0.21-3.el8RLSA-2021:4464
Rocky Linux8libdnf0:0.63.0-3.el8RLSA-2021:4464

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; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

The exploitation of this flaw requires RPM's package verification level to be set to "digest" or "none". In addition, 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.

Red Hat's mitigation

A mitigation for this flaw is to set %_pkgverify_level all` or `%_pkgverify_level signature` in `/etc/rpm/macros`.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8dnf-0:4.7.0-4.el8Fixed 2021-11-09RHSA-2021:4464
Red Hat Enterprise Linux 8dnf-plugins-core-0:4.0.21-3.el8Fixed 2021-11-09RHSA-2021:4464
Red Hat Enterprise Linux 8libdnf-0:0.63.0-3.el8Fixed 2021-11-09RHSA-2021:4464
Red Hat Enterprise Linux 9libdnfNot 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-3445.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13MultipleSCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

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