Buffer overflow in Libtpms Project
CVE-2021-3623
A flaw was found in libtpms. The flaw can be triggered by specially-crafted TPM 2 command packets containing illegal values and may lead to an out-of-bounds access when the volatile state of the TPM 2 is marshalled/written or unmarshalled/read. The highest threat from this vulnerability is to system availability.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:H.
EPSS exploit prediction
EPSS 0.003, 25.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libtpms Project
- Fedoraproject Fedora — versions 34
- Red Hat Enterprise Linux — versions 8.0
- Libtpms — versions Fixed-In - libtpms 0.6.5, libtpms 0.7.8, libtpms 0.8.4
Weakness classification (CWE)
References
- FEDORA-2021-465b5c3b67 (vendor-advisory)
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- github.com/stefanberger/libtpms/pull/223 (Third Party Advisory, Issue Tracking)
- github.com/stefanberger/libtpms/commit/2f30d62 (Patch, Third Party Advisory)
- github.com/stefanberger/libtpms/commit/7981d9a (Patch, Third Party Advisory)
- github.com/stefanberger/libtpms/commit/2e6173c (Patch, Third Party Advisory)