CWE
190 680
Advisory Published
Updated

CVE-2021-32762: Integer overflow that can lead to heap overflow in redis-cli, redis-sentinel on some platforms

First published: Mon Oct 04 2021(Updated: )

Redis is an open source, in-memory database that persists on disk. 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. The problem is fixed in Redis versions 6.2.6, 6.0.16 and 5.0.14.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
debian/redis
5:5.0.14-1+deb10u2
5:5.0.14-1+deb10u5
5:6.0.16-1+deb11u2
5:7.0.11-1
5:7.0.14-1
Redis>=5.0.0<5.0.14
Redis>=6.0.0<6.0.16
Redis>=6.2.0<6.2.6
Debian=10.0
Debian=11.0
Fedora=33
Fedora=34
Fedora=35
netapp management services for element software
NetApp Management Services for NetApp HCI
Oracle Communications Operations Monitor=4.3
Oracle Communications Operations Monitor=4.4
Oracle Communications Operations Monitor=5.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is CVE-2021-32762?

    CVE-2021-32762 is a vulnerability in Redis that allows for integer overflow when parsing specially crafted large multi-bulk network replies.

  • How severe is CVE-2021-32762?

    CVE-2021-32762 has a severity rating of 8.8, which is considered critical.

  • Which software versions are affected by CVE-2021-32762?

    Redis versions 5.0.0 to 5.0.14, 6.0.0 to 6.0.16, and 6.2.0 to 6.2.6 are affected by CVE-2021-32762.

  • How can I fix CVE-2021-32762?

    To fix CVE-2021-32762, update Redis to version 5.0.14, 6.0.16, or 6.2.6.

  • Are there any references for CVE-2021-32762?

    Yes, you can find references for CVE-2021-32762 at the following links: [GitHub Advisory](https://github.com/redis/redis/security/advisories/GHSA-833w-8v3m-8wwr) and [Debian Security Tracker](https://security-tracker.debian.org/tracker/CVE-2021-32762).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203