中危 GCC's-fstack-protector 无法保护 AArch64 上动态大小的局部变量 (CVE-2023-4039)
CVE编号
CVE-2023-4039利用情况
暂无补丁情况
官方补丁披露时间
2023-09-13漏洞描述
A failure in the -fstack-protector feature in GCC-based toolchains that target AArch64 allows an attacker to exploit an existing buffer overflow in dynamically-sized local variables in your application without this being detected. This stack-protector failure only applies to C99-style dynamically-sized local variables or those created using alloca(). The stack-protector operates as intended for statically-sized local variables. The default behavior when the stack-protector detects an overflow is to terminate your application, resulting in controlled loss of availability. An attacker who can exploit a buffer overflow without triggering the stack-protector might be able to change program flow control to cause an uncontrolled loss of availability or to go further and affect confidentiality or integrity.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://developer.arm.com/Arm%20Security%20Center/GCC%20Stack%20Protector%20V... | |
https://github.com/metaredteam/external-disclosures/security/advisories/GHSA-... |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | gnu | gcc | * | Up to (excluding) 2023-09-12 | |||||
运行在以下环境 | |||||||||
系统 | alpine_edge | gcc | * | Up to (excluding) 13.2.1_git20231014-r0 | |||||
运行在以下环境 | |||||||||
系统 | amazon_2 | gcc | * | Up to (excluding) 2.40.5-3.amzn2.0.1 | |||||
运行在以下环境 | |||||||||
系统 | amazon_2023 | gcc | * | Up to (excluding) 11.4.1-2.amzn2023.0.2 | |||||
运行在以下环境 | |||||||||
系统 | anolis_os_23 | javascriptcoregtk4.1-devel | * | Up to (excluding) 2.40.5-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | gcc-7 | * | Up to (including) 7.4.0-6 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | gcc-10 | * | Up to (including) 10.2.1-6 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | gcc-11 | * | Up to (including) 11.3.0-12 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | gcc-10 | * | Up to (including) 10.5.0-2 | |||||
运行在以下环境 | |||||||||
系统 | oracle_8 | oraclelinux-release | * | Up to (excluding) 12.2.1-7.4.0.2.el9 | |||||
运行在以下环境 | |||||||||
系统 | suse_12_SP5 | libasan8-32bit | * | Up to (excluding) 13.2.1 | |||||
- 攻击路径 本地
- 攻击复杂度 困难
- 权限要求 管控权限
- 影响范围 有限影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
NVD-CWE-Other |
Exp相关链接

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