CVEvulnerability

CVE-2021-32626

8.8 HIGH Published 2021-10-04 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2021-10-04
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
7.5 HIGH — CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 3.1 ([email protected])
8.8 HIGH — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS 2.0 ([email protected])
6.5 MEDIUM — AV:N/AC:L/Au:S/C:P/I:P/A:P
Weaknesses
CWE-122, CWE-787

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.

Affected configurations

• redis redis (>= 2.6 < 5.0.14) • redis redis (>= 6.0.0 < 6.0.16) • redis redis (>= 6.2.0 < 6.2.6) • fedoraproject fedora 33 • fedoraproject fedora 34 • fedoraproject fedora 35 • netapp management services for element software • netapp management services for netapp hci • debian debian linux 10.0 • debian debian linux 11.0 • oracle communications operations monitor 4.3 • oracle communications operations monitor 4.4 • oracle communications operations monitor 5.0

Related

Weakness · CWE (2)

  • CWE-122 Heap-based Buffer Overflow weakness
  • CWE-787 Out-of-bounds Write weakness

References