libc stdio 缓冲区溢出 (CVE-2023-5941)
CVE编号
CVE-2023-5941利用情况
暂无补丁情况
N/A披露时间
2023-11-02漏洞描述
In versions of FreeBSD 12.4-RELEASE prior to 12.4-RELEASE-p7 and FreeBSD 13.2-RELEASE prior to 13.2-RELEASE-p5 the __sflush() stdio function in libc does not correctly update FILE objects write space members for write-buffered streams when the write(2) system call returns an error. Depending on the nature of an application that calls libcs stdio functions and the presence of errors returned from the write(2) system call (or an overridden stdio write routine) a heap buffer overflow may occur. Such overflows may lead to data corruption or the execution of arbitrary code at the privilege level of the calling program.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
参考链接 |
|
---|---|
https://security.freebsd.org/advisories/FreeBSD-SA-23:15.stdio.asc |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
系统 | freebsd | freebsd | * | Up to (excluding) 12.4 | |||||
运行在以下环境 | |||||||||
系统 | freebsd | freebsd | * | From (including) 13.0 | Up to (excluding) 13.2 | ||||
运行在以下环境 | |||||||||
系统 | freebsd | freebsd | 12.4 | - | |||||
运行在以下环境 | |||||||||
系统 | freebsd | freebsd | 13.2 | - | |||||
- 攻击路径 网络
- 攻击复杂度 低
- 权限要求 无
- 影响范围 未更改
- 用户交互 无
- 可用性 高
- 保密性 高
- 完整性 高
CWE-ID | 漏洞类型 |
CWE-131 | 缓冲区大小计算不正确 |
CWE-787 | 跨界内存写 |
Exp相关链接

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