CVE-2023-22745

Summary

CVECVE-2023-22745
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2023-01-19 23:15:00 UTC
Updated2023-01-26 20:25:00 UTC
Descriptiontpm2-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.

Risk And Classification

Problem Types: CWE-120

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Tpm2 Software Stack Project Tpm2 Software Stack All All All All

References

ReferenceSourceLinkTags
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

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)

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report