CVE-2024-46981
redis: Redis' Lua library commands may lead to remote code execution
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, Bitnami, Photon OS. Más baja según Red Hat (alta), AlmaLinux (alta), Amazon (alta), Azure Linux (alta), CBL-Mariner (alta), Oracle (alta), Rocky Linux (alta), Ubuntu (media).
Descripción
Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to manipulate the garbage collector and potentially lead to remote code execution. The problem is fixed in 7.4.2, 7.2.7, and 6.2.17. 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.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | keydb, redis, valkey | 6.3.4 y 2 más |
| Photon OS 4.0 | redis | 7.0.15-3.ph4 |
| Photon OS 5.0 | redis | 7.2.6-3.ph5 |
| alma 8 | redis:6::redis, redis:6::redis-devel, redis:6::redis-doc | 6.2.17-1.module_el8.10.0+3946+3de613d5 |
| alma 9 | redis, redis-devel, redis-doc y 3 más | 6.2.17-1.el9_5 y 1 más |
| alpine 3.15 | redis | 6.2.18-r0 |
| alpine 3.18 | redis | 7.0.15-r2 |
| alpine 3.19 | redis | 7.2.7-r0 |
| alpine 3.20 | redict, redis, valkey | 7.3.2-r0 y 2 más |
| alpine 3.21 | redict, redis, valkey | 7.3.2-r0 y 2 más |
| alpine 3.22 | redict, redis, valkey | 7.3.2-r0 y 2 más |
| alpine 3.23 | redict, redis, valkey | 7.3.2-r0 y 2 más |
Mostrar las 115 entradas de 46 fuentes
| Fuente | Paquete | Corregido en |
|---|---|---|
| bitnami::Bitnami Vulnerability Database | keydb | 6.3.4 |
| bitnami::Bitnami Vulnerability Database | redis | 6.2.17, 7.2.8, 7.4.2 |
| bitnami::Bitnami Vulnerability Database | valkey | 8.0.2 |
| Photon OS 4.0 | redis | 7.0.15-3.ph4 |
| Photon OS 5.0 | redis | 7.2.6-3.ph5 |
| alma 8 | redis:6::redis | 6.2.17-1.module_el8.10.0+3946+3de613d5 |
| alma 8 | redis:6::redis-devel | 6.2.17-1.module_el8.10.0+3946+3de613d5 |
| alma 8 | redis:6::redis-doc | 6.2.17-1.module_el8.10.0+3946+3de613d5 |
| alma 9 | redis | 6.2.17-1.el9_5 |
| alma 9 | redis-devel | 6.2.17-1.el9_5 |
| alma 9 | redis-doc | 6.2.17-1.el9_5 |
| alma 9 | redis:7::redis | 7.2.7-1.module_el9.5.0+134+2e645600 |
| alma 9 | redis:7::redis-devel | 7.2.7-1.module_el9.5.0+134+2e645600 |
| alma 9 | redis:7::redis-doc | 7.2.7-1.module_el9.5.0+134+2e645600 |
| alpine 3.15 | redis | 6.2.18-r0 |
| alpine 3.18 | redis | 7.0.15-r2 |
| alpine 3.19 | redis | 7.2.7-r0 |
| alpine 3.20 | redict | 7.3.2-r0 |
| alpine 3.20 | redis | 7.2.7-r0 |
| alpine 3.20 | valkey | 7.2.8-r0 |
| alpine 3.21 | redict | 7.3.2-r0 |
| alpine 3.21 | redis | 7.2.7-r0 |
| alpine 3.21 | valkey | 7.2.8-r0 |
| alpine 3.22 | redict | 7.3.2-r0 |
| alpine 3.22 | redis | 7.2.7-r0 |
| alpine 3.22 | valkey | 7.2.8-r0 |
| alpine 3.23 | redict | 7.3.2-r0 |
| alpine 3.23 | redis | 7.2.7-r0 |
| alpine 3.23 | valkey | 7.2.8-r0 |
| alpine 3.24 | redict | 7.3.2-r0 |
| alpine 3.24 | redis | 7.2.7-r0 |
| alpine 3.24 | valkey | 7.2.8-r0 |
| alpine edge | redict | 7.3.2-r0 |
| alpine edge | redis | 7.2.7-r0 |
| alpine edge | valkey | 7.2.8-r0 |
| amazon linux 2023 | redis6 | 6.2.14-2.amzn2023.0.2 |
| amazon linux 2023 | redis6-debuginfo | 6.2.14-2.amzn2023.0.2 |
| amazon linux 2023 | redis6-debugsource | 6.2.14-2.amzn2023.0.2 |
| amazon linux 2023 | redis6-devel | 6.2.14-2.amzn2023.0.2 |
| amazon linux 2023 | redis6-doc | 6.2.14-2.amzn2023.0.2 |
| Azure Linux 3.0 | valkey | 0:8.0.2-1.azl3 |
| CBL-Mariner 2.0 | redis | 0:6.2.17-1.cm2 |
| chainguard | py3-redis | 0 |
| chainguard | redis-6.2 | 6.2.17-r0 |
| chainguard | redis-7.2 | 7.2.12-r2 |
| chainguard | redis-7.4 | 7.4.2-r0 |
| debian 11 | redis | 5:6.0.16-1+deb11u5 |
| debian 12 | redis | 5:7.0.15-1~deb12u3 |
| debian 13 | redis | 5:7.0.15-3 |
| debian 13 | valkey | 8.0.2+dfsg1-1 |
| debian 14 | redict | 7.3.2+ds-1 |
| debian 14 | redis | 5:7.0.15-3 |
| debian 14 | valkey | 8.0.2+dfsg1-1 |
| echo | redis | 5:7.0.15-1~deb12u3 |
| echo | valkey | 8.0.2+dfsg1-1 |
| minimos | redis-6.2 | 6.2.17-r0 |
| minimos | redis-7.2 | 7.2.7-r0 |
| minimos | redis-7.4 | 7.4.2-r0 |
| Oracle Linux 8 | redis | 6.2.17-1.0.1.module+el8.10.0+90491+f9002f77 |
| Oracle Linux 8 | redis-devel | 6.2.17-1.0.1.module+el8.10.0+90491+f9002f77 |
| Oracle Linux 8 | redis-doc | 6.2.17-1.0.1.module+el8.10.0+90491+f9002f77 |
| Oracle Linux 9 | redis | 7.2.7-1.module+el9.5.0+90492+80cb7599 |
| Oracle Linux 9 | redis-devel | 7.2.7-1.module+el9.5.0+90492+80cb7599 |
| Oracle Linux 9 | redis-doc | 7.2.7-1.module+el9.5.0+90492+80cb7599 |
| rapidfort alpine 3.20 | redict | 7.3.2-r0 |
| rapidfort alpine 3.20 | redis | 7.2.7-r0 |
| rapidfort alpine 3.20 | valkey | 7.2.8-r0 |
| rapidfort alpine 3.21 | redict | 7.3.2-r0 |
| rapidfort alpine 3.21 | redis | 7.2.7-r0 |
| rapidfort alpine 3.21 | valkey | 7.2.8-r0 |
| rapidfort alpine 3.22 | redis | 7.2.7-r0 |
| rapidfort alpine 3.22 | valkey | 7.2.8-r0 |
| rapidfort alpine 3.23 | redict | 7.3.2-r0 |
| rapidfort alpine 3.23 | redis | 7.2.7-r0 |
| rapidfort alpine 3.23 | valkey | 7.2.8-r0 |
| rapidfort alpine 3.24 | redict | 7.3.2-r0 |
| rapidfort alpine 3.24 | redis | 7.2.7-r0 |
| rapidfort alpine 3.24 | valkey | 7.2.8-r0 |
| rapidfort amazon linux 2023 | redis6 | 6.2.14-2.amzn2023.0.2 |
| rapidfort amazon linux 2023 | redis6-devel | 6.2.14-2.amzn2023.0.2 |
| rapidfort amazon linux 2023 | redis6-doc | 6.2.14-2.amzn2023.0.2 |
| rapidfort debian 12 | redict | 0:7.3.2+ds-1 |
| rapidfort debian 12 | redis | 5:7.0.15-3 |
| rapidfort debian 12 | rf-redis | 5:7.0.15-3 |
| rapidfort debian 12 | valkey | 0:8.0.2+dfsg1-1 |
| rapidfort debian 13 | redict | 0:7.3.2+ds-1 |
| rapidfort debian 13 | redis | 5:7.0.15-3 |
| rapidfort debian 13 | rf-redis | 5:7.0.15-3 |
| rapidfort debian 13 | valkey | 0:8.0.2+dfsg1-1 |
| rapidfort Oracle Linux 9 | redis | 0:6.2.17-1.el9_5 |
| rapidfort Oracle Linux 9 | redis-devel | 0:6.2.17-1.el9_5 |
| rapidfort Oracle Linux 9 | redis-doc | 0:6.2.17-1.el9_5 |
| rapidfort ubuntu 20.04 | redis | 5:7.0.15-1ubuntu0.24.04.1 |
| rapidfort ubuntu 20.04 | rf-redis | 5:7.0.15-1ubuntu0.24.04.1 |
| rapidfort ubuntu 22.04 | redis | 5:7.0.15-1ubuntu0.24.04.1 |
| rapidfort ubuntu 22.04 | rf-redis | 5:7.0.15-1ubuntu0.24.04.1 |
| rapidfort ubuntu 24.04 | redis | 5:7.0.15-1ubuntu0.24.04.1 |
| rapidfort ubuntu 24.04 | rf-redis | 5:7.0.15-1ubuntu0.24.04.1 |
| rocky 8 | redis:6::redis | 6.2.17-1.module+el8.10.0+1923+5b85c6a7 |
| rocky 8 | redis:6::redis-devel | 6.2.17-1.module+el8.10.0+1923+5b85c6a7 |
| rocky 8 | redis:6::redis-doc | 6.2.17-1.module+el8.10.0+1923+5b85c6a7 |
| rocky 9 | redis | 6.2.17-1.el9_5 |
| rocky 9 | redis-devel | 6.2.17-1.el9_5 |
| rocky 9 | redis-doc | 6.2.17-1.el9_5 |
| rocky 9 | redis:7::redis | 7.2.7-1.module+el9.5.0+30204+5d6debe1 |
| rocky 9 | redis:7::redis-devel | 7.2.7-1.module+el9.5.0+30204+5d6debe1 |
| rocky 9 | redis:7::redis-doc | 7.2.7-1.module+el9.5.0+30204+5d6debe1 |
| ubuntu 16.04-ESM | redis | 2:3.0.6-1ubuntu0.4+esm3 |
| ubuntu 18.04-ESM | redis | 5:4.0.9-1ubuntu0.2+esm5 |
| ubuntu 20.04-ESM | redis | 5:5.0.7-2ubuntu0.1+esm3 |
| ubuntu 22.04 | redis | sin corrección indicada |
| ubuntu 24.04 | redis | 5:7.0.15-1ubuntu0.24.04.1 |
| ubuntu 24.04 | valkey | 7.2.8+dfsg1-0ubuntu0.24.04.2 |
| ubuntu 24.10 | redis | 5:7.0.15-1ubuntu0.24.10.1 |
| ubuntu 24.10 | valkey | 7.2.8+dfsg1-0ubuntu0.24.10.2 |
Referencias
- https://access.redhat.com/errata/RHSA-2025:0693
- https://access.redhat.com/security/cve/CVE-2024-46981
- https://bugzilla.redhat.com/2221662
- https://bugzilla.redhat.com/2244940
- https://bugzilla.redhat.com/2317056
- https://bugzilla.redhat.com/2317058
- https://bugzilla.redhat.com/2336004
- https://bugzilla.redhat.com/show_bug.cgi?id=2221662
Las 39 referencias
- https://bugzilla.redhat.com/show_bug.cgi?id=2244940
- https://bugzilla.redhat.com/show_bug.cgi?id=2317056
- https://bugzilla.redhat.com/show_bug.cgi?id=2317058
- https://bugzilla.redhat.com/show_bug.cgi?id=2336004
- https://codeberg.org/redict/redict/issues/60
- https://codeberg.org/redict/redict/releases/tag/7.3.2
- https://creativecommons.org/licenses/by/4.0/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-24834
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-45145
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-31228
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-31449
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-46981
- https://errata.almalinux.org/9/ALSA-2025-0693.html
- https://errata.rockylinux.org/RLSA-2025:0693
- https://github.com/redis/redis/commit/e344b2b5879aa52870e6838212dfb78b7968fcbf%20%287.2.7%29
- https://github.com/redis/redis/releases/tag/6.2.17
- https://github.com/redis/redis/releases/tag/7.2.7
- https://github.com/redis/redis/releases/tag/7.4.2
- https://github.com/redis/redis/security/advisories/GHSA-39h2-x6c4-6w4c
- https://github.com/valkey-io/valkey/commit/4ffd3ebdeb028d0b9e50cf5986e9f1b6a2e1c031
- https://github.com/valkey-io/valkey/releases/tag/8.0.2
- https://linux.oracle.com/cve/CVE-2024-46981.html
- https://linux.oracle.com/errata/ELSA-2025-0693.html
- https://lists.debian.org/debian-lts-announce/2025/01/msg00018.html
- https://nvd.nist.gov/vuln/detail/CVE-2024-46981
- https://redict.io/posts/2025-01-08-redict-7.3.2-released
- https://ubuntu.com/security/notices/USN-7321-1
- https://ubuntu.com/security/notices/USN-7359-1
- https://www.cve.org/CVERecord?id=CVE-2024-46981
- https://www.vicarius.io/vsociety/posts/cve-2024-46981-detect-redis-vulnerability
- https://www.vicarius.io/vsociety/posts/cve-2024-46981-mitigate-redis-vulnerability