CVE-2021-3746: Buffer Overflow

Published Aug 27, 2021
·
Updated

A bug was discovered in the libtpms code that may cause access beyond the boundary of internal buffers. The vulnerability can be triggered by specially-crafted TPM 2 command packets that then trigger the issue when the state of the TPM 2's volatile state is marshalled/written.

Reference and upstream patches: https://github.com/stefanberger/libtpms/commit/1fb6cd9b8df05b5d6e381b31215193d6ada969df https://github.com/stefanberger/libtpms/commit/ea62fd9679f8c6fc5e79471b33cfbd8227bfed72

Other sources

A flaw was found in the libtpms code that may cause access beyond the boundary of internal buffers. The vulnerability is triggered by specially-crafted TPM2 command packets that then trigger the issue when the state of the TPM2's volatile state is written. The highest threat from this vulnerability is to system availability. This issue affects libtpms versions before 0.8.5, before 0.7.9 and before 0.6.6.

MITRE

Affected Software

9 affected componentsFixes available
redhat/libtpms<0.8.5
0.8.5
redhat/libtpms<0.7.9
0.7.9
redhat/libtpms<0.6.6
0.6.6
Libtpms Project Libtpms>=0.6.0<0.6.6
Libtpms Project Libtpms>=0.7.0<0.7.9
Libtpms Project Libtpms>=0.8.0<0.8.5
Fedoraproject Fedora=34
redhat Enterprise Linux=8.0
redhat Enterprise Linux=8.0

Event History

Aug 27, 2021
Data Sourced
via Red Hat·05:01 PM
DescriptionSeverityAffected Software
Oct 19, 2021
CVE Published
via MITRE·02:07 PM
Data Sourced
via MITRE·02:07 PM
DescriptionWeakness

Frequently Asked Questions

1

What is CVE-2021-3746?

CVE-2021-3746 is a vulnerability in the libtpms code that allows access beyond the boundary of internal buffers.

2

How is the CVE-2021-3746 vulnerability triggered?

The vulnerability is triggered by specially-crafted TPM2 command packets that write to the TPM2's volatile state.

3

What is the severity of CVE-2021-3746?

CVE-2021-3746 has a severity rating of 6.5 (high).

4

Which software is affected by CVE-2021-3746?

The Libtpms Project versions 0.6.0 to 0.6.6, 0.7.0 to 0.7.9, and 0.8.0 to 0.8.5, as well as Fedora 34 and Red Hat Enterprise Linux 8.0 and Advanced Virtualization are affected.

5

How can I fix CVE-2021-3746?

To fix CVE-2021-3746, update the libtpms code to a version that includes the necessary security patches.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203