CVE-2021-3623
NixOS vulnerability analysis and mitigation

Overview

CVE-2021-3623 is a vulnerability discovered in libtpms, a library providing TPM (Trusted Platform Module) functionality. The flaw can be triggered by specially-crafted TPM 2 command packets containing illegal values, which may lead to an out-of-bounds access when the volatile state of the TPM 2 is marshalled/written or unmarshalled/read (NVD, Red Hat Bugzilla).

Technical details

The vulnerability is classified as an out-of-bounds write (CWE-787) with a CVSS v3.1 base score of 6.1 (Medium). The issue occurs when processing TPM 2 command packets with unacceptable/illegal values that become problematic during the marshalling or unmarshalling of the TPM 2's volatile state. This can result in either buffer access beyond its boundary or refusal to accept the state blob due to an illegal value (NVD).

Impact

The primary impact of this vulnerability is to system availability. While the buffer access beyond boundaries case does not lead to code execution, exploitation could result in information leakage and/or denial-of-service (DoS) through system crashes. An attacker must have direct or indirect access to call TPMLIB_VolatileAll_Store to exploit this flaw (Red Hat Bugzilla).

Mitigation and workarounds

The vulnerability has been fixed in libtpms versions 0.6.5, 0.7.8, and 0.8.4. The fix includes resetting buffer size indicators that are found to be too large and implementing checks for maximum size when marshaling data to prevent buffer overstepping (GitHub PR).

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-69264CRITICAL9.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69263HIGH8.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-69262HIGH7.8
  • JavaScriptJavaScript
  • pnpm
NoYesJan 07, 2026
CVE-2025-20807MEDIUM6.7
  • NixOSNixOS
  • android
NoNoJan 06, 2026
CVE-2026-21885MEDIUM6.5
  • NixOSNixOS
  • miniflux
NoYesJan 08, 2026

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