Vulnerability · Published Oct 7, 2024 · Assigned by GitHub_M
CVE-2024-31227Denial-of-service due to malformed ACL selectors in Redis
Medium 4.4
In plain English
A medium-severity improper input validation in redis from redis. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 34% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Redis is an open source, in-memory database that persists on disk. An authenticated with sufficient privileges may create a malformed ACL selector which, when accessed, triggers a server panic and subsequent denial of service. The problem exists in Redis 7 prior to versions 7.2.6 and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | redis | 7.2.6-1.module_el9.5.0+130+36ae7635 | ALSA-2024:10869 |
| AlmaLinux:9 | redis-devel | 7.2.6-1.module_el9.5.0+130+36ae7635 | ALSA-2024:10869 |
| AlmaLinux:9 | redis-doc | 7.2.6-1.module_el9.5.0+130+36ae7635 | ALSA-2024:10869 |
| Alpine:v3.20 | redict | 7.3.1-r0 | ALPINE-CVE-2024-31227 |
| Alpine:v3.21 | redict | 7.3.1-r0 | ALPINE-CVE-2024-31227 |
| Alpine:v3.22 | redict | 7.3.1-r0 | ALPINE-CVE-2024-31227 |
| Alpine:v3.23 | redict | 7.3.1-r0 | ALPINE-CVE-2024-31227 |
| Alpine:v3.24 | redict | 7.3.1-r0 | ALPINE-CVE-2024-31227 |
| Alpine:v3.20 | redis | 7.2.5-r1 | ALPINE-CVE-2024-31227 |
| Alpine:v3.21 | redis | 7.2.5-r1 | ALPINE-CVE-2024-31227 |
| Alpine:v3.22 | redis | 7.2.5-r1 | ALPINE-CVE-2024-31227 |
| Alpine:v3.23 | redis | 7.2.5-r1 | ALPINE-CVE-2024-31227 |
| Alpine:v3.24 | redis | 7.2.5-r1 | ALPINE-CVE-2024-31227 |
| Alpine:v3.20 | valkey | 7.2.7-r0 | ALPINE-CVE-2024-31227 |
| Alpine:v3.21 | valkey | 7.2.7-r0 | ALPINE-CVE-2024-31227 |
| Alpine:v3.22 | valkey | 7.2.7-r0 | ALPINE-CVE-2024-31227 |
| Alpine:v3.23 | valkey | 7.2.7-r0 | ALPINE-CVE-2024-31227 |
| Alpine:v3.24 | valkey | 7.2.7-r0 | ALPINE-CVE-2024-31227 |
| Debian:14 | redict | 7.3.1+ds-1 | DEBIAN-CVE-2024-31227 |
| Debian:12 | redis | 5:7.0.15-1~deb12u2 | DEBIAN-CVE-2024-31227 |
| Debian:13 | redis | 5:7.0.15-2 | DEBIAN-CVE-2024-31227 |
| Debian:14 | redis | 5:7.0.15-2 | DEBIAN-CVE-2024-31227 |
| Debian:13 | valkey | 8.0.1+dfsg1-1 | DEBIAN-CVE-2024-31227 |
| Debian:14 | valkey | 8.0.1+dfsg1-1 | DEBIAN-CVE-2024-31227 |
| Ubuntu:24.04:LTS | redis | no fix listed | UBUNTU-CVE-2024-31227 |
Affected products (as reported)
Weakness: CWE-20 · Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/redis/redis/security/advisories/GHSA-38p4-26x2-vqhh x_refsource_CONFIRM
- https://github.com/redis/redis/commit/b351d5a3210e61cc3b22ba38a723d6da8f3c298a x_refsource_MISC