MEDIUM · 5.5

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 algor...

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

5.5

MEDIUM

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack Vector
LOCAL
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE

Affected Products

VendorProductVersions
Libtpms ProjectLibtpms< 0.8.0
RedhatEnterprise Linux8.0
FedoraprojectFedora33

Related Weaknesses (CWE)

References

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.