Skip to content

CVE-2021-3505 A flaw was found in libtpms in versions before 0.8.0. The TPM 2 implementation returns 2048 bit keys with ~1984 bit strength due to a bug in the TCG specification. The bug is in the key creation algor...

MediumCVSS 5.5 EPSS 0.40%
Published
Updated
Exploit status
No public exploit known
Technology
DebianRed Hat

Description

A flaw was found in libtpms in versions before 0.8.0. The TPM 2 implementation returns 2048 bit keys with ~1984 bit strength due to a bug in the TCG specification. The bug is in the key creation algorithm in RsaAdjustPrimeCandidate(), which is called before the prime number check. The highest threat from this vulnerability is to data confidentiality.

Upgrade path

6 packages: 4 fixed.

PackageAffectedFixed inStatus
debian/libtpms(Debian 12) < 0.8.0~dev1-1 0.8.0~dev1-1 Fixed
debian/libtpms(Debian 13) < 0.8.0~dev1-1 0.8.0~dev1-1 Fixed
debian/libtpms(Debian 14) < 0.8.0~dev1-1 0.8.0~dev1-1 Fixed
libtpms project libtpms < 0.8.0 0.8.0 Fixed
fedoraproject fedora = 33 No fix listed Versions listed
redhat enterprise linux = 8.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
debian/libtpms(Debian:12) < 0.8.0~dev1-1 0.8.0~dev1-1
debian/libtpms(Debian:13) < 0.8.0~dev1-1 0.8.0~dev1-1
debian/libtpms(Debian:14) < 0.8.0~dev1-1 0.8.0~dev1-1
libtpms project libtpms < 0.8.0 0.8.0
redhat enterprise linux = 8.0 No fix listed
fedoraproject fedora = 33 No fix listed

References