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 TSS2_RC_Decode function. Both Tss2_RC_SetHandler and Tss2_RC_Decode functions index into layer_handler with an 8-bit layer number, but the array only has TPM2_ERROR_TSS2_RC_LAYER_COUNT 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).

Exploitability

The vulnerability has been assessed with a CVSS v3.1 base score indicating Low severity, with the following metrics: Attack Vector: Local, Attack Complexity: High, Privileges Required: None, User Interaction: None, Scope: Unchanged, Confidentiality: None, Integrity: None, Availability: None (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-2026-68454HIGH8.8
  • Linux Kernel logoLinux Kernel
  • linux-gcp-6.14
NoYesAug 13, 2026
CVE-2026-68452HIGH7.8
  • Linux Kernel logoLinux Kernel
  • kernel-modules
NoYesAug 13, 2026
CVE-2026-68451HIGH7.8
  • Linux Kernel logoLinux Kernel
  • linux-nvidia-6.17
NoYesAug 13, 2026
CVE-2026-68453HIGH7.1
  • Linux Kernel logoLinux Kernel
  • kernel-rt-64k-modules-extra
NoYesAug 13, 2026
CVE-2026-58224MEDIUM6.5
  • Samba logoSamba
  • samba-vfs-iouring
NoYesAug 14, 2026

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