Out-of-Bounds Affecting stefanberger/libtpms package, versions [,0.6.5)[0.7.0,0.7.8)[0.8.0,0.8.4)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.05% (17th 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 IDSNYK-UNMANAGED-STEFANBERGERLIBTPMS-2414362
  • published3 Mar 2022
  • disclosed3 Mar 2022
  • creditUnknown

Introduced: 3 Mar 2022

CVE-2021-3623  (opens in a new tab)
CWE-119  (opens in a new tab)

How to fix?

Upgrade stefanberger/libtpms to version 0.6.5, 0.7.8, 0.8.4 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-Bounds which can be triggered by specially-crafted TPM 2 command packets containing illegal values, when the volatile state of the TPM 2 is marshalled/written or unmarshalled/read

CVSS Scores

version 3.1