Ojuju Advisory
DEBIAN-CVE-2021-3505 Also known as: CVE-2021-3505
Summary The record has no summary.
Details 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.
Severity Medium Basis: CVSS v3 score 5.5, vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Dates Published 2021-04-19 21:15 UTC Modified 2026-10-23 18:03 UTC
Affected packages and fixes libtpms
Debian packages (deb) · Debian 12
Affected introduced 0, fixed 0.8.0~dev1-1 (ecosystem)
Fixed versions 0.8.0~dev1-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
libtpms
Debian packages (deb) · Debian 13
Affected introduced 0, fixed 0.8.0~dev1-1 (ecosystem)
Fixed versions 0.8.0~dev1-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
libtpms
Debian packages (deb) · Debian 14
Affected introduced 0, fixed 0.8.0~dev1-1 (ecosystem)
Fixed versions 0.8.0~dev1-1
Fix This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check →