#VU60731 Out-of-bounds read in swtpm


Published: 2022-02-21 | Updated: 2022-12-02

Vulnerability identifier: #VU60731

Vulnerability risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2022-23645

CWE-ID: CWE-125

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
swtpm
Universal components / Libraries / Libraries used by multiple products

Vendor: Stefan Berger

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a boundary condition when the byte array representing the state of the TPM is accessed. A remote attacker can send a specially crafted header, trigger out-of-bounds read error and cause a denial of service condition on the system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

swtpm: 0.4.2 - 0.7.0


External links
http://github.com/stefanberger/swtpm/security/advisories/GHSA-2qgm-8xf4-3hqw
http://github.com/stefanberger/swtpm/commit/9f740868fc36761de27df3935513bdebf8852d19
http://github.com/stefanberger/swtpm/releases/tag/v0.5.3
http://github.com/stefanberger/swtpm/releases/tag/v0.6.2
http://github.com/stefanberger/swtpm/releases/tag/v0.7.1
http://github.com/stefanberger/swtpm/releases/tag/v0.8.0


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability