UBUNTU-CVE-2022-23645

Source
https://ubuntu.com/security/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?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": [
        {
            "binary_version": "0.6.3-0ubuntu3",
            "binary_name": "swtpm"
        },
        {
            "binary_version": "0.6.3-0ubuntu3",
            "binary_name": "swtpm-dbgsym"
        },
        {
            "binary_version": "0.6.3-0ubuntu3",
            "binary_name": "swtpm-tools"
        },
        {
            "binary_version": "0.6.3-0ubuntu3",
            "binary_name": "swtpm-tools-dbgsym"
        }
    ]
}