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.
Higher than 81% of scored CVEs
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.
- 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
- NVD entrynvd.nist.gov
- CVE recordcve.org
- Weakness CWE-680cwe.mitre.org
- Vendor advisorysecurity.gentoo.org
- github.com/redis/hiredis/security/advisories/GHSA-hfm9-39pp-55p2github.com
- github.com/redis/hiredis/commit/76a7b10005c70babee357a7d0f2becf2github.com
- wiki.sei.cmu.edu/confluence/display/c/MEM07-C.+Ensure+that+the+awiki.sei.cmu.edu
- security.netapp.com/advisory/ntap-20211104-0003security.netapp.com
- Mailing listlists.debian.org