中危 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_edge | curl | * | Up to (excluding) 7.77.0-r0 | |||||
运行在以下环境 | |||||||||
系统 | debian_10 | curl | * | Up to (excluding) 7.64.0-4+deb10u2 | |||||
运行在以下环境 | |||||||||
系统 | debian_11 | curl | * | Up to (excluding) 7.74.0-1.3+deb11u9 | |||||
运行在以下环境 | |||||||||
系统 | debian_12 | curl | * | Up to (excluding) 7.88.1-10+deb12u3 | |||||
运行在以下环境 | |||||||||
系统 | debian_sid | curl | * | Up to (excluding) 8.4.0-2 | |||||
运行在以下环境 | |||||||||
系统 | fedora_34 | curl-minimal | * | Up to (excluding) 7.76.1-3.fc34 | |||||
运行在以下环境 | |||||||||
系统 | ubuntu_18.04.5_lts | curl | * | Up to (excluding) 7.58.0-2ubuntu3.13 | |||||
- 攻击路径 远程
- 攻击复杂度 困难
- 权限要求 无需权限
- 影响范围 全局影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 数据泄露
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
CWE-ID | 漏洞类型 |
CWE-416 | 释放后使用 |
Exp相关链接

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