Register for the AI for Security Summit: Join Figma, Perplexity & Wiz

CVE-2021-29478
Redis vulnerability analysis and mitigation

Overview

Redis, an open-source in-memory data structure store, was found to contain an integer overflow vulnerability (CVE-2021-29478) in version 6.2 before 6.2.3. The vulnerability was discovered in May 2021 and affects Redis when used as a database, cache, and message broker. The issue specifically impacts Redis 6.2 versions prior to 6.2.3, while Redis 6.0 and earlier versions are not directly affected by this vulnerability (GitHub Advisory, NVD).

Technical details

The vulnerability is an integer overflow bug that could be exploited through the COPY command when working with large intsets. The exploitation involves changing the default set-max-intset-entries configuration value, creating a large set key consisting of integer values, and using the COPY command to duplicate it. The vulnerability has been assigned a CVSS v3.1 base score of 7.5 (High) with the vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (GitHub Advisory).

Impact

If successfully exploited, this vulnerability could lead to heap corruption and potentially result in remote code execution. While the integer overflow bug exists in all versions of Redis starting with 2.6, it could only be exploited through the COPY command in version 6.2, where it could result in corrupted RDB or DUMP payload (GitHub Advisory, Fedora Update).

Exploitability

The vulnerability requires network access and low privileges but high attack complexity to exploit. An attacker would need to be able to modify the set-max-intset-entries configuration parameter and have the ability to create and manipulate large set keys (GitHub Advisory).

Mitigation and workarounds

The primary mitigation is to upgrade to Redis version 6.2.3 which contains the fix for this vulnerability. For users unable to immediately upgrade, a workaround is available by preventing users from modifying the set-max-intset-entries configuration parameter. This can be accomplished by using ACL to restrict unprivileged users from using the CONFIG SET command (GitHub Advisory, Gentoo Security).

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-2026-81934HIGH7.5
  • Redis logoRedis
  • redis:6::redis
NoYesAug 27, 2026
CVE-2026-66373HIGH7.5
  • Redis logoRedis
  • valkey::valkey
NoYesJul 25, 2026
CVE-2026-92925HIGH7.1
  • Redis logoRedis
  • valkey
NoNoSep 17, 2026
CVE-2026-72568MEDIUM6
  • Redis logoRedis
  • redis
NoNoAug 10, 2026
CVE-2026-62356NONEN/A
  • Redis logoRedis
  • redis
NoYesAug 18, 2026

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