CVE-2021-3505
Last modified
CVE-2021-3505 is a medium-severity vulnerability rated 5.5/10 on the CVSS scale. 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. EPSS estimates a 0.40% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Libtpms Project | Libtpms | < 0.8.0 |
| Redhat | Enterprise Linux | 8.0 |
| Fedoraproject | Fedora | 33 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1950046Issue Tracking, Patch, Third Party Advisory
- https://github.com/stefanberger/libtpms/issues/183Exploit, Patch, Third Party Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1950046Issue Tracking, Patch, Third Party Advisory
- https://github.com/stefanberger/libtpms/issues/183Exploit, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2021-3505?
How severe is CVE-2021-3505?
How do I fix CVE-2021-3505?
Are you affected by CVE-2021-3505?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
