Out-of-bounds Write Affecting libtpms package, versions <0.9.3-0ubuntu1.22.04.1


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.29% (67th 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-UBUNTU2204-LIBTPMS-3336643
  • published1 Mar 2023
  • disclosed28 Feb 2023

Introduced: 28 Feb 2023

CVE-2023-1017  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade Ubuntu:22.04 libtpms to version 0.9.3-0ubuntu1.22.04.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 Ubuntu. See How to fix? for Ubuntu:22.04 relevant fixed versions and status.

An out-of-bounds write vulnerability exists in TPM2.0's Module Library allowing writing of a 2-byte data past the end of TPM2.0 command in the CryptParameterDecryption routine. An attacker who can successfully exploit this vulnerability can lead to denial of service (crashing the TPM chip/process or rendering it unusable) and/or arbitrary code execution in the TPM context.

CVSS Base Scores

version 3.1