Insufficient Entropy Affecting virt:av/libtpms package, versions *


Severity

Recommended
low

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.06% (27th 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-RHEL8-VIRT-4416025
  • published16 Jun 2022
  • disclosed14 Apr 2020

Introduced: 14 Apr 2020

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

How to fix?

There is no fixed version for RHEL:8 virt:av/libtpms.

NVD Description

Note: Versions mentioned in the description apply only to the upstream virt:av/libtpms package and not the virt:av/libtpms package as distributed by RHEL. See How to fix? for RHEL:8 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 Scores

version 3.1