
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2022-23645 is a vulnerability discovered in swtpm (TPM Emulator) that was disclosed on February 18, 2022. The vulnerability affects the TPM emulator built on libtpms that provides TPM functionality for QEMU VMs. The issue exists in versions 0.7.0, 0.6.1, 0.5.2, and 0.4.2 (GHSA Advisory).
The vulnerability occurs when a specially crafted header of swtpm's state contains an invalid value in the blobheader's hdrsize indicator. This can lead to an out-of-bounds read when accessing the byte array representing the state of the TPM. The issue stems from insufficient validation of the header size indicator against the expected size (NVD, GHSA Advisory).
When exploited, this vulnerability can cause an out-of-bounds access when the byte array representing the state of the TPM is accessed. This will likely result in either a crash of swtpm or prevent it from starting since the state cannot be properly understood (GHSA Advisory).
The vulnerability has been patched in versions 0.7.1, 0.6.2, and 0.5.3. Users are advised to upgrade to these patched versions. There are no known workarounds for this vulnerability (GHSA Advisory, GitHub Release).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."