CVE编号
CVE-2021-32765利用情况
暂无补丁情况
官方补丁披露时间
2021-10-05漏洞描述
Hiredis is a minimalistic C client library for the Redis database. In affected versions Hiredis is vulnurable to integer overflow if provided maliciously crafted or corrupted `RESP` `mult-bulk` protocol data. When parsing `multi-bulk` (array-like) replies, hiredis fails to check if `count * sizeof(redisReply*)` can be represented in `SIZE_MAX`. If it can not, and the `calloc()` call doesn't itself make this check, it would result in a short allocation and subsequent buffer overflow. Users of hiredis who are unable to update may set the [maxelements](https://github.com/redis/hiredis#reader-max-array-elements) context option to a value small enough that no overflow is possible.解决建议
下载相关补丁
参考链接 |
|
---|---|
https://github.com/redis/hiredis/commit/76a7b10005c70babee357a7d0f2becf28ec7ed1e | |
https://github.com/redis/hiredis/security/advisories/GHSA-hfm9-39pp-55p2 | |
https://lists.debian.org/debian-lts-announce/2021/10/msg00007.html | |
https://security.netapp.com/advisory/ntap-20211104-0003/ | |
https://wiki.sei.cmu.edu/confluence/display/c/MEM07-C.+Ensure+that+the+argume... |
受影响软件情况
# | 类型 | 厂商 | 产品 | 版本 | 影响面 | ||||
1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
运行在以下环境 | |||||||||
应用 | redis | hiredis | * |
Up to (excluding) 1.0.1 |
|||||
运行在以下环境 | |||||||||
系统 | debian_10 | hiredis | * |
Up to (excluding) 0.14.0-3 |
|||||
运行在以下环境 | |||||||||
系统 | debian_11 | hiredis | * |
Up to (excluding) 0.14.1-1 |
|||||
运行在以下环境 | |||||||||
系统 | debian_12 | hiredis | * |
Up to (excluding) 0.14.1-1 |
|||||
运行在以下环境 | |||||||||
系统 | debian_9 | hiredis | * |
Up to (excluding) 0.13.3-1+deb9u1 |
|||||
运行在以下环境 | |||||||||
系统 | fedora_35 | hiredis | * |
Up to (excluding) 0.13.3-17.fc35 |
|||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.2 | hiredis | * |
Up to (excluding) 0.13.3-bp153.2.3.1 |
|||||
运行在以下环境 | |||||||||
系统 | opensuse_Leap_15.3 | hiredis | * |
Up to (excluding) 0.13.3-bp153.2.3.1 |
|||||
- 攻击路径 远程
- 攻击复杂度 容易
- 权限要求 普通权限
- 影响范围 全局影响
- EXP成熟度 未验证
- 补丁情况 官方补丁
- 数据保密性 数据泄露
- 数据完整性 无影响
- 服务器危害 无影响
- 全网数量 N/A
还没有评论,来说两句吧...