7.5high
Redis vulnerability in STRALGO LCS on 32-bit systems
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 4.14% (higher than 91% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
Description
Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. An integer overflow bug in Redis version 6.0 or newer, could be exploited using the STRALGO LCS command to corrupt the heap and potentially result with remote code execution. This is a result of an incomplete fix by CVE-2021-29477. The problem is fixed in version 6.2.4 and 6.0.14. An additional workaround to mitigate the problem without patching the redis-server executable is to use ACL configuration to prevent clients from using the STRALGO LCS command. On 64 bit systems which have the fixes of CVE-2021-29477 (6.2.3 or 6.0.13), it is sufficient to make sure that the proto-max-bulk-len config parameter is smaller than 2GB (default is 512MB).
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| redis redis | < 6.0.14, >= 6.2.0, < 6.2.4 | CVE List |
| redislabs redis | from 6.0.0 before 6.0.14, from 6.2.0 before 6.2.4 | NVD |
| fedoraproject fedora | 33, 34 | NVD |
All scores
| GitHub_M | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Classification
What each source says
CVE List
Redis is an open source (BSD licensed), in-memory data structure store, used as a database, cache, and message broker. An integer overflow bug in Redis version 6.0 or newer, could be exploited using the STRALGO LCS command to corrupt the heap and potentially result with remote code execution. This is a result of an incomplete fix by CVE-2021-29477. The problem is fixed in version 6.2.4 and 6.0.14. An additional workaround to mitigate the problem without patching the redis-server executable is to use ACL configuration to prevent clients from using the STRALGO LCS command. On 64 bit systems which have the fixes of CVE-2021-29477 (6.2.3 or 6.0.13), it is sufficient to make sure that the proto-max-bulk-len config parameter is smaller than 2GB (default is 512MB).
NVD (es)
Redis es un almacén de estructuras de datos en memoria de código abierto (con licencia BSD), utilizado como base de datos, caché y corredor de mensajes. Un error de desbordamiento de enteros en la versión 6.0 o más reciente de Redis, podría ser explotado usando el comando STRALGO LCS para corromper la pila y potencialmente resultar en la ejecución remota de código. Esto es el resultado de una corrección incompleta de CVE-2021-29477. El problema se ha corregido en las versiones 6.2.4 y 6.0.14. Una solución adicional para mitigar el problema sin parchear el ejecutable de redis-server es utilizar la configuración ACL para evitar que los clientes utilicen el comando STRALGO LCS. En los sistemas de 64 bits que tienen las correcciones de CVE-2021-29477 (6.2.3 o 6.0.13), basta con asegurarse de que el parámetro de configuración proto-max-bulk-len es menor que 2GB (el valor predeterminado es 512MB)
References
| https://github.com/redis/redis/security/advisories/GHSA-46cp-x4x9-6pfq | third-party-advisory | |
| https://github.com/redis/redis/releases/tag/6.0.14 | release-notes, third-party-advisory | |
| https://github.com/redis/redis/releases/tag/6.2.4 | release-notes, third-party-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BHWOF7CBVUGDK3AN6H3BN3VNTH2TDUZZ/ | vendor-advisory | |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/SN7INTZFE34MIQJO7WDDTIY5LIBGN6GI/ | vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-32625 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-32625 changed 2026-06-17 | Public domain |