CVE-2021-32687
Redis vulnerability analysis and mitigation

Overview

CVE-2021-32687 is an integer overflow vulnerability affecting all versions of Redis that was discovered and disclosed on October 4, 2021. The vulnerability involves changing the default 'set-max-intset-entries' configuration parameter to a very large value and constructing specially crafted commands to manipulate sets (GitHub Advisory, NVD).

Technical details

The vulnerability is rated as High severity with a CVSS score of 7.5 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H). The issue occurs when the set-max-intset-entries configuration parameter is manually configured to a non-default, very large value, which can lead to an integer overflow condition in the intset data structure (GitHub Advisory).

Impact

When successfully exploited, this vulnerability can be used to corrupt the heap and potentially lead to arbitrary contents of the heap being leaked or trigger remote code execution. The vulnerability affects the integrity and confidentiality of the Redis server (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in Redis versions 6.2.6, 6.0.16, and 5.0.14. As a workaround before patching, users can prevent modification of the set-max-intset-entries configuration parameter by using ACL to restrict unprivileged users from using the CONFIG SET command (GitHub Advisory).

Community reactions

The vulnerability was discovered and reported by Pawel Wieczorkiewicz from Amazon Web Services. Multiple organizations including Red Hat, Oracle, and Debian issued security advisories and patches for their Redis implementations (Red Hat Advisory, Debian Advisory).

Additional resources


SourceThis report was generated using AI

Related Redis vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-49844CRITICAL9.9
  • RedisRedis
  • cpe:2.3:a:redis:redis
NoYesOct 03, 2025
CVE-2025-46817HIGH8.8
  • RedisRedis
  • valkey-devel
NoYesOct 03, 2025
CVE-2025-62507HIGH7.7
  • RedisRedis
  • redis-8.2
NoYesNov 04, 2025
CVE-2025-46818HIGH7.3
  • RedisRedis
  • redis:7::redis-devel
NoYesOct 03, 2025
CVE-2025-46819HIGH7.1
  • RedisRedis
  • redict
NoYesOct 03, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management