CVE-2022-23645
Published Feb 18, 2022
Last updated a year ago
Overview
- 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.
- Source
- security-advisories@github.com
- NVD status
- Modified
Social media
- Hype score
- Not currently trending
Risk scores
CVSS 3.1
- Type
- Primary
- Base score
- 5.5
- Impact score
- 3.6
- Exploitability score
- 1.8
- Vector string
- CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- Severity
- MEDIUM
CVSS 2.0
- Type
- Primary
- Base score
- 2.1
- Impact score
- 2.9
- Exploitability score
- 3.9
- Vector string
- AV:L/AC:L/Au:N/C:N/I:N/A:P
Weaknesses
- security-advisories@github.com
- CWE-125
Configurations
[ { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:a:swtpm_project:swtpm:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "29034260-C392-45E1-94C6-A3F7B2F579C1", "versionEndExcluding": "0.5.3" }, { "criteria": "cpe:2.3:a:swtpm_project:swtpm:*:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "F54F0E14-A4C4-4D58-999A-615E06AC63A1", "versionEndExcluding": "0.6.2", "versionStartIncluding": "0.6.0" }, { "criteria": "cpe:2.3:a:swtpm_project:swtpm:0.7.0:-:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "93689630-E73B-4696-B455-CBB77A9FB8AD" }, { "criteria": "cpe:2.3:a:swtpm_project:swtpm:0.7.0:rc1:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "E560701C-A5E0-449B-B7DA-E5774DDBAEAC" }, { "criteria": "cpe:2.3:a:swtpm_project:swtpm:0.7.0:rc2:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "C38734A0-9671-48B5-9868-F916EF26B942" } ], "operator": "OR" } ] }, { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "F4CFF558-3C47-480D-A2F0-BABF26042943" } ], "operator": "OR" } ] }, { "nodes": [ { "negate": false, "cpeMatch": [ { "criteria": "cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*", "vulnerable": true, "matchCriteriaId": "80E516C0-98A4-4ADE-B69F-66A772E2BAAA" } ], "operator": "OR" } ] } ]