ubuntu-cve-2022-23645 Withdrawn 2025-07-18
Vulnerability from osv_ubuntu
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.
{
"affected": [
{
"ecosystem_specific": {
"availability": "No subscription required",
"binaries": [
{
"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",
"binary_version": "0.6.3-0ubuntu3"
}
]
},
"package": {
"ecosystem": "Ubuntu:22.04:LTS",
"name": "swtpm",
"purl": "pkg:deb/ubuntu/swtpm@0.6.3-0ubuntu3?arch=source\u0026distro=jammy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"fixed": "0.6.3-0ubuntu3"
}
],
"type": "ECOSYSTEM"
}
],
"versions": [
"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"
]
}
],
"aliases": [],
"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\u0027s state, where the blobheader\u0027s 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.",
"id": "UBUNTU-CVE-2022-23645",
"modified": "2025-07-16T05:01:11Z",
"published": "2022-02-18T21:15:00Z",
"references": [
{
"type": "REPORT",
"url": "https://ubuntu.com/security/CVE-2022-23645"
},
{
"type": "REPORT",
"url": "https://github.com/stefanberger/swtpm/security/advisories/GHSA-2qgm-8xf4-3hqw"
},
{
"type": "REPORT",
"url": "https://github.com/stefanberger/swtpm/releases/tag/v0.5.3"
},
{
"type": "REPORT",
"url": "https://github.com/stefanberger/swtpm/releases/tag/v0.6.2"
},
{
"type": "REPORT",
"url": "https://github.com/stefanberger/swtpm/releases/tag/v0.7.1"
},
{
"type": "REPORT",
"url": "https://www.cve.org/CVERecord?id=CVE-2022-23645"
}
],
"related": [],
"schema_version": "1.7.0",
"severity": [
{
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
"type": "CVSS_V3"
},
{
"score": "medium",
"type": "Ubuntu"
}
],
"upstream": [
"CVE-2022-23645"
],
"withdrawn": "2025-07-18T16:49:16Z"
}
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.