Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Libtpms Project | Libtpms | < 0.8.0 |
| Redhat | Enterprise Linux | 8.0 |
| Fedoraproject | Fedora | 33 |
Related Weaknesses (CWE)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1950046Issue TrackingPatchThird Party Advisory
- https://github.com/stefanberger/libtpms/issues/183ExploitPatchThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
- https://bugzilla.redhat.com/show_bug.cgi?id=1950046Issue TrackingPatchThird Party Advisory
- https://github.com/stefanberger/libtpms/issues/183ExploitPatchThird Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedorapro
FAQ
What is CVE-2021-3505?
CVE-2021-3505 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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...
How severe is CVE-2021-3505?
CVE-2021-3505 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-3505?
Check the references section above for vendor advisories and patch information. Affected products include: Libtpms Project Libtpms, Redhat Enterprise Linux, Fedoraproject Fedora.