低危 缓冲区溢出漏洞

CVE编号

CVE-2018-14618

利用情况

暂无

补丁情况

官方补丁

披露时间

2018-09-06
漏洞描述
版本7.61.1之前的curl容易受到NTLM身份验证代码中的缓冲区溢出的影响。内部函数Curl_ntlm_core_mk_nt_hash将密码的长度乘以2(SUM),以计算从堆中分配的临时存储区域的大小。然后,长度值用于迭代密码并生成输出到分配的存储缓冲区。在具有32位size_t的系统上,当密码长度超过2GB(2 ^ 31字节)时,计算SUM的数学会触发整数溢出。这个整数溢出通常导致一个非常小的缓冲区实际上被分配而不是预期的非常大的缓冲区,使得该缓冲区的使用最终在堆缓冲区溢出。 (这个bug几乎与CVE-2017-8816相同。)

解决建议
厂商已发布漏洞修复程序,请及时关注更新:
https://github.com/curl/curl/commit/57d299a499155d4b327e341c6024e293b0418243.patch
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 haxx libcurl * Up to
(excluding)
7.61.1
运行在以下环境
系统 alibaba_cloud_linux_2.1903 curl * Up to
(excluding)
7.29.0-51.1.al7.3
运行在以下环境
系统 alpine_3.10 curl * Up to
(excluding)
7.61.1-r0
运行在以下环境
系统 alpine_3.11 curl * Up to
(excluding)
7.61.1-r0
运行在以下环境
系统 alpine_3.12 curl * Up to
(excluding)
7.61.1-r0
运行在以下环境
系统 alpine_3.13 curl * Up to
(excluding)
7.61.1-r0
运行在以下环境
系统 alpine_3.14 curl * Up to
(excluding)
7.61.1-r0
运行在以下环境
系统 alpine_3.15 curl * Up to
(excluding)
7.61.1-r0
运行在以下环境
系统 alpine_3.16 curl * Up to
(excluding)
7.61.1-r0
运行在以下环境
系统 alpine_3.17 curl * Up to
(excluding)
7.61.1-r0
运行在以下环境
系统 alpine_3.18 curl * Up to
(excluding)
7.61.1-r0
运行在以下环境
系统 alpine_3.19 curl * Up to
(excluding)
7.61.1-r0
运行在以下环境
系统 alpine_3.5 curl * Up to
(excluding)
7.61.1-r0
运行在以下环境
系统 alpine_3.6 curl * Up to
(excluding)
7.61.1-r0
运行在以下环境
系统 alpine_3.7 curl * Up to
(excluding)
7.61.1-r0
运行在以下环境
系统 alpine_3.8 curl * Up to
(excluding)
7.61.1-r0
运行在以下环境
系统 alpine_3.9 curl * Up to
(excluding)
7.61.1-r0
运行在以下环境
系统 amazon_2 curl * Up to
(excluding)
7.55.1-12.amzn2.0.7
运行在以下环境
系统 amazon_AMI curl * Up to
(excluding)
7.53.1-16.85.amzn1
运行在以下环境
系统 centos_7 curl * Up to
(excluding)
7.29.0-51.el7_6.3
运行在以下环境
系统 debian_10 curl * Up to
(excluding)
7.62.0-1
运行在以下环境
系统 debian_11 curl * Up to
(excluding)
7.62.0-1
运行在以下环境
系统 debian_12 curl * Up to
(excluding)
7.62.0-1
运行在以下环境
系统 fedora_27 curl * Up to
(excluding)
7.55.1-14.fc27
运行在以下环境
系统 fedora_28 curl * Up to
(excluding)
7.59.0-7.fc28
运行在以下环境
系统 fedora_29 curl * Up to
(excluding)
7.61.1-1.fc29
运行在以下环境
系统 opensuse_Leap_15.0 curl * Up to
(excluding)
7.60.0-lp150.2.12.1
运行在以下环境
系统 opensuse_Leap_42.3 curl * Up to
(excluding)
7.37.0-39.1
运行在以下环境
系统 oracle_7 curl * Up to
(excluding)
7.29.0-51.0.1.el7_6.3
运行在以下环境
系统 redhat_7 curl * Up to
(excluding)
7.29.0-51.el7_6.3
运行在以下环境
系统 suse_11_SP4 curl * Up to
(excluding)
7.37.0-70.33.1
运行在以下环境
系统 suse_12_SP3 curl * Up to
(excluding)
7.37.0-37.26.1
运行在以下环境
系统 ubuntu_14.04 curl * Up to
(excluding)
7.35.0-1ubuntu2.17
运行在以下环境
系统 ubuntu_16.04 curl * Up to
(excluding)
7.47.0-1ubuntu2.9
运行在以下环境
系统 ubuntu_18.04 curl * Up to
(excluding)
7.58.0-2ubuntu3.3
阿里云评分
3.1
  • 攻击路径
    远程
  • 攻击复杂度
    复杂
  • 权限要求
    无需权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    100
CWE-ID 漏洞类型
CWE-190 整数溢出或超界折返
阿里云安全产品覆盖情况