Out-of-bounds Read Affecting stefanberger/libtpms package, versions [,0.8.9)[0.9.0,0.9.6)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.05% (23rd 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-3358113
  • published9 Mar 2023
  • disclosed9 Mar 2023
  • creditUnknown

Introduced: 9 Mar 2023

CVE-2023-1018  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade stefanberger/libtpms to version 0.8.9, 0.9.6 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Read in the CryptParameterDecryption() function allowing the reading of 2 bytes of data past the end of a TPM2.0 command.

CVSS Scores

version 3.1