低危 Squid Web Proxy 至 4.7 ESI Parser o越界写入漏洞

CVE编号

CVE-2019-12521

利用情况

暂无

补丁情况

官方补丁

披露时间

2020-04-16
漏洞描述
Squid through 4.7中发现了一个问题。 Squid解析ESI时,会将ESI元素保留在ESIContext中。 ESIContext包含用于保存ESIElement堆栈的缓冲区。解析新的ESIElement时,将通过addStackElement添加它。 addStackElement会检查此缓冲区中的元素数量,但是将其关闭1,导致堆溢出为1个元素。溢出在同一结构内,因此它不会影响相邻的内存块,因此只会导致处理时崩溃。
解决建议
目前厂商暂未发布修复措施解决此安全问题,建议使用此软件的用户随时关注厂商主页或参考网址以获取解决办法:
https://github.com/squid-cache/squid
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 squid-cache squid * From
(including)
3.0
Up to
(including)
3.5.28
运行在以下环境
应用 squid-cache squid * From
(including)
4.0
Up to
(including)
4.7
运行在以下环境
应用 squid-cache squid * From
(including)
5.0
Up to
(including)
5.0.1
运行在以下环境
系统 alibaba_cloud_linux_3 squid * Up to
(excluding)
4.11-3.1.al8
运行在以下环境
系统 alpine_3.10 squid * Up to
(excluding)
4.11-r0
运行在以下环境
系统 alpine_3.11 squid * Up to
(excluding)
4.11-r0
运行在以下环境
系统 alpine_3.9 squid * Up to
(excluding)
4.11-r0
运行在以下环境
系统 amazon_2 squid * Up to
(excluding)
4.11-1.amzn2.0.1
运行在以下环境
系统 amazon_AMI squid * Up to
(excluding)
3.5.20-15.39.amzn1
运行在以下环境
系统 debian_10 squid * Up to
(excluding)
4.6-1+deb10u2
运行在以下环境
系统 debian_11 squid * Up to
(excluding)
4.11-1
运行在以下环境
系统 debian_12 squid * Up to
(excluding)
4.11-1
运行在以下环境
系统 debian_9 squid3 * Up to
(excluding)
3.5.23-5+deb9u2
运行在以下环境
系统 opensuse_Leap_15.1 squid * Up to
(excluding)
4.11-lp151.2.15.2
运行在以下环境
系统 suse_12_SP4 squid * Up to
(excluding)
3.5.21-26.23.1
运行在以下环境
系统 suse_12_SP5 squid * Up to
(excluding)
4.11-4.9.1
运行在以下环境
系统 ubuntu_16.04 squid3 * Up to
(excluding)
3.5.12-1ubuntu7.11
运行在以下环境
系统 ubuntu_18.04 squid3 * Up to
(excluding)
3.5.27-1ubuntu1.6
运行在以下环境
系统 ubuntu_20.04 squid * Up to
(excluding)
4.10-1ubuntu1.1
运行在以下环境
系统 ubuntu_21.04 squid * Up to
(excluding)
4.10-1ubuntu2
阿里云评分
2.7
  • 攻击路径
    远程
  • 攻击复杂度
    困难
  • 权限要求
    无需权限
  • 影响范围
    有限影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    无影响
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    100
CWE-ID 漏洞类型
CWE-193 Off-by-one错误
CWE-787 跨界内存写
阿里云安全产品覆盖情况