CVE-2021-32626

Description

Redis is an open source, in-memory database that persists on disk. In affected versions specially crafted Lua scripts executing in Redis can cause the heap-based Lua stack to be overflowed, due to incomplete checks for this condition. This can result with heap corruption and potentially remote code execution. This problem exists in all versions of Redis with Lua scripting support, starting from 2.6. The problem is fixed in versions 6.2.6, 6.0.16 and 5.0.14. For users unable to update an additional workaround to mitigate the problem without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to restrict EVAL and EVALSHA commands.

Risk Information

Base Score
8.8
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS Score
Exploitation Probability
1.272

Associated Vulnerability

VulnerabilityOS Platform
Vulnerabilities CVE-2021-32626 are affected in Redis 6.0.9Windows
Redis update (ELSA-2021-3918) redis-5.0.3-5.module+el8.4.0+20382+7694043a.x86_64.rpmLinux
Redis-devel update (ELSA-2021-3918) redis-devel-5.0.3-5.module+el8.4.0+20382+7694043a.x86_64.rpmLinux
Redis-doc update (ELSA-2021-3918) redis-doc-5.0.3-5.module+el8.4.0+20382+7694043a.noarch.rpmLinux
(RHSA-2021:3918) redis:5 security update redis-5.0.3-5.module+el8.4.0+12927+b9845322.x86_64.rpmLinux
(RHSA-2021:3918) redis:5 security update redis-debugsource-5.0.3-5.module+el8.4.0+12927+b9845322.x86_64.rpmLinux
(RHSA-2021:3918) redis:5 security update redis-devel-5.0.3-5.module+el8.4.0+12927+b9845322.x86_64.rpmLinux
(RHSA-2021:3918) redis:5 security update redis-doc-5.0.3-5.module+el8.4.0+12927+b9845322.noarch.rpmLinux
(RHSA-2021:3945) redis:6 security update redis-6.0.9-5.module+el8.4.0+12929+1bb0d2aa.x86_64.rpmLinux
(RHSA-2021:3945) redis:6 security update redis-debugsource-6.0.9-5.module+el8.4.0+12929+1bb0d2aa.x86_64.rpmLinux
(RHSA-2021:3945) redis:6 security update redis-devel-6.0.9-5.module+el8.4.0+12929+1bb0d2aa.x86_64.rpmLinux
(RHSA-2021:3945) redis:6 security update redis-doc-6.0.9-5.module+el8.4.0+12929+1bb0d2aa.noarch.rpmLinux
Redis update (ELSA-2021-3945) redis-6.0.9-5.module+el8.4.0+20384+68ad316c.x86_64.rpmLinux
Redis-devel update (ELSA-2021-3945) redis-devel-6.0.9-5.module+el8.4.0+20384+68ad316c.x86_64.rpmLinux
Redis-doc update (ELSA-2021-3945) redis-doc-6.0.9-5.module+el8.4.0+20384+68ad316c.noarch.rpmLinux
redis security update(DSA-5001-1) redis_5.0.14-1+deb10u1_all.debLinux
redis security update(DSA-5001-1) redis_6.0.16-1+deb11u1_all.debLinux
Vulnerabilities CVE-2021-32626 are affected in Redis 6.0.9 (For Linux)Linux
(RHSA-2021:3918)Important: security update redis-debuginfo-5.0.3-5.module+el8.4.0+12927+b9845322.x86_64.rpmLinux
Important: redis:5 security update redis-5.0.3-5.module_el8.4.0+2583+b9845322.x86_64.rpmLinux
Important: redis:5 security update redis-devel-5.0.3-5.module_el8.4.0+2583+b9845322.x86_64.rpmLinux
Important: redis:5 security update redis-doc-5.0.3-5.module_el8.4.0+2583+b9845322.noarch.rpmLinux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234