CVE-2021-3445
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-3445 is a security vulnerability discovered in libdnf's signature verification functionality affecting versions before 0.60.1. The vulnerability was identified in early 2021 and affects the package management system used in various Linux distributions (NVD, Red Hat).

Technical details

The vulnerability exists in libdnf's signature verification mechanism where an attacker could bypass signature verification by placing a signature in the main RPM header. This flaw is specifically exploitable when RPM's package verification level is set to 'digest' or 'none'. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H (NVD).

Impact

If successfully exploited, this vulnerability allows an attacker to achieve code execution by altering the header information of an RPM package and tricking a user or system into installing it. The vulnerability poses significant risks to system confidentiality, integrity, and availability (NVD).

Mitigation and workarounds

A mitigation for this vulnerability is to set %pkgverifylevel to 'all' or '%pkgverifylevel signature' in /etc/rpm/macros. The permanent fix is available in libdnf version 0.60.1 and later. Various Linux distributions have released security updates to address this vulnerability, including Red Hat Enterprise Linux through RHSA-2021:4464 (Red Hat Bugzilla, Red Hat Advisory).

Additional resources


SourceThis report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-32322HIGH7.8
  • NixOSNixOS
  • android
NoNoSep 04, 2025
CVE-2025-26439HIGH7.8
  • NixOSNixOS
  • android
NoNoSep 04, 2025
CVE-2025-26431HIGH7.8
  • NixOSNixOS
  • android
NoNoSep 04, 2025
CVE-2025-22415MEDIUM4
  • NixOSNixOS
  • android
NoNoSep 04, 2025
CVE-2025-26419LOW3.3
  • NixOSNixOS
  • android
NoNoSep 04, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management