Vulnerability · Published Apr 19, 2021 · Assigned by redhat

CVE-2021-3505

Medium 5.5

In plain English

A medium-severity security flaw in libtpms. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 35% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS NVD)5.5Medium
Exploit odds (30 days)0.4%top 65.2% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libtpms0.8.0~dev1-1DEBIAN-CVE-2021-3505
Debian:13libtpms0.8.0~dev1-1DEBIAN-CVE-2021-3505
Debian:14libtpms0.8.0~dev1-1DEBIAN-CVE-2021-3505

Affected products (as reported)

VendorProductVersions
n/a libtpms libtpms 0.8.0

Weakness: CWE-331

References