Buffer overflow in libtpms - CVE-2021-3746
Published: June 14, 2023
Vulnerability identifier: #VU77293
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2021-3746
CWE-ID: CWE-119
Exploitation vector: Remote access
Exploit availability:
No public exploit available
Vulnerability details
The vulnerability allows a remote attacker to perform a denial of service attack.
The vulnerability exists due to a boundary error. A remote attacker can trick the victim into opening a specially-crafted TPM2 command packets, trigger memory corruption and perform a denial of service attack.
Affected software
libtpms
SUSE MicroOS
Fedora
SUSE Linux Enterprise Module for Server Applications
openEuler
PowerVM Hypervisor
libtpms
libtpms-debugsource
libtpms-devel
libtpms-debuginfo
libtpms0
libtpms0-debuginfo
SUSE MicroOS
Fedora
SUSE Linux Enterprise Module for Server Applications
openEuler
PowerVM Hypervisor
libtpms
libtpms-debugsource
libtpms-devel
libtpms-debuginfo
libtpms0
libtpms0-debuginfo
How to mitigate CVE-2021-3746
Install updates from vendor's website.
libtpms - addressed in versions 0.6.6, 0.7.9, 0.8.5
PowerVM Hypervisor - update to FW1010.40
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-debugsource - update to 0.8.2-3.3.1
libtpms-devel - update to 0.8.2-3.3.1
libtpms0 - update to 0.8.2-3.3.1
libtpms0-debuginfo - update to 0.8.2-3.3.1
libtpms - update to 0.8.4-1.20210624gita594c4692a.el8.0
PowerVM Hypervisor - update to FW1010.40
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-debugsource - update to 0.8.2-3.3.1
libtpms-devel - update to 0.8.2-3.3.1
libtpms0 - update to 0.8.2-3.3.1
libtpms0-debuginfo - update to 0.8.2-3.3.1
libtpms - update to 0.8.4-1.20210624gita594c4692a.el8.0