cbcvebase.
CVE-2021-3505
published 2021-04-19

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…

PriorityP424medium5.5CVSS 3.1
AVLACLPRLUINSUCHINAN
EPSS
0.40%
32.7th percentile
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

8 ranges
VendorProductVersion rangeFixed in
debianlibtpms< libtpms 0.8.0~dev1-1 (bookworm)libtpms 0.8.0~dev1-1 (bookworm)
fedoraprojectfedora
libtpms_projectlibtpms< 0.8.00.8.0
libtpms_projectlibtpms
libtpms_projectlibtpms>= 0 < 0.8.0~dev1-10.8.0~dev1-1
libtpms_projectlibtpms>= 0 < 0.8.0~dev1-10.8.0~dev1-1
libtpms_projectlibtpms>= 0 < 0.8.0~dev1-10.8.0~dev1-1
redhatenterprise_linux

CVSS provenance

nvdv3.15.5MEDIUMCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
nvdv2.02.1LOWAV:L/AC:L/Au:N/C:P/I:N/A:N
osv5.5MEDIUM
vendor_debian5.5MEDIUM
vendor_redhat5.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.