中危 haxx curl 释放后使用

CVE编号

CVE-2021-22901

利用情况

暂无

补丁情况

官方补丁

披露时间

2021-06-12
漏洞描述
curl 7.75.0 through 7.76.1 suffers from a use-after-free vulnerability resulting in already freed memory being used when a TLS 1.3 session ticket arrives over a connection. A malicious server can use this in rare unfortunate circumstances to potentially reach remote code execution in the client. When libcurl at run-time sets up support for TLS 1.3 session tickets on a connection using OpenSSL, it stores pointers to the transfer in-memory object for later retrieval when a session ticket arrives. If the connection is used by multiple transfers (like with a reused HTTP/1.1 connection or multiplexed HTTP/2 connection) that first transfer object might be freed before the new session is established on that connection and then the function will access a memory buffer that might be freed. When using that memory, libcurl might even call a function pointer in the object, making it possible for a remote code execution if the server could somehow manage to get crafted memory content into the correct place in memory.
解决建议
建议您更新当前系统或软件至最新版,完成漏洞的修复。
受影响软件情况
# 类型 厂商 产品 版本 影响面
1
运行在以下环境
应用 haxx curl * From
(including)
7.75.0
Up to
(including)
7.76.1
运行在以下环境
系统 alpine_3.12 curl * Up to
(excluding)
7.77.0-r0
运行在以下环境
系统 alpine_3.13 curl * Up to
(excluding)
7.77.0-r0
运行在以下环境
系统 alpine_3.14 curl * Up to
(excluding)
7.77.0-r0
运行在以下环境
系统 alpine_3.15 curl * Up to
(excluding)
7.77.0-r0
运行在以下环境
系统 alpine_3.16 curl * Up to
(excluding)
7.77.0-r0
运行在以下环境
系统 alpine_3.17 curl * Up to
(excluding)
7.77.0-r0
运行在以下环境
系统 alpine_3.18 curl * Up to
(excluding)
7.77.0-r0
运行在以下环境
系统 alpine_3.19 curl * Up to
(excluding)
7.77.0-r0
运行在以下环境
系统 debian_10 curl * Up to
(excluding)
7.64.0-4+deb10u8
运行在以下环境
系统 debian_11 curl * Up to
(excluding)
7.74.0-1.3+deb11u11
运行在以下环境
系统 debian_12 curl * Up to
(excluding)
7.88.1-10+deb12u5
运行在以下环境
系统 fedora_34 curl * Up to
(excluding)
7.76.1-3.fc34
阿里云评分
5.1
  • 攻击路径
    远程
  • 攻击复杂度
    困难
  • 权限要求
    无需权限
  • 影响范围
    全局影响
  • EXP成熟度
    未验证
  • 补丁情况
    官方补丁
  • 数据保密性
    数据泄露
  • 数据完整性
    无影响
  • 服务器危害
    无影响
  • 全网数量
    N/A
CWE-ID 漏洞类型
CWE-416 释放后使用
阿里云安全产品覆盖情况