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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.5 MEDIUM
LOCAL
LOW
LOW
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Base Score
CVSS 3.x
EPSS Score
Percentile: 31%
Affected Products (NVD)
VendorProductVersion
libtpms_projectlibtpms
𝑥
< 0.8.0
redhatenterprise_linux
8.0
𝑥
= Vulnerable software versions
Debian logo
Debian Releases
Debian Product
Codename
libtpms
bookworm
0.9.2-3.1
fixed
bookworm (security)
0.9.2-3.1~deb12u1
fixed
sid
0.9.2-3.1
fixed
trixie
0.9.2-3.1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
libtpms
bionic
dne
focal
dne
groovy
not-affected
trusty
dne
xenial
dne
openSUSE logo
openSUSE / SLES Releases
openSUSE Product
Release
libtpms-devel
suse enterprise sap 15 SP3
0.8.2-1.1
fixed
suse enterprise sap 15 SP4
0.8.2-3.3.1
fixed
suse enterprise sap 15 SP7
0.9.6-150600.1.2
fixed
suse enterprise server 15 SP3
0.8.2-1.1
fixed
suse enterprise server 15 SP4
0.8.2-3.3.1
fixed
suse enterprise server 15 SP7
0.9.6-150600.1.2
fixed
libtpms0
suse enterprise sap 15 SP3
0.8.2-1.1
fixed
suse enterprise sap 15 SP4
0.8.2-3.3.1
fixed
suse enterprise sap 15 SP7
0.9.6-150600.1.2
fixed
suse enterprise server 15 SP3
0.8.2-1.1
fixed
suse enterprise server 15 SP4
0.8.2-3.3.1
fixed
suse enterprise server 15 SP7
0.9.6-150600.1.2
fixed