CVE-2021-3505

Medium

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.

SeverityMedium
CVSS5.5
Exploit probability—
ProductLibtpms
PublishedApr 19, 2021
First seenApr 19, 2021
Weakness typeCWE-331CWE-331

How to fix

Affected products

ProductAffected versionsFixed in
libtpms_project libtpmsv < 0.8.00.8.0
redhat enterprise_linux8.0—
fedoraproject fedora33—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.