Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2021-32765

8.8 · HIGH
Published Oct 4, 2021 redis CWE-190 EPSS 2.14% (81th pctl)

Overview

CVE-2021-32765 is a high-severity vulnerability affecting redis hiredis. It was published on October 4, 2021 and has a CVSS 3.1 base score of 8.8 (HIGH).

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

Technical Description

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.

Remediation

Check the references section for vendor advisories and patches from redis. Update hiredis to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
redis hiredis >= 0, < 1.0.1 Affected

Frequently Asked Questions

What is CVE-2021-32765?

CVE-2021-32765 is a high-severity vulnerability affecting redis hiredis. It was published on October 4, 2021 and has a CVSS 3.1 base score of 8.8 (HIGH).

How severe is CVE-2021-32765?

This vulnerability has a CVSS 3.1 base score of 8.8, rated HIGH. It can be exploited remotely over the network. Some level of privileges is required for exploitation.

How do I fix or remediate CVE-2021-32765?

Check the references section for vendor advisories and patches from redis. Update hiredis to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2021-32765?

CyberStrike's AI-powered security agents can automatically detect CVE-2021-32765 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.