中危 未进行输入大小检查的缓冲区拷贝(传统缓冲区溢出)
CVE编号
CVE-2023-22745利用情况
暂无补丁情况
官方补丁披露时间
2023-01-20漏洞描述
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.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://github.com/tpm2-software/tpm2-tss/commit/306490c8d848c367faa2d9df81f5... | |
https://github.com/tpm2-software/tpm2-tss/security/advisories/GHSA-4j3v-fh23-vx67 |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | tpm2_software_stack_project | tpm2_software_stack | * | Up to (including) 4.0.0 | |||||
运行在以下环境 | |||||||||
系统 | amazon_2023 | tpm2-tss | * | Up to (excluding) 3.1.0-1.amzn2023.0.3 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | tpm2-tss | * | Up to (including) 2.1.0-4 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | tpm2-tss | * | Up to (including) 3.0.3-2 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | tpm2-tss | * | Up to (excluding) 3.2.1-3 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | tpm2-tss | * | Up to (excluding) 3.2.1-3 | |||||
运行在以下环境 | |||||||||
系统 | fedora_36 | tpm2-tools-debugsource | * | Up to (excluding) 5.4-1.fc36 | |||||
运行在以下环境 | |||||||||
系统 | fedora_37 | tpm2-tss-debugsource | * | Up to (excluding) 3.2.2-1.fc37 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_5.3 | libtss2-tcti-device0 | * | Up to (excluding) 3.1.0-150400.3.3.1 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.4 | libtss2-fapi0 | * | Up to (excluding) 3.1.0-150400.3.3.1 | |||||
运行在以下环境 | |||||||||
系统 | unionos_e | tpm2-tss | * | Up to (excluding) tpm2-tss-3.0.3-2.uel20 | |||||
- 攻击路径 本地
- 攻击复杂度 复杂
- 权限要求 普通权限
- 影响范围 越权影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 数据泄露
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-120 | 未进行输入大小检查的缓冲区拷贝(传统缓冲区溢出) |
Exp相关链接

版权声明
本站原创文章转载请注明文章出处及链接,谢谢合作!
评论