CVE-2021-3565
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-3565 is a security vulnerability discovered in tpm2-tools versions before 5.1.1 and before 4.3.2. The vulnerability was identified in the tpm2_import command, which used a fixed AES key for the inner wrapper. The issue was disclosed on June 4, 2021, affecting various versions of the tpm2-tools package, which provides utilities for management and utilization of Trusted Platform Module (TPM) 2.0 devices (NVD, CVE).

Technical details

The vulnerability stems from the tpm2import command's implementation, where it utilized a fixed AES wrapping key for the inner wrapper. This implementation weakness becomes particularly significant when no encrypted session with the TPM is used ([Red Hat Bugzilla](https://bugzilla.redhat.com/showbug.cgi?id=1964427)).

Impact

The primary impact of this vulnerability is on data confidentiality. When no encrypted session with the TPM is used, an attacker performing a Man-in-the-Middle (MITM) attack could potentially unwrap the inner portion and reveal the key being imported (CVE).

Mitigation and workarounds

The vulnerability has been addressed in tpm2-tools versions 5.1.1 and 4.3.2. Users are advised to upgrade to these or later versions. Red Hat has released security updates through RHSA-2021:4413 for affected versions (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-61619HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61618HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61617HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61610HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 2025
CVE-2025-61609HIGH7.5
  • NixOSNixOS
  • android
NoNoDec 01, 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