CVE-2021-3505
JSON

5.5medium

A flaw was found in libtpms in versions before 0.8.0.

Severity
5.5medium CVSS:3.1 by NVD
Exploit likelihood
0.40% (higher than 36% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
redhat

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

Product or packageVersionsReported by
libtpmslibtpms 0.8.0CVE List
libtpms_project libtpmsbefore 0.8.0NVD
redhat enterprise_linux8.0NVD
fedoraproject fedora33NVD

All scores

NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD2.1low CVSS:2.0AV:L/AC:L/Au:N/C:P/I:N/A:N

Classification

What each source says

CVE List

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.

NVD (es)

Se encontró un fallo en libtpms en versiones anteriores a 0.8.0. La implementación de TPM 2 devuelve claves de 2048 bits con una intensidad de bits de ~1984 debido a un error en la especificación TCG. El error está en el algoritmo de creación de claves en la función RsaAdjustPrimeCandidate(), que es llamado antes de la comprobación del número primo. La mayor amenaza de esta vulnerabilidad es la confidencialidad de los datos

References

Sources

SourceRecordLicence
CVE ListCVE-2021-3505 changed 2024-08-03CVE Terms of Use
NVDCVE-2021-3505 changed 2026-06-17Public domain