低危 LibCurl IMAP响应处理不当导致缓冲区溢出漏洞
CVE编号
CVE-2017-1000257利用情况
暂无补丁情况
官方补丁披露时间
2017-11-01漏洞描述
IMAP FETCH响应行以字节数表示返回数据的大小。当该响应表明数据是零字节时,libcurl会使用指针传递该(不存在的)数据,并将大小(零)传递给传递数据函数。 libcurl的deliver-data函数将零视为magic number,并在数据上调用strlen()来计算长度。 strlen()在基于堆的缓冲区上调用,该缓冲区可能不会被终止,因此libcurl可能会读取超出其结尾的内存(或者只是崩溃),然后将其传递给应用程序,就像它实际上已下载一样。解决建议
厂商已发布漏洞修复程序,请及时关注更新:https://curl.haxx.se/docs/adv_20171023.html受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | haxx | libcurl | * | From (including) 7.20.0 | Up to (including) 7.56.0 | ||||
运行在以下环境 | |||||||||
系统 | alpine_3.10 | curl | * | Up to (excluding) 7.56.1-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.11 | curl | * | Up to (excluding) 7.56.1-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.12 | curl | * | Up to (excluding) 7.56.1-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.13 | curl | * | Up to (excluding) 7.56.1-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.14 | curl | * | Up to (excluding) 7.56.1-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.15 | curl | * | Up to (excluding) 7.56.1-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.16 | curl | * | Up to (excluding) 7.56.1-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.17 | curl | * | Up to (excluding) 7.56.1-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.18 | curl | * | Up to (excluding) 7.56.1-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.3 | curl | * | Up to (excluding) 7.55.0-r2 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.4 | curl | * | Up to (excluding) 7.55.0-r2 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.5 | curl | * | Up to (excluding) 7.56.1-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.6 | curl | * | Up to (excluding) 7.56.1-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.7 | curl | * | Up to (excluding) 7.56.1-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.8 | curl | * | Up to (excluding) 7.56.1-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_3.9 | curl | * | Up to (excluding) 7.56.1-r0 | |||||
运行在以下环境 | |||||||||
系统 | alpine_edge | curl | * | Up to (excluding) 7.56.1-r0 | |||||
运行在以下环境 | |||||||||
系统 | amazon_2 | curl | * | Up to (excluding) 7.61.1-9.amzn2.0.1 | |||||
运行在以下环境 | |||||||||
系统 | amazon_AMI | curl | * | Up to (excluding) 7.53.1-12.79.amzn1 | |||||
运行在以下环境 | |||||||||
系统 | centos_7 | curl | * | Up to (excluding) 7.29.0-42.el7_4.1 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | curl | * | Up to (excluding) 7.56.1-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | curl | * | Up to (excluding) 7.56.1-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | curl | * | Up to (excluding) 7.56.1-1 | |||||
运行在以下环境 | |||||||||
系统 | debian_7 | curl | * | Up to (excluding) 7.26.0-1+wheezy22 | |||||
运行在以下环境 | |||||||||
系统 | debian_8 | curl | * | Up to (excluding) 7.38.0-4+deb8u1 | |||||
运行在以下环境 | |||||||||
系统 | debian_9 | curl | * | Up to (excluding) 7.52.1-5+deb9u2 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | curl | * | Up to (excluding) 7.56.1-1 | |||||
运行在以下环境 | |||||||||
系统 | fedora_26 | libcurl-devel | * | Up to (excluding) 7.53.1-12.fc26 | |||||
运行在以下环境 | |||||||||
系统 | fedora_27 | curl-debugsource | * | Up to (excluding) 7.55.1-7.fc27 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_42.2 | libcurl4-32bit | * | Up to (excluding) 7.37.0-23.1 | |||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_42.3 | libcurl4-32bit | * | Up to (excluding) 7.37.0-23.1 | |||||
运行在以下环境 | |||||||||
系统 | oracle_7 | oraclelinux-release | * | Up to (excluding) 7.29.0-42.el7_4.1 | |||||
运行在以下环境 | |||||||||
系统 | redhat_7 | curl | * | Up to (excluding) 7.29.0-42.el7_4.1 | |||||
运行在以下环境 | |||||||||
系统 | suse_12 | curl | * | Up to (excluding) 7.37.0-37.8 | |||||
运行在以下环境 | |||||||||
系统 | suse_12_SP2 | curl | * | Up to (excluding) 7.37.0-37.8.1 | |||||
运行在以下环境 | |||||||||
系统 | suse_12_SP3 | curl | * | Up to (excluding) 7.37.0-37.8.1 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_14.04 | curl | * | Up to (excluding) 7.35.0-1ubuntu2.12 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_14.04.6_lts | curl | * | Up to (excluding) 7.35.0-1ubuntu2.12 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_16.04 | curl | * | Up to (excluding) 7.47.0-1ubuntu2.4 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_16.04.7_lts | curl | * | Up to (excluding) 7.47.0-1ubuntu2.4 | |||||
- 攻击路径 远程
- 攻击复杂度 复杂
- 权限要求 无需权限
- 影响范围 有限影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 无影响
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 100
CWE-ID | 漏洞类型 |
CWE-119 | 内存缓冲区边界内操作的限制不恰当 |
Exp相关链接

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