CVE-2022-23645
Summary
| CVE | CVE-2022-23645 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-02-18 21:15:00 UTC |
| Updated | 2023-11-07 03:44:00 UTC |
| 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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| [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 |
No vendor comments have been submitted for this CVE.
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)