Redis is an open source, in-memory database that persists on disk. Versions 8.2.1 and below allow an authenticated user to use a specially crafted LUA script to read out-of-bound data or crash the server and subsequent denial of service. The problem exists in all versions of Redis with Lua scripting. This issue is fixed in version 8.2.2. To workaround this issue without patching the redis-server executable is to prevent users from executing Lua scripts. This can be done using ACL to block a script by restricting both the EVAL and FUNCTION command families.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
| Attack Vector | LOCAL |
|---|---|
| Attack Complexity | LOW |
| Privileges Required | LOW |
| User Interaction | NONE |
| Scope | UNCHANGED |
| Confidentiality Impact | HIGH |
| Integrity Impact | NONE |
| Availability Impact | HIGH |
| Source | Type | Description |
|---|---|---|
| [email protected] | Secondary |
en
CWE-190
|
| [email protected] | Primary |
en
CWE-125
|
| Vendor | Product | Version | Update | Type |
|---|---|---|---|---|
| redis | redis | * | <built-in method update of dict object at 0x7e60e8343880> | Application |
| redis | redis | * | <built-in method update of dict object at 0x7e60eb2e3540> | Application |
| redis | redis | * | <built-in method update of dict object at 0x7e60e8340ac0> | Application |
| redis | redis | * | <built-in method update of dict object at 0x7e60a8a563c0> | Application |
| redis | redis | * | <built-in method update of dict object at 0x7e60e8340e00> | Application |
| Vulnerable | CPE |
|---|---|
| Yes | cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* |
| Yes | cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* |