CVE-2023-22745
Alma Linux vulnerability analysis and mitigation

Overview

CVE-2023-22745 affects tpm2-tss, an open source software implementation of the Trusted Computing Group (TCG) Trusted Platform Module (TPM) 2 Software Stack (TSS2). The vulnerability was discovered by Fergus Dall and disclosed on January 19, 2023. The issue affects versions <= 4.0.0 of the tpm2-tss package (GitHub Advisory).

Technical details

The vulnerability is a buffer overflow condition in the TSS2RCDecode function. Both Tss2RCSetHandler and Tss2RCDecode functions index into layerhandler with an 8-bit layer number, but the array only has TPM2ERRORTSS2RCLAYERCOUNT entries. This means that attempting to add a handler for higher-numbered layers or decode a response code with such a layer number results in reads/writes past the end of the buffer. The layer handler array was defined as 255, but valid values are 0-255 allowing for 256 possibilities, making the array off by one (GitHub Commit).

Impact

The vulnerability could result in a buffer overrun that potentially leads to arbitrary code execution. A practical attack scenario would involve a Man-in-the-Middle (MiTM) bus attack that returns 0xFFFFFFFF for the RC (GitHub Advisory).

Mitigation and workarounds

The issue has been patched in various distributions including Red Hat Enterprise Linux and Ubuntu. For Red Hat systems, updating to tpm2-tss version 3.2.2-2.el9 addresses the vulnerability (Red Hat Advisory). Ubuntu users should update to the patched versions specified in their security notice (Ubuntu Notice).

Additional resources


SourceThis report was generated using AI

Related Alma Linux vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-14330CRITICAL9.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox_esr
NoYesDec 09, 2025
CVE-2025-14329HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox:*:*:*:*:esr:*:*:*
NoYesDec 09, 2025
CVE-2025-14328HIGH8.8
  • NixOSNixOS
  • cpe:2.3:a:mozilla:firefox
NoYesDec 09, 2025
CVE-2025-14333HIGH8.1
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025
CVE-2025-14331MEDIUM6.5
  • NixOSNixOS
  • firefox
NoYesDec 09, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management