CVE-2024-31227 json
Denial-of-service due to malformed ACL selectors in Redis
published 2024-10-06 2 y ago modified 2026-09-08 2 mo ago also BIT-keydb-2024-31227 , BIT-redis-2024-31227 , BIT-valkey-2024-31227 , EUVD-2024-29123 , GHSA-38p4-26x2-vqhh
- cvss
- 4.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 34%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami redis 7.2.8, 7.4.1
- bitnami valkey 7.2.7, 8.0.1
- redis redis 7.2.6, 7.4.1
- redislabs redis 7.2.6, 7.4.1
- lfprojects valkey 7.2.7, 8.0.1
- linuxfoundation valkey 7.2.7, 8.0.1
- valkey-io valkey 7.2.7, 8.0.1
- redict redict 7.3.1
- redis Debian 12 5:7.0.15-1~deb12u2
- redis Debian 14, Debian 13 5:7.0.15-2
- redict Debian 14 7.3.1+ds-1
- valkey Debian 14, Debian 13 8.0.1+dfsg1-1
debian advisories DEBIAN-CVE-2024-31227
- redis RHEL 9 7.2.6-1.module+el9.5.0+22422+63e067d8
red hat advisories RHSA-2024:10869
- redis7 SLE Module for Server Applications 15 SP5, openSUSE Leap 15.5 7.0.8-150500.3.12.1
- redis7 SLE Module for Server Applications 15 SP6, openSUSE Leap 15.6 7.0.8-150600.8.3.1
- redis SLE Module for Server Applications 15 SP6, openSUSE Leap 15.6 7.2.4-150600.3.3.1
suse advisories SUSE-SU-2024:3549-1SUSE-SU-2024:3537-1SUSE-SU-2024:3535-1
- redis openSUSE Tumbleweed 8.0.2-1.1
- valkey openSUSE Tumbleweed 8.0.1-1.1
opensuse advisories openSUSE-SU-2025:15293-1openSUSE-SU-2024:14412-1
- redis AlmaLinux 9 7.2.6-1.module_el9.5.0+130+36ae7635
almalinux advisories ALSA-2024:10869
- redis Alpine 3.18, Alpine 3.17 7.0.15-r1
- redis Alpine 3.19 7.2.4-r1
- redis Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 7.2.5-r1
- redict Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 7.3.1-r0
- valkey Alpine 3.24, Alpine 3.23, Alpine 3.22 +2 more 7.2.7-r0
alpine advisories ALPINE-CVE-2024-31227
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-31227 updated cvss 4.4
redis: Denial-of-service due to malformed ACL selectors in Redis
-
Red Hat 3scale API Management Platform 2 3scale-amp2/system-rhel7 Red Hat Enterprise Linux 8 redis Red Hat Enterprise Linux 9 redisaffected: workaround, no fix planned “Will not fix”
-
Red Hat Enterprise Linux AppStream (v. 9) redis 7.2.6-1.module+el9.5.0+22422+63e067d8fixed: vendor fix RHSA-2024:10869
-
Red Hat Discovery 1 discovery-server-container Red Hat Quay 3 quay/quay-rhel8not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.40% chance of exploitation in the next 30 days, higher than 34% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.4 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 4.4 | CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | keydb | >=7.0.0 |
no fix listed |
| bitnami | redis | >=7.0.0, <7.2.8 >=7.3.0, <7.4.1 |
7.2.8 7.4.1 |
| bitnami | valkey | <7.2.7 >=8.0.0, <8.0.1 |
7.2.7 8.0.1 |
Affected products
- redis redis
Classification
- Weakness
-
- CWE-20 Improper Input Validation
- Technology feeds
References
Sources
- CVE List CVE-2024-31227
- NVD CVE-2024-31227
- OSV BIT-keydb-2024-31227
- OSV BIT-redis-2024-31227
- OSV BIT-valkey-2024-31227
- Maintainer advisory GHSA-38p4-26x2-vqhh
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of redis/redis published their own advisory on GitHub. Reviewed sources take precedence over it.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.