CVE & CISA-KEV Catalog

CVE-2022-23645

MEDIUM
6.2
CVSS v3
NVD

Description

swtpm is a libtpms-based TPM emulator with socket, character device, and Linux CUSE interface. Versions prior to 0.5.3, 0.6.2, and 0.7.1 are vulnerable to out-of-bounds read. A specially crafted header of swtpm's state, where the blobheader's hdrsize indicator has an invalid value, may cause an out-of-bounds access when the byte array representing the state of the TPM is accessed. This will likely crash swtpm or prevent it from starting since the state cannot be understood. Users should upgrade to swtpm v0.5.3, v0.6.2, or v0.7.1 to receive a patch. There are currently no known workarounds.

How to fix

Remediation Available
swtpmDebian
Fixed in:0.7.1-1CVE-2022-23645
Fixed in:0.7.1-1CVE-2022-23645
Fixed in:0.7.1-1CVE-2022-23645

Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.

CVSS v3 Vector

Exploitability

Attack VectorLocal
Attack ComplexityLow
Privileges RequiredNone
User InteractionNone
ScopeUnchanged

Impact

ConfidentialityNone
IntegrityNone
AvailabilityHigh

CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Exploit Intelligence

0.40%probability of exploitation in 30 days
32ndpercentile

Low risk: more likely to be exploited than 32% of all known CVEs.

References

Related Vulnerabilities

Other CWE-125 (Out-of-bounds Read) vulnerabilities, ordered by exploit likelihood. View all

CVESeverityCVSSEPSSExploitedFix
CVE-2014-0160High7.5100%KEVFix
CVE-2025-5777High7.5100%KEV + RansomFix
CVE-2021-4034High7.895%KEVFix
CVE-2023-21769High7.592%-Fix
CVE-2023-49285High8.689%-Fix
CVE-2020-8794Critical9.889%-Fix
Embed a live status badge for CVE-2022-23645
CVE-2022-23645 severity badge

Markdown

[![CVE-2022-23645](https://tridentstack.com/cve/badge/CVE-2022-23645.svg)](https://tridentstack.com/cve/CVE-2022-23645)

HTML

<a href="https://tridentstack.com/cve/CVE-2022-23645"><img src="https://tridentstack.com/cve/badge/CVE-2022-23645.svg" alt="CVE-2022-23645"></a>

Find and fix vulnerabilities across your fleet

TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.

Start free

This product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.