Denial of service in Software TPM Emulator (SWTPM)



| Updated: 2022-12-02
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2022-23645
CWE-ID CWE-125
Exploitation vector Network
Public exploit N/A
Vulnerable software
swtpm
Universal components / Libraries / Libraries used by multiple products

Vendor Stefan Berger

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) Out-of-bounds read

EUVDB-ID: #VU60731

Risk: Medium

CVSSv4.0: 6.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2022-23645

CWE-ID: CWE-125 - Out-of-bounds read

Exploit availability: No

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

CPE2.3 External links

https://github.com/stefanberger/swtpm/security/advisories/GHSA-2qgm-8xf4-3hqw
https://github.com/stefanberger/swtpm/commit/9f740868fc36761de27df3935513bdebf8852d19
https://github.com/stefanberger/swtpm/releases/tag/v0.5.3
https://github.com/stefanberger/swtpm/releases/tag/v0.6.2
https://github.com/stefanberger/swtpm/releases/tag/v0.7.1
https://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.



###SIDEBAR###