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.
Published · last modified .
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.
EPSS exploit prediction
EPSS 0.004, 35.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Libtpms Project
- Fedoraproject Fedora — versions 33
- Red Hat Enterprise Linux — versions 8.0
- Libtpms — versions libtpms 0.8.0
Weakness classification (CWE)
References
- bugzilla.redhat.com/show_bug.cgi (Patch, Third Party Advisory, Issue Tracking)
- github.com/stefanberger/libtpms/issues/183 (Exploit, Patch, Third Party Advisory)
- FEDORA-2021-cfdc434610 (vendor-advisory)