summaryrefslogtreecommitdiff
path: root/src/networking.c
diff options
context:
space:
mode:
authorOran Agra <oran@redislabs.com>2021-10-04 12:10:17 +0300
committerGitHub <noreply@github.com>2021-10-04 12:10:17 +0300
commit0215324a66af949be39b34be2d55143232c1cb71 (patch)
treeeb6c7468dd3c8a47d3f8a61c5d576f3cee1a0b48 /src/networking.c
parent7cb89a5a1cc8ee0b003a36b2eba42573c09c45f9 (diff)
downloadredis-0215324a66af949be39b34be2d55143232c1cb71.tar.gz
Fix redis-cli / redis-sential overflow on some platforms (CVE-2021-32762) (#9587)
The redis-cli command line tool and redis-sentinel service may be vulnerable to integer overflow when parsing specially crafted large multi-bulk network replies. This is a result of a vulnerability in the underlying hiredis library which does not perform an overflow check before calling the calloc() heap allocation function. This issue only impacts systems with heap allocators that do not perform their own overflow checks. Most modern systems do and are therefore not likely to be affected. Furthermore, by default redis-sentinel uses the jemalloc allocator which is also not vulnerable. Co-authored-by: Yossi Gottlieb <yossigo@gmail.com>
Diffstat (limited to 'src/networking.c')
0 files changed, 0 insertions, 0 deletions