CVE-2022-23645

Summary

CVECVE-2022-23645
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-02-18 21:15:00 UTC
Updated2023-11-07 03:44:00 UTC
Descriptionswtpm 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.

Risk And Classification

Problem Types: CWE-125

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 35 All All All
Operating System Redhat Enterprise Linux 8.0 All All All
Application Swtpm Project Swtpm All All All All
Application Swtpm Project Swtpm 0.7.0 - All All
Application Swtpm Project Swtpm 0.7.0 rc1 All All
Application Swtpm Project Swtpm 0.7.0 rc2 All All

References

ReferenceSourceLinkTags
[SECURITY] Fedora 35 Update: swtpm-0.7.1-1.20220218git92a7035.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 35 Update: swtpm-0.7.1-1.20220218git92a7035.fc35 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
swtpm: Check header size indicator against expected size (CID 375869) · stefanberger/swtpm@9f74086 · GitHub MISC github.com
Release Release of v0.5.3 · stefanberger/swtpm · GitHub MISC github.com
Release Release of v0.6.2 · stefanberger/swtpm · GitHub MISC github.com
Out-of-bounds read in swtpm when a specially crafted header of swtpm's state is given · Advisory · stefanberger/swtpm · GitHub CONFIRM github.com
Release Release of v0.7.1 · stefanberger/swtpm · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 160248 Oracle Enterprise Linux Security Update for virt:ol and virt-devel:ol (ELSA-2022-7472)
  • 160279 Oracle Enterprise Linux Security Update for swtpm (ELSA-2022-8100)
  • 183072 Debian Security Update for swtpm (CVE-2022-23645)
  • 240837 Red Hat Update for virt:rhel and virt-devel:rhel security (RHSA-2022:7472)
  • 240878 Red Hat Update for swtpm (RHSA-2022:8100)
  • 282460 Fedora Security Update for swtpm (FEDORA-2022-12443a525c)
  • 753281 SUSE Enterprise Linux Security Update for swtpm (SUSE-SU-2022:1297-1)
  • 940836 AlmaLinux Security Update for swtpm (ALSA-2022:8100)
  • 960170 Rocky Linux Security Update for virt:rhel and virt-devel:rhel (RLSA-2022:7472)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report