CVE-2025-49844
Redis: Redis Lua Use-After-Free may lead to remote code execution
Kaynağa göre önem derecesi
Trivy'nin kendi etiketi CRITICAL. Kritik diyenler: NVD, Azure Linux, Bitnami, CBL-Mariner, Photon OS. Daha düşük diyenler: Red Hat (yüksek), AlmaLinux (yüksek), Amazon (yüksek), Oracle (yüksek), Rocky Linux (yüksek), Ubuntu (yüksek).
Açıklama
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 manipulate the garbage collector, trigger a use-after-free and potentially lead to remote code execution. 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 restrict EVAL and EVALSHA commands.
Etkilenen paketler ve düzeltilmiş sürümler
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| Azure Linux 3.0 | valkey | 0:8.0.6-1.azl3 |
| bitnami::Bitnami Vulnerability Database | keydb, redis, valkey | 6.2.20, 7.2.11, 7.4.6, 8.0.4, 8.2.2 ve 1 tane daha |
| CBL-Mariner 2.0 | redis | 0:6.2.20-1.cm2 |
| Photon OS 4.0 | redis | 7.2.11-1.ph4 |
| Photon OS 5.0 | redis | 7.2.11-1.ph5 |
| alma 8 | redis:6::redis, redis:6::redis-devel, redis:6::redis-doc | 6.2.20-1.module_el8.10.0+4056+739731b0 |
| alma 9 | redis, redis-devel, redis-doc ve 5 tane daha | 6.2.20-2.el9_7 ve 2 tane daha |
| alpine 3.20 | valkey | 7.2.11-r0 |
| alpine 3.21 | redis, valkey | 7.2.11-r0 |
| alpine 3.22 | redict, redis, valkey | 7.3.6-r0 ve 2 tane daha |
| alpine 3.23 | redict, redis, valkey | 7.3.6-r0 ve 2 tane daha |
| alpine 3.24 | redict, redis, valkey | 7.3.6-r0 ve 2 tane daha |
51 kaynaktaki 150 kaydın hepsini göster
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| Azure Linux 3.0 | valkey | 0:8.0.6-1.azl3 |
| bitnami::Bitnami Vulnerability Database | keydb | 6.2.20, 7.2.11, 7.4.6, 8.0.4, 8.2.2 |
| bitnami::Bitnami Vulnerability Database | redis | 6.2.20, 7.2.11, 7.4.6, 8.0.4, 8.2.2 |
| bitnami::Bitnami Vulnerability Database | valkey | 7.2.11, 8.0.6, 8.1.4 |
| CBL-Mariner 2.0 | redis | 0:6.2.20-1.cm2 |
| Photon OS 4.0 | redis | 7.2.11-1.ph4 |
| Photon OS 5.0 | redis | 7.2.11-1.ph5 |
| alma 8 | redis:6::redis | 6.2.20-1.module_el8.10.0+4056+739731b0 |
| alma 8 | redis:6::redis-devel | 6.2.20-1.module_el8.10.0+4056+739731b0 |
| alma 8 | redis:6::redis-doc | 6.2.20-1.module_el8.10.0+4056+739731b0 |
| alma 9 | redis | 6.2.20-2.el9_7 |
| alma 9 | redis-devel | 6.2.20-2.el9_7 |
| alma 9 | redis-doc | 6.2.20-2.el9_7 |
| alma 9 | redis:7::redis | 7.2.11-1.module_el9.6.0+188+92104ce8 |
| alma 9 | redis:7::redis-devel | 7.2.11-1.module_el9.6.0+188+92104ce8 |
| alma 9 | redis:7::redis-doc | 7.2.11-1.module_el9.6.0+188+92104ce8 |
| alma 9 | valkey | 8.0.6-2.el9_7 |
| alma 9 | valkey-devel | 8.0.6-2.el9_7 |
| alpine 3.20 | valkey | 7.2.11-r0 |
| alpine 3.21 | redis | 7.2.11-r0 |
| alpine 3.21 | valkey | 7.2.11-r0 |
| alpine 3.22 | redict | 7.3.6-r0 |
| alpine 3.22 | redis | 8.0.4-r0 |
| alpine 3.22 | valkey | 8.1.4-r0 |
| alpine 3.23 | redict | 7.3.6-r0 |
| alpine 3.23 | redis | 8.2.2-r0 |
| alpine 3.23 | valkey | 8.1.4-r0 |
| alpine 3.24 | redict | 7.3.6-r0 |
| alpine 3.24 | redis | 8.2.2-r0 |
| alpine 3.24 | valkey | 8.1.4-r0 |
| alpine edge | redict | 7.3.6-r0 |
| alpine edge | redis | 8.2.2-r0 |
| alpine edge | valkey | 8.1.4-r0 |
| amazon linux 2023 | redis6 | 6.2.20-2.amzn2023.0.1 |
| amazon linux 2023 | redis6-debuginfo | 6.2.20-2.amzn2023.0.1 |
| amazon linux 2023 | redis6-debugsource | 6.2.20-2.amzn2023.0.1 |
| amazon linux 2023 | redis6-devel | 6.2.20-2.amzn2023.0.1 |
| amazon linux 2023 | redis6-doc | 6.2.20-2.amzn2023.0.1 |
| amazon linux 2023 | valkey | 8.0.6-3.amzn2023.0.2 |
| amazon linux 2023 | valkey-debuginfo | 8.0.6-3.amzn2023.0.2 |
| amazon linux 2023 | valkey-debugsource | 8.0.6-3.amzn2023.0.2 |
| amazon linux 2023 | valkey-devel | 8.0.6-3.amzn2023.0.2 |
| chainguard | py3-redis | 0 |
| debian 11 | redis | 5:6.0.16-1+deb11u8 |
| debian 12 | redis | 5:7.0.15-1~deb12u6 |
| debian 13 | redis | 5:8.0.2-3+deb13u1 |
| debian 13 | valkey | 8.1.1+dfsg1-3+deb13u1 |
| debian 14 | redict | 7.3.6+ds-1 |
| debian 14 | redis | 5:8.0.4-1 |
| debian 14 | valkey | 8.1.4+dfsg1-1 |
| echo | redis | 5:7.0.15-1~deb12u6 |
| echo | valkey | 8.1.1+dfsg1-3+deb13u1 |
| minimos | redis-6.2 | 6.2.20-r0 |
| minimos | redis-7.2 | 7.2.11-r0 |
| minimos | redis-7.4 | 7.4.6-r0 |
| minimos | redis-8.0 | 8.0.4-r0 |
| minimos | redis-8.2 | 8.2.2-r0 |
| Oracle Linux 8 | redis | 6.2.20-1.0.1.module+el8.10.0+90692+1027f9f2 |
| Oracle Linux 8 | redis-devel | 6.2.20-1.0.1.module+el8.10.0+90692+1027f9f2 |
| Oracle Linux 8 | redis-doc | 6.2.20-1.0.1.module+el8.10.0+90692+1027f9f2 |
| Oracle Linux 9 | redis | 7.2.11-1.0.1.module+el9.7.0+90709+dc2ec98a |
| Oracle Linux 9 | redis-devel | 7.2.11-1.0.1.module+el9.7.0+90709+dc2ec98a |
| Oracle Linux 9 | redis-doc | 7.2.11-1.0.1.module+el9.7.0+90709+dc2ec98a |
| Oracle Linux 9 | valkey | 8.0.6-2.el9_7 |
| Oracle Linux 9 | valkey-devel | 8.0.6-2.el9_7 |
| rapidfort alma 9 | redis | 0:7.2.11-1.module+el9.7.0+23559+d075163a |
| rapidfort alma 9 | redis-devel | 0:7.2.11-1.module+el9.7.0+23559+d075163a |
| rapidfort alma 9 | redis-doc | 0:7.2.11-1.module+el9.7.0+23559+d075163a |
| rapidfort alpine 3.20 | redict | 7.3.6-r0 |
| rapidfort alpine 3.20 | redis | 7.2.9-r0, 8.2.2-r0 |
| rapidfort alpine 3.21 | redict | 7.3.6-r0 |
| rapidfort alpine 3.21 | redis | 7.2.9-r0, 8.2.2-r0 |
| rapidfort alpine 3.22 | redict | 7.3.6-r0 |
| rapidfort alpine 3.23 | redis | 8.2.2-r0 |
| rapidfort alpine 3.24 | redict | 7.3.6-r0 |
| rapidfort alpine 3.24 | redis | 7.2.9-r0, 8.2.2-r0 |
| rapidfort amazon linux 2023 | redis6 | 6.2.20-2.amzn2023.0.1 |
| rapidfort amazon linux 2023 | redis6-devel | 6.2.20-2.amzn2023.0.1 |
| rapidfort amazon linux 2023 | redis6-doc | 6.2.20-2.amzn2023.0.1 |
| rapidfort amazon linux 2023 | valkey | 8.0.6-3.amzn2023.0.2 |
| rapidfort amazon linux 2023 | valkey-devel | 8.0.6-3.amzn2023.0.2 |
| rapidfort debian 12 | redict | 0:7.3.6+ds-1 |
| rapidfort debian 12 | redis | 0:8.0.2-3+deb13u1, 5:8.0.4-1 |
| rapidfort debian 12 | rf-redis | 0:8.0.2-3+deb13u1, 5:8.0.4-1 |
| rapidfort debian 12 | valkey | 0:8.1.1+dfsg1-3+deb13u1, 0:8.1.4+dfsg1-1 |
| rapidfort debian 13 | redict | 0:7.3.6+ds-1 |
| rapidfort debian 13 | redis | 0:8.0.2-3+deb13u1, 5:8.0.4-1 |
| rapidfort debian 13 | rf-redis | 0:8.0.2-3+deb13u1, 5:8.0.4-1 |
| rapidfort debian 13 | valkey | 0:8.1.1+dfsg1-3+deb13u1, 0:8.1.4+dfsg1-1 |
| rapidfort fedora 43 | valkey | 8.1.4-1.fc43 |
| rapidfort fedora 43 | valkey-compat-redis | 8.1.4-1.fc43 |
| rapidfort fedora 43 | valkey-compat-redis-devel | 8.1.4-1.fc43 |
| rapidfort fedora 43 | valkey-devel | 8.1.4-1.fc43 |
| rapidfort fedora 43 | valkey-doc | 8.1.4-1.fc43 |
| rapidfort Oracle Linux 10 | valkey | 0:8.0.6-2.el10_1 |
| rapidfort Oracle Linux 10 | valkey-devel | 0:8.0.6-2.el10_1 |
| rapidfort Oracle Linux 9 | redis | 0:6.2.20-2.el9_7 |
| rapidfort Oracle Linux 9 | redis-devel | 0:6.2.20-2.el9_7 |
| rapidfort Oracle Linux 9 | redis-doc | 0:6.2.20-2.el9_7 |
| rapidfort Oracle Linux 9 | valkey | 0:8.0.6-2.el9_7, 8.0.6-1.el9 |
| rapidfort Oracle Linux 9 | valkey-compat-redis | 8.0.6-1.el9 |
| rapidfort Oracle Linux 9 | valkey-compat-redis-devel | 8.0.6-1.el9 |
| rapidfort Oracle Linux 9 | valkey-devel | 0:8.0.6-2.el9_7, 8.0.6-1.el9 |
| rapidfort Oracle Linux 9 | valkey-doc | 8.0.6-1.el9 |
| rapidfort rocky 9 | redis | 0:7.2.11-1.module+el9.7.0+40013+17379f63 |
| rapidfort rocky 9 | redis-devel | 0:7.2.11-1.module+el9.7.0+40013+17379f63 |
| rapidfort ubuntu 20.04 | lua5.1 | düzeltme belirtilmemiş |
| rapidfort ubuntu 20.04 | redis | 5:7.0.15-1ubuntu0.24.04.2 |
| rapidfort ubuntu 20.04 | redis-stack-server | 7.4.0-v7 |
| rapidfort ubuntu 20.04 | rf-redis | 5:7.0.15-1ubuntu0.24.04.2 |
| rapidfort ubuntu 22.04 | lua5.1 | düzeltme belirtilmemiş |
| rapidfort ubuntu 22.04 | redis | 5:7.0.15-1ubuntu0.24.04.2 |
| rapidfort ubuntu 22.04 | redis-stack-server | 7.4.0-v7 |
| rapidfort ubuntu 22.04 | rf-redis | 5:7.0.15-1ubuntu0.24.04.2 |
| rapidfort ubuntu 24.04 | lua5.1 | düzeltme belirtilmemiş |
| rapidfort ubuntu 24.04 | redis | 5:7.0.15-1ubuntu0.24.04.2 |
| rapidfort ubuntu 24.04 | redis-stack-server | 7.4.0-v7 |
| rapidfort ubuntu 24.04 | rf-redis | 5:7.0.15-1ubuntu0.24.04.2 |
| rocky 10 | valkey | 8.0.6-2.el10_1 |
| rocky 10 | valkey-devel | 8.0.6-2.el10_1 |
| rocky 8 | redis:6::redis | 6.2.20-1.module+el8.10.0+2081+450a296c |
| rocky 8 | redis:6::redis-devel | 6.2.20-1.module+el8.10.0+2081+450a296c |
| rocky 8 | redis:6::redis-doc | 6.2.20-1.module+el8.10.0+2081+450a296c |
| rocky 9 | redis | 6.2.20-2.el9_7 |
| rocky 9 | redis-devel | 6.2.20-2.el9_7 |
| rocky 9 | redis-doc | 6.2.20-2.el9_7 |
| rocky 9 | redis:7::redis | 7.2.11-1.module+el9.7.0+40013+17379f63 |
| rocky 9 | redis:7::redis-devel | 7.2.11-1.module+el9.7.0+40013+17379f63 |
| rocky 9 | redis:7::redis-doc | 7.2.11-1.module+el9.7.0+40013+17379f63 |
| rocky 9 | valkey | 8.0.6-2.el9_7 |
| rocky 9 | valkey-devel | 8.0.6-2.el9_7 |
| ubuntu 16.04-ESM | redis | 2:3.0.6-1ubuntu0.4+esm4 |
| ubuntu 18.04-ESM | lua5.1 | düzeltme belirtilmemiş |
| ubuntu 18.04-ESM | lua50 | düzeltme belirtilmemiş |
| ubuntu 18.04-ESM | redis | 5:4.0.9-1ubuntu0.2+esm6 |
| ubuntu 20.04-ESM | lua5.1 | 5.1.5-8.1ubuntu0.20.04.1~esm1 |
| ubuntu 20.04-ESM | lua50 | düzeltme belirtilmemiş |
| ubuntu 20.04-ESM | redis | 5:5.0.7-2ubuntu0.1+esm4 |
| ubuntu 22.04 | lua5.1 | düzeltme belirtilmemiş |
| ubuntu 24.04 | lua5.1 | düzeltme belirtilmemiş |
| ubuntu 24.04 | redis | 5:7.0.15-1ubuntu0.24.04.2 |
| ubuntu 24.04 | valkey | 7.2.11+dfsg1-0ubuntu0.2 |
| ubuntu 25.04 | redict | 7.3.2+ds-1ubuntu0.1 |
| ubuntu 25.04 | redis | 5:7.0.15-3ubuntu0.1 |
| ubuntu 25.04 | valkey | 8.0.6+dfsg1-0ubuntu0.2 |
| ubuntu 25.10 | redict | 7.3.5+ds-1ubuntu0.1 |
| ubuntu 25.10 | redis | 5:8.0.2-3ubuntu0.25.10.1 |
| ubuntu 25.10 | valkey | 8.1.4+dfsg1-0ubuntu0.2 |
| ubuntu 26.04 | lua5.1 | düzeltme belirtilmemiş |
| ubuntu 26.10 | lua5.1 | düzeltme belirtilmemiş |
Referanslar
- http://www.openwall.com/lists/oss-security/2025/10/07/2
- https://access.redhat.com/errata/RHSA-2025:21916
- https://access.redhat.com/security/cve/CVE-2025-49844
- https://bugzilla.redhat.com/2401258
- https://bugzilla.redhat.com/2401292
- https://bugzilla.redhat.com/2401322
- https://bugzilla.redhat.com/2401324
- https://bugzilla.redhat.com/show_bug.cgi?id=2401258
35 referansın hepsi
- https://bugzilla.redhat.com/show_bug.cgi?id=2401292
- https://bugzilla.redhat.com/show_bug.cgi?id=2401322
- https://bugzilla.redhat.com/show_bug.cgi?id=2401324
- https://creativecommons.org/licenses/by/4.0/
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-46817
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-46818
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-46819
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2025-49844
- https://errata.almalinux.org/9/ALSA-2025-21916.html
- https://errata.rockylinux.org/RLSA-2025:21916
- https://github.com/lastvocher/redis-CVE-2025-49844
- https://github.com/redis/redis/commit/d5728cb5795c966c5b5b1e0f0ac576a7e69af539
- https://github.com/redis/redis/commit/d5728cb5795c966c5b5b1e0f0ac576a7e69af539%20%288.2.2%29
- https://github.com/redis/redis/releases/tag/8.2.2
- https://github.com/redis/redis/security/advisories/GHSA-4789-qfc9-5f9q
- https://github.com/valkey-io/valkey/commit/6dd003e88feace83e55491f32376f6927896e31e
- https://linux.oracle.com/cve/CVE-2025-49844.html
- https://linux.oracle.com/errata/ELSA-2025-21936.html
- https://nvd.nist.gov/vuln/detail/CVE-2025-49844
- https://redis.io/blog/security-advisory-cve-2025-49844/
- https://ubuntu.com/security/notices/USN-7824-1
- https://ubuntu.com/security/notices/USN-7824-2
- https://ubuntu.com/security/notices/USN-7824-3
- https://ubuntu.com/security/notices/USN-7893-1
- https://ubuntu.com/security/notices/USN-8169-1
- https://ubuntu.com/security/notices/USN-8262-1
- https://www.cve.org/CVERecord?id=CVE-2025-49844