UBUNTU-CVE-2022-23645

See a problem?
Source
https://ubuntu.com/security/notices/UBUNTU-CVE-2022-23645
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-23645.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2022-23645
Related
Published
2022-02-18T21:15:00Z
Modified
2022-02-18T21:15:00Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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.

References

Affected packages

Ubuntu:22.04:LTS / swtpm

Package

Name
swtpm
Purl
pkg:deb/ubuntu/swtpm@0.6.3-0ubuntu3?arch=src?distro=jammy

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.6.3-0ubuntu3

Affected versions

0.*

0.6.1-0ubuntu1
0.6.1-0ubuntu2
0.6.1-0ubuntu3
0.6.1-0ubuntu4
0.6.1-0ubuntu5
0.6.3-0ubuntu1
0.6.3-0ubuntu2

Ecosystem specific

{
    "availability": "No subscription required",
    "ubuntu_priority": "medium",
    "binaries": [
        {
            "swtpm-dbgsym": "0.6.3-0ubuntu3",
            "swtpm-tools-dbgsym": "0.6.3-0ubuntu3",
            "swtpm": "0.6.3-0ubuntu3",
            "swtpm-tools": "0.6.3-0ubuntu3"
        }
    ]
}