Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

redhat логотип

CVE-2023-22745

Опубликовано: 20 янв. 2023
Источник: redhat
CVSS3: 6.4
EPSS Низкий

Описание

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.

A flaw was found in tpm2-tss, which 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 index into the layer_handler with an 8-bit layer number, but the array only has TPM2_ERROR_TSS2_RC_LAYER_COUNT entries. Trying to add a handler for higher-numbered layers or to decode a response code with a layer number, reads/writes past the end of the buffer. This buffer overrun could result in arbitrary code execution. An example attack is a man-in-the-middle (MiTM) bus attack that returns 0xFFFFFFFFFF 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 privileges.

Затронутые пакеты

ПлатформаПакетСостояниеРекомендацияРелиз
Red Hat Enterprise Linux 7tpm2-tssOut of support scope
Red Hat Enterprise Linux 8tpm2-tssFixedRHSA-2023:716614.11.2023
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Supporttpm2-tssFixedRHSA-2024:440809.07.2024
Red Hat Enterprise Linux 8.6 Telecommunications Update Servicetpm2-tssFixedRHSA-2024:440809.07.2024
Red Hat Enterprise Linux 8.6 Update Services for SAP Solutionstpm2-tssFixedRHSA-2024:440809.07.2024
Red Hat Enterprise Linux 8.8 Extended Update Supporttpm2-tssFixedRHSA-2024:473923.07.2024
Red Hat Enterprise Linux 9tpm2-tssFixedRHSA-2023:668507.11.2023

Показывать по

Дополнительная информация

Статус:

Moderate
Дефект:
CWE-120
https://bugzilla.redhat.com/show_bug.cgi?id=2162610tpm2-tss: Buffer Overlow in TSS2_RC_Decode

EPSS

Процентиль: 4%
0.00022
Низкий

6.4 Medium

CVSS3

Связанные уязвимости

CVSS3: 6.4
ubuntu
больше 2 лет назад

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.

CVSS3: 6.4
nvd
больше 2 лет назад

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.

CVSS3: 6.4
msrc
больше 2 лет назад

Описание отсутствует

CVSS3: 6.4
debian
больше 2 лет назад

tpm2-tss is an open source software implementation of the Trusted Comp ...

suse-cvrf
больше 2 лет назад

Security update for tpm2-0-tss

EPSS

Процентиль: 4%
0.00022
Низкий

6.4 Medium

CVSS3