Use of a Risky Cryptographic Algorithm Affecting stefanberger/libtpms package, versions [,0.8.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (15th 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 Use of a Risky Cryptographic Algorithm vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-STEFANBERGERLIBTPMS-2366731
  • published26 Jan 2022
  • disclosed25 Mar 2021
  • creditUnknown

Introduced: 25 Mar 2021

CVE-2021-3446  (opens in a new tab)
CWE-327  (opens in a new tab)

How to fix?

Upgrade stefanberger/libtpms to version 0.8.2 or higher.

Overview

Affected versions of this package are vulnerable to Use of a Risky Cryptographic Algorithm. A flaw was found in libtpms in versions before 0.8.2. The commonly used integration of libtpms with OpenSSL contained a vulnerability related to the returned IV (initialization vector) when certain symmetric ciphers were used. Instead of returning the last IV it returned the initial IV to the caller, thus weakening the subsequent encryption and decryption steps. The highest threat from this vulnerability is to data confidentiality.

CVSS Scores

version 3.1