7.5high
Vulnerability in the COPY command for large intsets
- Severity
- 7.5high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 3.61% (higher than 89% 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 6.2 before 6.2.3 could be exploited to corrupt the heap and potentially result with remote code execution. Redis 6.0 and earlier are not directly affected by this issue. The problem is fixed in version 6.2.3. An additional workaround to mitigate the problem without patching the `redis-server` executable is to prevent users from modifying the `set-max-intset-entries` configuration parameter. This can be done using ACL to restrict unprivileged users from using the `CONFIG SET` command.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| redis redis | >= 6.2.0, < 6.2.3 | CVE List |
| redislabs redis | from 6.2.0 before 6.2.3 | 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.0medium CVSS:2.0 | AV:N/AC:M/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 6.2 before 6.2.3 could be exploited to corrupt the heap and potentially result with remote code execution. Redis 6.0 and earlier are not directly affected by this issue. The problem is fixed in version 6.2.3. An additional workaround to mitigate the problem without patching the `redis-server` executable is to prevent users from modifying the `set-max-intset-entries` configuration parameter. This can be done using ACL to restrict unprivileged users from using the `CONFIG SET` command.
NVD (es)
Redis es una estructura de datos en memoria de código abierto (con licencia BSD) almacenado, utilizado como base de datos, caché y agente de mensajes. Un bug de desbordamiento de enteros en Redis versiones 6.2 anteriores a 6.2.3, podría ser explotada para corromper la pila y potencialmente resultar en una ejecución de código remota. Redis versiones 6.0 y anteriores no están directamente afectadas por este problema. El problema es corregido en la versión 6.2.3. Una solución alternativa para mitigar el problema sin parchear el ejecutable "redis-server" es impedir que los usuarios modifiquen el parámetro de configuración "set-max-intset-entries". Esto puede realizarse usando la ACL para restringir que los usuarios no privilegiados usen el comando "CONFIG SET"
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-29478 changed 2024-08-03 | CVE Terms of Use |
| NVD | CVE-2021-29478 changed 2026-06-17 | Public domain |