Medium severity · published Jul 15, 2023
CVE-2021-31294
Redis before 6cbea7d allows a replica to cause an assertion failure in a primary server by sending a non-administrative command (specifically, a SET command)
5.9
CVSS
1.3%
EPSS
No
On KEV
Description
Redis before 6cbea7d allows a replica to cause an assertion failure in a primary server by sending a non-administrative command (specifically, a SET command). NOTE: this was fixed for Redis 6.2.x and 7.x in 2021. Versions before 6.2 were not intended to have safety guarantees related to this.
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
High
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.3% · higher than 70% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RE
Redis · Redis
before 6.2.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2021-31294
CVE.org
https://www.cve.org/CVERecord?id=CVE-2021-31294
Patch
https://github.com/redis/redis/commit/46f4ebbe842620f0976a36741a72482620aa4b48
Patch
https://github.com/redis/redis/commit/6cbea7d29b5285692843bc1c351abba1a7ef326f
Exploit
https://github.com/redis/redis/issues/8712
security.netapp.com
https://security.netapp.com/advisory/ntap-20230814-0007/
More from Redis
10.0
CVE-2022-0543
Debian-specific Redis Server Lua Sandbox Escape Vulnerability
9.9
CVE-2025-49844
Redis Lua Use-After-Free may lead to remote code execution
9.8
CVE-2025-27151
Redis is an open source, in-memory database that persists on disk
9.8
CVE-2024-46981
Redis' Lua library commands may lead to remote code execution
9.8
CVE-2022-3734
Redis on Windows dbghelp.dll uncontrolled search path
