Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-p8x2-9v9q-c838

Опубликовано: 10 июл. 2023
Источник: github
Github: Не прошло ревью
CVSS3: 7

Описание

Heap overflow issue with the Lua cjson and cmsgpack libraries used by Redis

Impact

A specially crafted Lua script executing in Redis can trigger a heap overflow in the cjson and cmsgpack libraries, and result in heap corruption and potentially remote code execution.

The problem exists in all versions of Redis with Lua scripting support, starting from 2.6, and affects only authenticated and authorized users.

Patches

The problem is fixed in versions 7.0.12, 6.2.13, 6.0.20.

Workarounds

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.

Credit

The problem was reported by Seiya Nakata and Yudai Fujiwara, security researchers from Ricerca Security, Inc.

For more information

If you have any questions or comments about this advisory:

Пакеты

Наименование

redis

redis
Затронутые версииВерсия исправления

>=6.0.0, <6.0.20

6.0.20

Наименование

redis

redis
Затронутые версииВерсия исправления

>=6.2.0, <6.2.13

6.2.13

Наименование

redis

redis
Затронутые версииВерсия исправления

>=7.0.0, <7.0.12

7.0.12

EPSS

Процентиль: 99%
0.41409
Средний

7 High

CVSS3

Дефекты

CWE-680

Связанные уязвимости

CVSS3: 7
ubuntu
около 3 лет назад

Redis is an in-memory database that persists on disk. A specially crafted Lua script executing in Redis can trigger a heap overflow in the cjson library, and result with heap corruption and potentially remote code execution. The problem exists in all versions of Redis with Lua scripting support, starting from 2.6, and affects only authenticated and authorized users. The problem is fixed in versions 7.0.12, 6.2.13, and 6.0.20.

CVSS3: 7
redhat
около 3 лет назад

Redis is an in-memory database that persists on disk. A specially crafted Lua script executing in Redis can trigger a heap overflow in the cjson library, and result with heap corruption and potentially remote code execution. The problem exists in all versions of Redis with Lua scripting support, starting from 2.6, and affects only authenticated and authorized users. The problem is fixed in versions 7.0.12, 6.2.13, and 6.0.20.

CVSS3: 7
nvd
около 3 лет назад

Redis is an in-memory database that persists on disk. A specially crafted Lua script executing in Redis can trigger a heap overflow in the cjson library, and result with heap corruption and potentially remote code execution. The problem exists in all versions of Redis with Lua scripting support, starting from 2.6, and affects only authenticated and authorized users. The problem is fixed in versions 7.0.12, 6.2.13, and 6.0.20.

CVSS3: 8.8
msrc
около 3 лет назад

Heap overflow issue with the Lua cjson library used by Redis

CVSS3: 7
debian
около 3 лет назад

Redis is an in-memory database that persists on disk. A specially craf ...

EPSS

Процентиль: 99%
0.41409
Средний

7 High

CVSS3

Дефекты

CWE-680