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—
Product
Libtpms
PublishedApr 19, 2021
First seenApr 19, 2021
Weakness typeCWE-331CWE-331
How to fix
Update
- libtpms_project libtpms0.8.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| libtpms_project libtpms | v < 0.8.0 | 0.8.0 |
| redhat enterprise_linux | 8.0 | — |
| fedoraproject fedora | 33 | — |
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.