低危 freebsd libfetch 跨界内存读
CVE编号
CVE-2021-36159利用情况
暂无补丁情况
官方补丁披露时间
2021-08-03漏洞描述
libfetch before 2021-07-26, as used in apk-tools, xbps, and other products, mishandles numeric strings for the FTP and HTTP protocols. The FTP passive mode implementation allows an out-of-bounds read because strtol is used to parse the relevant numbers into address bytes. It does not check if the line ends prematurely. If it does, the for-loop condition checks for the '\0' terminator one byte too late.解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | freebsd | libfetch | * | Up to (excluding) 2021-07-26 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.10 | apk-tools | * | Up to (excluding) 2.10.7-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.11 | apk-tools | * | Up to (excluding) 2.10.7-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.12 | apk-tools | * | Up to (excluding) 2.10.7-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.13 | apk-tools | * | Up to (excluding) 2.12.6-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.14 | apk-tools | * | Up to (excluding) 2.12.6-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.15 | apk-tools | * | Up to (excluding) 2.12.6-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.16 | apk-tools | * | Up to (excluding) 2.12.6-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.17 | apk-tools | * | Up to (excluding) 2.12.6-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.18 | apk-tools | * | Up to (excluding) 2.12.6-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_edge | apk-tools | * | Up to (excluding) 2.12.6-r0 | |||||
- 攻击路径 远程
- 攻击复杂度 复杂
- 权限要求 无需权限
- 影响范围 有限影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-125 | 跨界内存读 |
Exp相关链接

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