Upstream information

CVE-2022-23645 at MITRE

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.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 2.1
Vector AV:L/AC:L/Au:N/C:N/I:N/A:P
Access Vector Local
Access Complexity Low
Authentication None
Confidentiality Impact None
Integrity Impact None
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database
Base Score 5.5
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack Vector Local
Attack Complexity Low
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality Impact None
Integrity Impact None
Availability Impact High
CVSSv3 Version 3.1
SUSE Bugzilla entry: 1196240 [RESOLVED / FIXED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Container suse/sles/15.4/virt-launcher:0.49.0.18.8
  • swtpm >= 0.5.3-150300.3.3.1
SUSE Enterprise Storage 7.1
SUSE Linux Enterprise High Performance Computing 15 SP3
SUSE Linux Enterprise Module for Server Applications 15 SP3
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server for SAP Applications 15 SP3
SUSE Manager Proxy 4.2
SUSE Manager Retail Branch Server 4.2
SUSE Manager Server 4.2
  • swtpm >= 0.5.3-150300.3.3.1
  • swtpm-devel >= 0.5.3-150300.3.3.1
Patchnames:
SUSE-SLE-Module-Server-Applications-15-SP3-2022-1297
SUSE Liberty Linux 8
  • hivex >= 1.3.18-23.module+el8.7.0+16689+53d59bc2
  • hivex-devel >= 1.3.18-23.module+el8.7.0+16689+53d59bc2
  • libguestfs >= 1.44.0-9.module+el8.7.0+16689+53d59bc2
  • libguestfs-appliance >= 1.44.0-9.module+el8.7.0+16689+53d59bc2
  • libguestfs-bash-completion >= 1.44.0-9.module+el8.7.0+16689+53d59bc2
  • libguestfs-devel >= 1.44.0-9.module+el8.7.0+16689+53d59bc2
  • libguestfs-gfs2 >= 1.44.0-9.module+el8.7.0+16689+53d59bc2
  • libguestfs-gobject >= 1.44.0-9.module+el8.7.0+16689+53d59bc2
  • libguestfs-gobject-devel >= 1.44.0-9.module+el8.7.0+16689+53d59bc2
  • libguestfs-inspect-icons >= 1.44.0-9.module+el8.7.0+16689+53d59bc2
  • libguestfs-java >= 1.44.0-9.module+el8.7.0+16689+53d59bc2
  • libguestfs-java-devel >= 1.44.0-9.module+el8.7.0+16689+53d59bc2
  • libguestfs-javadoc >= 1.44.0-9.module+el8.7.0+16689+53d59bc2
  • libguestfs-man-pages-ja >= 1.44.0-9.module+el8.7.0+16689+53d59bc2
  • libguestfs-man-pages-uk >= 1.44.0-9.module+el8.7.0+16689+53d59bc2
  • libguestfs-rescue >= 1.44.0-9.module+el8.7.0+16689+53d59bc2
  • libguestfs-rsync >= 1.44.0-9.module+el8.7.0+16689+53d59bc2
  • libguestfs-tools >= 1.44.0-9.module+el8.7.0+16689+53d59bc2
  • libguestfs-tools-c >= 1.44.0-9.module+el8.7.0+16689+53d59bc2
  • libguestfs-winsupport >= 8.6-1.module+el8.7.0+16689+53d59bc2
  • libguestfs-xfs >= 1.44.0-9.module+el8.7.0+16689+53d59bc2
  • libiscsi >= 1.18.0-8.module+el8.7.0+16689+53d59bc2
  • libiscsi-devel >= 1.18.0-8.module+el8.7.0+16689+53d59bc2
  • libiscsi-utils >= 1.18.0-8.module+el8.7.0+16689+53d59bc2
  • libnbd >= 1.6.0-5.module+el8.7.0+16689+53d59bc2
  • libnbd-bash-completion >= 1.6.0-5.module+el8.7.0+16689+53d59bc2
  • libnbd-devel >= 1.6.0-5.module+el8.7.0+16689+53d59bc2
  • libtpms >= 0.9.1-1.20211126git1ff6fe1f43.module+el8.7.0+16689+53d59bc2
  • libtpms-devel >= 0.9.1-1.20211126git1ff6fe1f43.module+el8.7.0+16689+53d59bc2
  • libvirt >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-client >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-daemon >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-daemon-config-network >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-daemon-config-nwfilter >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-daemon-driver-interface >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-daemon-driver-network >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-daemon-driver-nodedev >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-daemon-driver-nwfilter >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-daemon-driver-qemu >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-daemon-driver-secret >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-daemon-driver-storage >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-daemon-driver-storage-core >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-daemon-driver-storage-disk >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-daemon-driver-storage-gluster >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-daemon-driver-storage-iscsi >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-daemon-driver-storage-iscsi-direct >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-daemon-driver-storage-logical >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-daemon-driver-storage-mpath >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-daemon-driver-storage-rbd >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-daemon-driver-storage-scsi >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-daemon-kvm >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-dbus >= 1.3.0-2.module+el8.7.0+16689+53d59bc2
  • libvirt-devel >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-docs >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-libs >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-lock-sanlock >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-nss >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • libvirt-wireshark >= 8.0.0-10.module+el8.7.0+16689+53d59bc2
  • lua-guestfs >= 1.44.0-9.module+el8.7.0+16689+53d59bc2
  • nbdfuse >= 1.6.0-5.module+el8.7.0+16689+53d59bc2
  • nbdkit >= 1.24.0-4.module+el8.7.0+16689+53d59bc2
  • nbdkit-bash-completion >= 1.24.0-4.module+el8.7.0+16689+53d59bc2
  • nbdkit-basic-filters >= 1.24.0-4.module+el8.7.0+16689+53d59bc2
  • nbdkit-basic-plugins >= 1.24.0-4.module+el8.7.0+16689+53d59bc2
  • nbdkit-curl-plugin >= 1.24.0-4.module+el8.7.0+16689+53d59bc2
  • nbdkit-devel >= 1.24.0-4.module+el8.7.0+16689+53d59bc2
  • nbdkit-example-plugins >= 1.24.0-4.module+el8.7.0+16689+53d59bc2
  • nbdkit-gzip-filter >= 1.24.0-4.module+el8.7.0+16689+53d59bc2
  • nbdkit-gzip-plugin >= 1.24.0-4.module+el8.7.0+16689+53d59bc2
  • nbdkit-linuxdisk-plugin >= 1.24.0-4.module+el8.7.0+16689+53d59bc2
  • nbdkit-nbd-plugin >= 1.24.0-4.module+el8.7.0+16689+53d59bc2
  • nbdkit-python-plugin >= 1.24.0-4.module+el8.7.0+16689+53d59bc2
  • nbdkit-server >= 1.24.0-4.module+el8.7.0+16689+53d59bc2
  • nbdkit-ssh-plugin >= 1.24.0-4.module+el8.7.0+16689+53d59bc2
  • nbdkit-tar-filter >= 1.24.0-4.module+el8.7.0+16689+53d59bc2
  • nbdkit-tar-plugin >= 1.24.0-4.module+el8.7.0+16689+53d59bc2
  • nbdkit-tmpdisk-plugin >= 1.24.0-4.module+el8.7.0+16689+53d59bc2
  • nbdkit-vddk-plugin >= 1.24.0-4.module+el8.7.0+16689+53d59bc2
  • nbdkit-xz-filter >= 1.24.0-4.module+el8.7.0+16689+53d59bc2
  • netcf >= 0.2.8-12.module+el8.7.0+16689+53d59bc2
  • netcf-devel >= 0.2.8-12.module+el8.7.0+16689+53d59bc2
  • netcf-libs >= 0.2.8-12.module+el8.7.0+16689+53d59bc2
  • perl-Sys-Guestfs >= 1.44.0-9.module+el8.7.0+16689+53d59bc2
  • perl-Sys-Virt >= 8.0.0-1.module+el8.7.0+16689+53d59bc2
  • perl-hivex >= 1.3.18-23.module+el8.7.0+16689+53d59bc2
  • python3-hivex >= 1.3.18-23.module+el8.7.0+16689+53d59bc2
  • python3-libguestfs >= 1.44.0-9.module+el8.7.0+16689+53d59bc2
  • python3-libnbd >= 1.6.0-5.module+el8.7.0+16689+53d59bc2
  • python3-libvirt >= 8.0.0-2.module+el8.7.0+16689+53d59bc2
  • qemu-guest-agent >= 6.2.0-20.module+el8.7.0+16689+53d59bc2.1
  • qemu-img >= 6.2.0-20.module+el8.7.0+16689+53d59bc2.1
  • qemu-kvm >= 6.2.0-20.module+el8.7.0+16689+53d59bc2.1
  • qemu-kvm-block-curl >= 6.2.0-20.module+el8.7.0+16689+53d59bc2.1
  • qemu-kvm-block-gluster >= 6.2.0-20.module+el8.7.0+16689+53d59bc2.1
  • qemu-kvm-block-iscsi >= 6.2.0-20.module+el8.7.0+16689+53d59bc2.1
  • qemu-kvm-block-rbd >= 6.2.0-20.module+el8.7.0+16689+53d59bc2.1
  • qemu-kvm-block-ssh >= 6.2.0-20.module+el8.7.0+16689+53d59bc2.1
  • qemu-kvm-common >= 6.2.0-20.module+el8.7.0+16689+53d59bc2.1
  • qemu-kvm-core >= 6.2.0-20.module+el8.7.0+16689+53d59bc2.1
  • qemu-kvm-docs >= 6.2.0-20.module+el8.7.0+16689+53d59bc2.1
  • qemu-kvm-hw-usbredir >= 6.2.0-20.module+el8.7.0+16689+53d59bc2.1
  • qemu-kvm-ui-opengl >= 6.2.0-20.module+el8.7.0+16689+53d59bc2.1
  • qemu-kvm-ui-spice >= 6.2.0-20.module+el8.7.0+16689+53d59bc2.1
  • ruby-hivex >= 1.3.18-23.module+el8.7.0+16689+53d59bc2
  • ruby-libguestfs >= 1.44.0-9.module+el8.7.0+16689+53d59bc2
  • seabios >= 1.16.0-3.module+el8.7.0+16689+53d59bc2
  • seabios-bin >= 1.16.0-3.module+el8.7.0+16689+53d59bc2
  • seavgabios-bin >= 1.16.0-3.module+el8.7.0+16689+53d59bc2
  • sgabios >= 0.20170427git-3.module+el8.7.0+16689+53d59bc2
  • sgabios-bin >= 0.20170427git-3.module+el8.7.0+16689+53d59bc2
  • supermin >= 5.2.1-2.module+el8.7.0+16689+53d59bc2
  • supermin-devel >= 5.2.1-2.module+el8.7.0+16689+53d59bc2
  • swtpm >= 0.7.0-4.20211109gitb79fd91.module+el8.7.0+16689+53d59bc2
  • swtpm-devel >= 0.7.0-4.20211109gitb79fd91.module+el8.7.0+16689+53d59bc2
  • swtpm-libs >= 0.7.0-4.20211109gitb79fd91.module+el8.7.0+16689+53d59bc2
  • swtpm-tools >= 0.7.0-4.20211109gitb79fd91.module+el8.7.0+16689+53d59bc2
  • swtpm-tools-pkcs11 >= 0.7.0-4.20211109gitb79fd91.module+el8.7.0+16689+53d59bc2
  • virt-dib >= 1.44.0-9.module+el8.7.0+16689+53d59bc2
  • virt-v2v >= 1.42.0-21.module+el8.7.0+16689+53d59bc2
  • virt-v2v-bash-completion >= 1.42.0-21.module+el8.7.0+16689+53d59bc2
  • virt-v2v-man-pages-ja >= 1.42.0-21.module+el8.7.0+16689+53d59bc2
  • virt-v2v-man-pages-uk >= 1.42.0-21.module+el8.7.0+16689+53d59bc2
Patchnames:
ESSA-2022:0193
SUSE Liberty Linux 9
  • swtpm >= 0.7.0-3.20211109gitb79fd91.el9
  • swtpm-libs >= 0.7.0-3.20211109gitb79fd91.el9
  • swtpm-tools >= 0.7.0-3.20211109gitb79fd91.el9
Patchnames:
RHSA-2022:8100
SUSE Linux Enterprise High Performance Computing 15 SP4
SUSE Linux Enterprise Module for Server Applications 15 SP4
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server for SAP Applications 15 SP4
SUSE Manager Proxy 4.3
SUSE Manager Retail Branch Server 4.3
SUSE Manager Server 4.3
  • swtpm >= 0.5.3-150300.3.3.1
  • swtpm-devel >= 0.5.3-150300.3.3.1
Patchnames:
SUSE Linux Enterprise Module for Server Applications 15 SP4 GA swtpm-0.5.3-150300.3.3.1
SUSE Linux Enterprise Micro 5.1
  • swtpm >= 0.5.3-150300.3.3.1
Patchnames:
SUSE-SUSE-MicroOS-5.1-2022-1297
SUSE Linux Enterprise Micro 5.3
  • swtpm >= 0.5.3-150300.3.3.1
Patchnames:
SUSE Linux Enterprise Micro 5.3 GA swtpm-0.5.3-150300.3.3.1
SUSE Linux Enterprise Micro 5.4
  • swtpm >= 0.5.3-150300.3.3.1
Patchnames:
SUSE Linux Enterprise Micro 5.4 GA swtpm-0.5.3-150300.3.3.1
SUSE Linux Enterprise Micro 6.0
  • swtpm >= 0.8.0-1.86
  • swtpm-selinux >= 0.8.0-1.86
Patchnames:
SUSE Linux Enterprise Micro 6.0 GA swtpm-0.8.0-1.86
openSUSE Leap 15.3
  • swtpm >= 0.5.3-150300.3.3.1
  • swtpm-devel >= 0.5.3-150300.3.3.1
Patchnames:
openSUSE-SLE-15.3-2022-1297
openSUSE Leap 15.4
  • swtpm >= 0.5.3-150300.3.3.1
Patchnames:
openSUSE Leap 15.4 GA swtpm-0.5.3-150300.3.3.1
openSUSE Tumbleweed
  • swtpm >= 0.7.1-1.1
  • swtpm-devel >= 0.7.1-1.1
  • swtpm-selinux >= 0.7.1-1.1
Patchnames:
openSUSE-Tumbleweed-2024-11870


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise High Performance Computing 15 SP5 swtpm Already fixed
SUSE Linux Enterprise Micro 5.1 swtpm Released
SUSE Linux Enterprise Micro 5.2 swtpm Affected
SUSE Linux Enterprise Micro 5.3 swtpm Affected
SUSE Linux Enterprise Micro 5.4 swtpm Affected
SUSE Linux Enterprise Micro 5.5 swtpm Already fixed
SUSE Linux Enterprise Module for Server Applications 15 SP5 swtpm Already fixed
SUSE Linux Enterprise Server 15 SP5 swtpm Already fixed
SUSE Linux Enterprise Server for SAP Applications 15 SP5 swtpm Already fixed
SUSE Manager Proxy 4.3 swtpm Released
SUSE Manager Retail Branch Server 4.3 swtpm Released
SUSE Manager Server 4.3 swtpm Released
openSUSE Leap 15.5 swtpm Already fixed
openSUSE Leap Micro 5.5 swtpm Already fixed
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise High Performance Computing 15 SP3 swtpm Released
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS swtpm Affected
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS swtpm Affected
SUSE Linux Enterprise High Performance Computing 15 SP4 swtpm Released
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS swtpm Affected
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS swtpm Affected
SUSE Linux Enterprise Module for Server Applications 15 SP3 swtpm Released
SUSE Linux Enterprise Module for Server Applications 15 SP4 swtpm Released
SUSE Linux Enterprise Server 15 SP3 swtpm Released
SUSE Linux Enterprise Server 15 SP3-LTSS swtpm Affected
SUSE Linux Enterprise Server 15 SP4 swtpm Released
SUSE Linux Enterprise Server 15 SP4-LTSS swtpm Affected
SUSE Linux Enterprise Server for SAP Applications 15 SP3 swtpm Released
SUSE Linux Enterprise Server for SAP Applications 15 SP4 swtpm Released
Products past their end of life and not receiving proactive updates anymore.
SUSE Enterprise Storage 7.1 swtpm Released
SUSE Linux Enterprise Real Time 15 SP3 swtpm Affected
SUSE Linux Enterprise Real Time 15 SP4 swtpm Affected
SUSE Linux Enterprise Server 15 SP3-BCL swtpm Affected
SUSE Manager Proxy 4.2 swtpm Released
SUSE Manager Retail Branch Server 4.2 swtpm Released
SUSE Manager Server 4.2 swtpm Released
openSUSE Leap 15.3 swtpm Affected
openSUSE Leap 15.4 swtpm Affected
openSUSE Leap Micro 5.2 swtpm Affected
openSUSE Leap Micro 5.3 swtpm Affected
openSUSE Leap Micro 5.4 swtpm Affected
Container Status
suse/sles/15.5/virt-launcher:0.58.0
suse/sles/15.7/virt-launcher:1.1.1
swtpmAlready fixed
suse/sles/15.4/virt-launcher:0.49.0 swtpmReleased
suse/sles/15.3/virt-launcher:0.45.0 swtpmIn progress


SUSE Timeline for this CVE

CVE page created: Sat Feb 19 05:00:27 2022
CVE page last modified: Thu Sep 26 11:47:21 2024