Trusted Computing Group tpm2-tss Tss2_RC_SetHandler/Tss2_RC_Decode buffer overflow
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.4 | $0-$5k | 0.00 |
Summary
A vulnerability identified as critical has been detected in Trusted Computing Group tpm2-tss. This issue affects the function Tss2_RC_SetHandler/Tss2_RC_Decode. This manipulation causes buffer overflow.
This vulnerability is registered as CVE-2023-22745. Remote exploitation of the attack is possible. No exploit is available.
It is suggested to install a patch to address this issue.
Details
A vulnerability classified as critical was found in Trusted Computing Group tpm2-tss (affected version not known). Affected by this vulnerability is the function Tss2_RC_SetHandler/Tss2_RC_Decode. The manipulation with an unknown input leads to a buffer overflow vulnerability. The CWE definition for the vulnerability is CWE-120. The product copies an input buffer to an output buffer without verifying that the size of the input buffer is less than the size of the output buffer, leading to a buffer overflow. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
tpm2-tss is an open source software implementation of the Trusted Computing Group (TCG) Trusted Platform Module (TPM) 2 Software Stack (TSS2). In versions prior to 4.1.0-rc0, 4.0.1, and 3.2.2-rc1, `Tss2_RC_SetHandler` and `Tss2_RC_Decode` both index into `layer_handler` with an 8 bit layer number, but the array only has `TPM2_ERROR_TSS2_RC_LAYER_COUNT` entries, so trying to add a handler for higher-numbered layers or decode a response code with such a layer number reads/writes past the end of the buffer. This Buffer overrun, could result in arbitrary code execution. An example attack would be a MiTM bus attack that returns 0xFFFFFFFF for the RC. Given the common use case of TPM modules an attacker must have local access to the target machine with local system privileges which allows access to the TPM system. Usually TPM access requires administrative privilege. Versions 4.1.0-rc0, 4.0.1, and 3.2.2-rc1 fix the issue.
The weakness was published 01/20/2023 as GHSA-4j3v-fh23-vx67. The advisory is shared at github.com. This vulnerability is known as CVE-2023-22745 since 01/06/2023. Technical details are known, but no exploit is available.
The vulnerability scanner Nessus provides a plugin with the ID 236580 (Alibaba Cloud Linux 3 : 0006: tpm2-tss (ALINUX3-SA-2024:0006)), which helps to determine the existence of the flaw in a target environment.
Applying the patch 306490c8d848c367faa2d9df81f5e69dab46ffb5 is able to eliminate this problem. The bugfix is ready for download at github.com.
The vulnerability is also documented in the databases at Tenable (236580) and CERT Bund (WID-SEC-2023-2853). Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
Affected
- Open Source CentOS
- Debian Linux
- Amazon Linux 2
- Red Hat Enterprise Linux
- Ubuntu Linux
- SUSE Linux
- Oracle Linux
- Gentoo Linux
- Red Hat OpenShift
- Meinberg LANTIME
Product
Vendor
Name
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔍VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.5VulDB Meta Temp Score: 6.4
VulDB Base Score: 6.6
VulDB Temp Score: 6.3
VulDB Vector: 🔍
VulDB Reliability: 🔍
NVD Base Score: 6.4
NVD Vector: 🔍
CNA Base Score: 6.4
CNA Vector (GitHub, Inc.): 🔍
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔍
VulDB Temp Score: 🔍
VulDB Reliability: 🔍
Exploiting
Class: Buffer overflowCWE: CWE-120 / CWE-119
CAPEC: 🔍
ATT&CK: 🔍
Physical: Partially
Local: Yes
Remote: Yes
Availability: 🔍
Status: Not defined
EPSS Score: 🔍
EPSS Percentile: 🔍
Price Prediction: 🔍
Current Price Estimation: 🔍
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Nessus ID: 236580
Nessus Name: Alibaba Cloud Linux 3 : 0006: tpm2-tss (ALINUX3-SA-2024:0006)
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: PatchStatus: 🔍
0-Day Time: 🔍
Patch: 306490c8d848c367faa2d9df81f5e69dab46ffb5
Timeline
01/06/2023 🔍01/20/2023 🔍
01/20/2023 🔍
12/30/2025 🔍
Sources
Advisory: GHSA-4j3v-fh23-vx67Status: Confirmed
CVE: CVE-2023-22745 (🔍)
GCVE (CVE): GCVE-0-2023-22745
GCVE (VulDB): GCVE-100-219025
CERT Bund: WID-SEC-2023-2853 - Red Hat Enterprise Linux: Mehrere Schwachstellen
Entry
Created: 01/20/2023 08:34Updated: 12/30/2025 23:56
Changes: 01/20/2023 08:34 (51), 05/21/2025 16:56 (17), 10/29/2025 16:28 (11), 11/21/2025 22:09 (1), 12/30/2025 23:56 (7)
Complete: 🔍
Cache ID: 216::103
Several companies clearly confirm that VulDB is the primary source for best vulnerability data.
No comments yet. Languages: en.
Please log in to comment.