Skip to content
Sign in
CVE-2021-327658.8HighCWE-680

CVE-2021-32765: Integer Overflow to Buffer Overflow in Hiredis

redis · hiredis

Vendor fix available · Affected: redis hiredis · Exploitation: possible (1 to 10%)

Not in CyberSIXT coverage yet: no article names this CVE. This page shows the public record.

2.1%probability of exploitation in the next 30 days
81st percentile
050100

Higher than 81% of scored CVEs

8.8HighCVSS 3.1
LowHigh

DescriptionCVE.org

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.

Affected products1

From the CVE record. A product or version that is not listed is unknown, not unaffected.

  • redis · hiredis< 1.0.1

On the Atlas

Every published CVE is on the CyberSIXT Atlas, grouped by weakness, vendor and month.

Open the Atlas
Exploitation
Possible (1 to 10%). EPSS between 1% and 10%.
CISA KEV
Not listed
Public check
No public nuclei template
Vendor
redis
Published
October 2021

CoverageNo articles yet

No CyberSIXT article names CVE-2021-32765 yet, so there is no coverage timeline, action brief or change log for it. Everything on this page comes from the public CVE record, CISA KEV, EPSS and the nuclei template index. Search the archive or see the CVEs in the news.

References

Updated AboutDevelopersSign in