CVEvulnerability
CVE-2021-3505
5.5 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2021-04-19
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 5.5 MEDIUM — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- CVSS 2.0 ([email protected])
- 2.1 LOW — AV:L/AC:L/Au:N/C:P/I:N/A:N
- Weaknesses
- CWE-331
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.
Affected configurations
• libtpms project libtpms (< 0.8.0)
• redhat enterprise linux 8.0
• fedoraproject fedora 33
Related
Weakness · CWE (1)
- CWE-331 Insufficient Entropy weakness
References
- https://bugzilla.redhat.com/show_bug.cgi?id=1950046 Issue Tracking, Patch, Third Party Advisory
- https://github.com/stefanberger/libtpms/issues/183 Exploit, Patch, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NUCZX4S53TUNTSGTCRDNOQZV2V2RI4RJ/ lists.fedoraproject.org
- https://bugzilla.redhat.com/show_bug.cgi?id=1950046 Issue Tracking, Patch, Third Party Advisory
- https://github.com/stefanberger/libtpms/issues/183 Exploit, Patch, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NUCZX4S53TUNTSGTCRDNOQZV2V2RI4RJ/ lists.fedoraproject.org