OESA-2022-2049

Source
https://www.openeuler.org/en/security/security-bulletins/detail/?id=openEuler-SA-2022-2049
Import Source
https://repo.openeuler.org/security/data/osv/OESA-2022-2049.json
JSON Data
https://api.test.osv.dev/v1/vulns/OESA-2022-2049
Upstream
Published
2022-11-11T11:04:31Z
Modified
2025-08-12T05:12:41.259107Z
Summary
swtpm security update
Details

TPM emulator built on libtpms providing TPM functionality for QEMU VMs

Security Fix(es):

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.(CVE-2022-23645)

Database specific
{
    "severity": "Medium"
}
References

Affected packages

openEuler:22.03-LTS / swtpm

Package

Name
swtpm
Purl
pkg:rpm/openEuler/swtpm&distro=openEuler-22.03-LTS

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.3.3-6.oe2203

Ecosystem specific

{
    "x86_64": [
        "swtpm-devel-0.3.3-6.oe2203.x86_64.rpm",
        "swtpm-0.3.3-6.oe2203.x86_64.rpm",
        "swtpm-libs-0.3.3-6.oe2203.x86_64.rpm",
        "swtpm-tools-0.3.3-6.oe2203.x86_64.rpm",
        "swtpm-debuginfo-0.3.3-6.oe2203.x86_64.rpm",
        "swtpm-debugsource-0.3.3-6.oe2203.x86_64.rpm"
    ],
    "aarch64": [
        "swtpm-debugsource-0.3.3-6.oe2203.aarch64.rpm",
        "swtpm-debuginfo-0.3.3-6.oe2203.aarch64.rpm",
        "swtpm-devel-0.3.3-6.oe2203.aarch64.rpm",
        "swtpm-libs-0.3.3-6.oe2203.aarch64.rpm",
        "swtpm-0.3.3-6.oe2203.aarch64.rpm",
        "swtpm-tools-0.3.3-6.oe2203.aarch64.rpm"
    ],
    "src": [
        "swtpm-0.3.3-6.oe2203.src.rpm"
    ]
}