Vulnerability in Libtpms Project
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 algorithm in RsaAdjustPrimeCandidate(), which is called before the prime number check. The highest threat from this vulnerability is to data confidentiality.
EPSS: 0.004 (33.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
Affected products
- Libtpms_project Libtpms
- Fedoraproject Fedora — versions 33
- Redhat Enterprise_linux — versions 8.0
- N/a Libtpms — versions libtpms 0.8.0
Weakness classification (CWE)
References
- secalert@redhat.com (Patch, Third Party Advisory, x_refsource_MISC, Issue Tracking)
- secalert@redhat.com (Exploit, Patch, Third Party Advisory, x_refsource_MISC)
- secalert@redhat.com (x_refsource_FEDORA, vendor-advisory)
Frequently asked questions
- What is CVE-2021-3505?
- CVE-2021-3505 is a medium-severity vulnerability in Libtpms Project, classified under Insufficient Entropy. CVSS score: 5.5/10. Published 2021-04-19.
- How severe is CVE-2021-3505?
- Medium severity. CVSS v3 base score is 5.5 out of 10.