Out-of-bounds Write Affecting libtpms package, versions <0:0.9.1-3.20211126git1ff6fe1f43.el9_2


Severity

Recommended
medium

Based on AlmaLinux 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-ALMALINUX9-LIBTPMS-5655903
  • published28 May 2023
  • disclosed9 May 2023

Introduced: 9 May 2023

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

How to fix?

Upgrade AlmaLinux:9 libtpms to version 0:0.9.1-3.20211126git1ff6fe1f43.el9_2 or higher.
This issue was patched in ALSA-2023:2453.

NVD Description

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