Out-of-bounds read in libtpms - CVE-2021-3623

 

Out-of-bounds read in libtpms - CVE-2021-3623

Published: July 1, 2021


Vulnerability identifier: #VU54504
CSH Severity: Low
CVSS v4: 6.8 [CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-3623
CWE-ID: CWE-125
Exploitation vector: Local access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a local user to crash the system.

The vulnerability exists due to a boundary condition. A local user can use specially-crafted TPM 2 command packets containing illegal values to trigger an out-of-bounds read error and perform a denial of service (DoS) attack.


Affected software

libtpms
Arch Linux
Fedora
openEuler
libtpms
libtpms-debugsource
libtpms-devel
libtpms-debuginfo

How to mitigate CVE-2021-3623

Install updates from vendor's website.

libtpms - addressed in versions 0.6.5, 0.7.8, 0.8.4
libtpms - update to 0.7.3-7
libtpms-debugsource - update to 0.7.3-7
libtpms-devel - update to 0.7.3-7
libtpms-debuginfo - update to 0.7.3-7
libtpms - addressed in versions 0.8.4-0.20210624gita594c4692a.el8.1, 0.8.4-1.20210624gita594c4692a.fc34.1

External References

Related Security Bulletins