Insufficient Entropy Affecting libtpms package, versions <0.8.0~dev1-1


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.13% (34th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insufficient Entropy vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-DEBIAN13-LIBTPMS-5685585
  • published17 Apr 2021
  • disclosed19 Apr 2021

Introduced: 17 Apr 2021

CVE-2021-3505  (opens in a new tab)
CWE-331  (opens in a new tab)

How to fix?

Upgrade Debian:13 libtpms to version 0.8.0~dev1-1 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libtpms package and not the libtpms package as distributed by Debian. See How to fix? for Debian:13 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1