CVE-2021-3446
NixOS vulnerability analysis and mitigation

Overview

A vulnerability was discovered in libtpms versions before 0.8.2 related to the handling of initialization vectors (IV) in symmetric cipher operations. The vulnerability (CVE-2021-3446) involves the OpenSSL integration returning the initial IV instead of the last IV to the caller, which weakens subsequent encryption and decryption steps (NVD, RedHat Bugzilla).

Technical details

The vulnerability occurs in the commonly used integration of libtpms with OpenSSL. When certain symmetric ciphers are used, the system returns the initial IV instead of the last-used IV to the caller. This affects the subsequent encryption and decryption steps, as the correct IV is not being propagated. The CVSS v3.1 base score is 5.5 (MEDIUM) with vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N (NVD).

Impact

The primary impact of this vulnerability is on data confidentiality. The incorrect handling of IVs weakens the cryptographic operations, potentially making the encrypted data less secure. Additionally, after applying the fix, previously chain-encrypted data will not be decryptable anymore with TPM 2 (RedHat Bugzilla).

Mitigation and workarounds

The vulnerability has been fixed in libtpms versions 0.7.7 and 0.8.2. The fix involves copying the last-used IV from OpenSSL so it can be returned to the caller and used correctly in subsequent encryption and decryption steps (RedHat Bugzilla).

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-48606HIGH7.8
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48639HIGH7.3
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48625HIGH7
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48608MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 2025
CVE-2025-48569MEDIUM5.5
  • NixOSNixOS
  • android
NoNoDec 08, 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