CVE-2023-22745
Summary
| CVE | CVE-2023-22745 |
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-01-19 23:15:00 UTC |
| Updated | 2023-01-26 20:25:00 UTC |
| Description | tpm2-tss is an open source software implementation of the Trusted Computing Group (TCG) Trusted Platform Module (TPM) 2 Software Stack (TSS2). In affected versions `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. |
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|
| Buffer Overlow in TSS2_RC_Decode · Advisory · tpm2-software/tpm2-tss · GitHub |
MISC |
github.com |
|
| tss2_rc: ensure layer number is in bounds · tpm2-software/tpm2-tss@306490c · GitHub |
MISC |
github.com |
|
| CVE Program record |
CVE.ORG |
www.cve.org |
canonical |
| NVD vulnerability detail |
NVD |
nvd.nist.gov |
canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 161118 Oracle Enterprise Linux Security Update for tpm2-tss security and enhancement update (ELSA-2023-6685)
- 161173 Oracle Enterprise Linux Security Update for tpm2-tss security and enhancement update (ELSA-2023-7166)
- 181915 Debian Security Update for tpm2-tss (CVE-2023-22745)
- 242332 Red Hat Update for tpm2-tss (RHSA-2023:6685)
- 242443 Red Hat Update for tpm2-tss (RHSA-2023:7166)
- 283687 Fedora Security Update for tpm2 (FEDORA-2023-25617e952a)
- 283716 Fedora Security Update for tpm2 (FEDORA-2023-3a9674404c)
- 355265 Amazon Linux Security Advisory for tpm2-tss : ALAS2023-2023-110
- 379257 Alibaba Cloud Linux Security Update for tpm2-tss security and enhancement update (low) (ALINUX3-SA-2024:0006)
- 672945 EulerOS Security Update for tpm2-tss (EulerOS-SA-2023-1795)
- 672948 EulerOS Security Update for tpm2-tss (EulerOS-SA-2023-1773)
- 673000 EulerOS Security Update for tpm2-tss (EulerOS-SA-2023-1857)
- 673001 EulerOS Security Update for tpm2-tss (EulerOS-SA-2023-1882)
- 673034 EulerOS Security Update for tpm2-tss (EulerOS-SA-2023-1965)
- 673056 EulerOS Security Update for tpm2-tss (EulerOS-SA-2023-1987)
- 673097 EulerOS Security Update for tpm2-tss (EulerOS-SA-2023-2178)
- 753739 SUSE Enterprise Linux Security Update for tpm2-0-tss (SUSE-SU-2023:0613-1)
- 905283 Common Base Linux Mariner (CBL-Mariner) Security Update for tpm2-tss (13043)
- 905291 Common Base Linux Mariner (CBL-Mariner) Security Update for tpm2-tss (13055)
- 905489 Common Base Linux Mariner (CBL-Mariner) Security Update for tpm2-tss (13043-1)
- 905607 Common Base Linux Mariner (CBL-Mariner) Security Update for tpm2-tss (13055-1)
- 906650 Common Base Linux Mariner (CBL-Mariner) Security Update for tpm2-tss (13055-3)
- 941406 AlmaLinux Security Update for tpm2-tss (ALSA-2023:6685)
- 941454 AlmaLinux Security Update for tpm2-tss (ALSA-2023:7166)