CVE-2024-31227
Denial-of-service due to malformed ACL selectors in Redis
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.
Attack profile
How easy it is to exploit
- Attack vector
- Local
- Complexity
- Low
- Privileges needed
- High
- User interaction
- None
What an attacker can affect
- Confidentiality
- None
- Integrity
- None
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
4.4
Denial-of-service due to malformed ACL selectors in Redis
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.
- Record
CVE-2024-31227- CVSS 3.1
- 4.4 Medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
EUVDEUVD-2024-29123
4.4
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.
- Record
EUVD-2024-29123- CVSS 3.1
- 4.4 Medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-03
NVD
4.4
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.
- Record
CVE-2024-31227- CVSS 3.1
- 4.4 Medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
OSVALPINE-CVE-2024-31227
4.4
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.
- Record
ALPINE-CVE-2024-31227- CVSS 3.1
- 4.4 Medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVBELL-CVE-2024-31227
4.4
- Record
BELL-CVE-2024-31227- CVSS 3.1
- 4.4 Medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSV
4.4
Denial-of-service due to malformed ACL selectors in Redis
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.
- Record
CVE-2024-31227- CVSS 3.1
- 4.4 Medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
Show 14 moreShow less
OSVDEBIAN-CVE-2024-31227
4.4
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.
- Record
DEBIAN-CVE-2024-31227- CVSS 3.1
- 4.4 Medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVRHSA-2024:10869
7.0
Red Hat Security Advisory: redis:7 security update
- Record
RHSA-2024:10869- CVSS 3.1
- 7.0 High
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2024-31227
4.4
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.
- Record
UBUNTU-CVE-2024-31227- CVSS 3.1
- 4.4 Medium
CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H - Updated
- 2026-11-02
OSVALSA-2024:10869 No score
Moderate: redis:7 security update
Redis is an advanced key-value store. It is often referred to as a data-structure server since keys can contain strings, hashes, lists, sets, and sorted sets. For performance, Redis works with an in-memory data set. You can persist it either by dumping the data set to disk every once in a while, or by appending each command to a log.
Security Fix(es):
- redis: Redis SORT_RO may bypass ACL configuration (CVE-2023-41053)
- redis: possible bypass of Unix socket permissions on startup (CVE-2023-45145)
- redis: Denial-of-service due to malformed ACL selectors in Redis (CVE-2024-31227)
- redis: Lua library commands may lead to stack overflow and RCE in Redis (CVE-2024-31449)
- redis: Denial-of-service due to unbounded pattern matching in Redis (CVE-2024-31228)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
- Record
ALSA-2024:10869- Updated
- 2026-11-02
OSVAZL-52008 No score
CVE-2024-31227 affecting package valkey for versions less than 8.0.1-1
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.
- Record
AZL-52008- Updated
- 2026-11-02
OSVBIT-keydb-2024-31227 No score
Denial-of-service due to malformed ACL selectors in Redis
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.
- Record
BIT-keydb-2024-31227- Updated
- 2026-11-02
OSVBIT-redis-2024-31227 No score
Denial-of-service due to malformed ACL selectors in Redis
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.
- Record
BIT-redis-2024-31227- Updated
- 2026-11-02
OSVBIT-valkey-2024-31227 No score
Denial-of-service due to malformed ACL selectors in Redis
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.
- Record
BIT-valkey-2024-31227- Updated
- 2026-11-02
OSVMGASA-2024-0340 No score
Updated redis packages fix security vulnerabilities
An authenticated with sufficient privileges may create a malformed ACL
selector which, when accessed, triggers a server panic and subsequent
denial of service. (CVE-2024-31227)
Authenticated users can trigger a denial-of-service by using specially
crafted, long string match patterns on supported commands such as
KEYS, SCAN, PSUBSCRIBE, FUNCTION LIST, COMMAND LIST and ACL
definitions. Matching of extremely long patterns may result in unbounded
recursion, leading to stack overflow and process crash. (CVE-2024-31228)
An authenticated user may use a specially crafted Lua script to trigger
a stack buffer overflow in the bit library, which may potentially lead
to remote code execution. (CVE-2024-31449)
- Record
MGASA-2024-0340- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:14412-1 No score
valkey-8.0.1-1.1 on GA media
These are all security issues fixed in the valkey-8.0.1-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:14412-1- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15293-1 No score
redis-8.0.2-1.1 on GA media
These are all security issues fixed in the redis-8.0.2-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15293-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:3535-1 No score
Security update for redis
This update for redis fixes the following issues:
- CVE-2024-31227: Fixed parsing issue leading to denail of service (bsc#1231266)
- CVE-2024-31228: Fixed unbounded recursive pattern matching (bsc#1231265)
- CVE-2024-31449: Fixed integer overflow bug in Lua bit_tohex (bsc#1231264)
- Record
SUSE-SU-2024:3535-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:3537-1 No score
Security update for redis7
This update for redis7 fixes the following issues:
- CVE-2024-31227: Fixed parsing issue leading to denail of service (bsc#1231266)
- CVE-2024-31228: Fixed unbounded recursive pattern matching (bsc#1231265)
- CVE-2024-31449: Fixed integer overflow bug in Lua bit_tohex (bsc#1231264)
- Record
SUSE-SU-2024:3537-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:3549-1 No score
Security update for redis7
This update for redis7 fixes the following issues:
- CVE-2024-31227: Fixed parsing issue leading to denail of service (bsc#1231266)
- CVE-2024-31228: Fixed unbounded recursive pattern matching (bsc#1231265)
- CVE-2024-31449: Fixed integer overflow bug in Lua bit_tohex (bsc#1231264)
- Record
SUSE-SU-2024:3549-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
redisAlpine:v3.17 |
7.0.0 up to 7.0.15-r1 | 7.0.15-r1 |
redisAlpine:v3.18 |
7.0.0 up to 7.0.15-r1 | 7.0.15-r1 |
redisAlpine:v3.19 |
7.0.0 up to 7.2.4-r1 | 7.2.4-r1 |
valkeyAlpine:v3.20 |
before 7.2.7-r0 | 7.2.7-r0 |
valkeyAlpine:v3.21 |
before 7.2.7-r0 | 7.2.7-r0 |
valkeyAlpine:v3.22 |
before 7.2.7-r0 | 7.2.7-r0 |
valkeyAlpine:v3.23 |
before 7.2.7-r0 | 7.2.7-r0 |
valkeyAlpine:v3.24 |
before 7.2.7-r0 | 7.2.7-r0 |
redisAlmaLinux:9 From an advisory covering 5 CVEs |
before 7.2.6-1.module_el9.5.0+130+36ae7635 | 7.2.6-1.module_el9.5.0+130+36ae7635 |
redis-develAlmaLinux:9 From an advisory covering 5 CVEs |
before 7.2.6-1.module_el9.5.0+130+36ae7635 | 7.2.6-1.module_el9.5.0+130+36ae7635 |
Show 28 moreShow less
| Package | Affected | Fixed |
|---|---|---|
redis-docAlmaLinux:9 From an advisory covering 5 CVEs |
before 7.2.6-1.module_el9.5.0+130+36ae7635 | 7.2.6-1.module_el9.5.0+130+36ae7635 |
valkeyAzure Linux:3 |
before 8.0.1-1 | 8.0.1-1 |
redisAlpaquita:23 |
7.0.15-r0 up to 7.0.15-r1 | 7.0.15-r1 |
redisAlpaquita:stream |
7.2.5-r0 up to 7.2.5-r1 | 7.2.5-r1 |
keydbBitnami |
7.0.0 and later | None known |
redisBitnami |
7.0.0 up to 7.2.8, 7.3.0 up to 7.4.1 | 7.2.87.4.1 |
valkeyBitnami |
before 7.2.7, 8.0.0 up to 8.0.1 | 7.2.78.0.1 |
redictDebian:14 |
before 7.3.1+ds-1, plus listed versions 7.3.0+ds-17.3.0+ds-27.3.0+ds-37.3.0+ds-3~bpo12+1 |
7.3.1+ds-1 |
redisDebian:12 |
before 5:7.0.15-1~deb12u2, plus listed versions 5:7.0.11-15:7.0.11-1+deb12u15:7.0.12-15:7.0.12-25:7.0.13-1 Show 4 moreShow less5:7.0.13-25:7.0.14-15:7.0.14-25:7.0.15-1~deb12u1 |
5:7.0.15-1~deb12u2 |
redisDebian:13 |
before 5:7.0.15-2 | 5:7.0.15-2 |
redisDebian:14 |
before 5:7.0.15-2 | 5:7.0.15-2 |
valkeyDebian:13 |
before 8.0.1+dfsg1-1 | 8.0.1+dfsg1-1 |
valkeyDebian:14 |
before 8.0.1+dfsg1-1 | 8.0.1+dfsg1-1 |
redisMageia:9 From an advisory covering 3 CVEs |
before 7.0.14-1.1.mga9 | 7.0.14-1.1.mga9 |
redisRed Hat:enterprise_linux:9::appstream From an advisory covering 5 CVEs |
before 0:7.2.6-1.module+el9.5.0+22422+63e067d8 | 0:7.2.6-1.module+el9.5.0+22422+63e067d8 |
redis-debuginfoRed Hat:enterprise_linux:9::appstream From an advisory covering 5 CVEs |
before 0:7.2.6-1.module+el9.5.0+22422+63e067d8 | 0:7.2.6-1.module+el9.5.0+22422+63e067d8 |
redis-debugsourceRed Hat:enterprise_linux:9::appstream From an advisory covering 5 CVEs |
before 0:7.2.6-1.module+el9.5.0+22422+63e067d8 | 0:7.2.6-1.module+el9.5.0+22422+63e067d8 |
redis-develRed Hat:enterprise_linux:9::appstream From an advisory covering 5 CVEs |
before 0:7.2.6-1.module+el9.5.0+22422+63e067d8 | 0:7.2.6-1.module+el9.5.0+22422+63e067d8 |
redis-docRed Hat:enterprise_linux:9::appstream From an advisory covering 5 CVEs |
before 0:7.2.6-1.module+el9.5.0+22422+63e067d8 | 0:7.2.6-1.module+el9.5.0+22422+63e067d8 |
redisSUSE:Linux Enterprise Module for Server Applications 15 SP6 From an advisory covering 3 CVEs |
before 7.2.4-150600.3.3.1 | 7.2.4-150600.3.3.1 |
redisopenSUSE:Leap 15.6 From an advisory covering 3 CVEs |
before 7.2.4-150600.3.3.1 | 7.2.4-150600.3.3.1 |
redis7SUSE:Linux Enterprise Module for Server Applications 15 SP6 From an advisory covering 3 CVEs |
before 7.0.8-150600.8.3.1 | 7.0.8-150600.8.3.1 |
redis7openSUSE:Leap 15.6 From an advisory covering 3 CVEs |
before 7.0.8-150600.8.3.1 | 7.0.8-150600.8.3.1 |
redis7SUSE:Linux Enterprise Module for Server Applications 15 SP5 From an advisory covering 3 CVEs |
before 7.0.8-150500.3.12.1 | 7.0.8-150500.3.12.1 |
redis7openSUSE:Leap 15.5 From an advisory covering 3 CVEs |
before 7.0.8-150500.3.12.1 | 7.0.8-150500.3.12.1 |
redisUbuntu:24.04:LTS |
All versions, plus listed versions 5:7.0.12-15:7.0.14-15:7.0.14-25:7.0.15-15:7.0.15-1build1 Show 6 moreShow less5:7.0.15-1build25:7.0.15-1ubuntu0.24.04.15:7.0.15-1ubuntu0.24.04.25:7.0.15-1ubuntu0.24.04.35:7.0.15-1ubuntu0.24.04.45:7.0.15-1ubuntu0.24.04.5 |
None known |
valkeyopenSUSE:Tumbleweed From an advisory covering 3 CVEs |
before 8.0.1-1.1 | 8.0.1-1.1 |
redisopenSUSE:Tumbleweed From an advisory covering 7 CVEs |
before 8.0.2-1.1 | 8.0.2-1.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2024-31227 is a medium vulnerability (CVSS 4.4) in Redis, published October 7, 2024. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.40%, the 34th percentile. Fixed in redis 7.0.15-r1.
References
github.com/redis/redis/security/advisories/GHSA-38p4-26x2-vqhh
github.com/redis/redis/commit/b351d5a3210e61cc3b22ba38a723d6da8f3c298a
security.alpinelinux.org/vuln/CVE-2024-31227
access.redhat.com/errata/RHSA-2024:10869
access.redhat.com/security/cve/CVE-2023-41053
access.redhat.com/security/cve/CVE-2023-45145
Show 55 moreShow less
access.redhat.com/security/cve/CVE-2024-31227
access.redhat.com/security/cve/CVE-2024-31228
access.redhat.com/security/cve/CVE-2024-31449
bugzilla.redhat.com/2237826
bugzilla.redhat.com/2244940
bugzilla.redhat.com/2317053
bugzilla.redhat.com/2317056
bugzilla.redhat.com/2317058
errata.almalinux.org/9/ALSA-2024-10869.html
nvd.nist.gov/vuln/detail/CVE-2024-31227
docs.bell-sw.com/security/cves/CVE-2024-31227
github.com/CVEProject/cvelistV5/tree/main/cves/2024/31xxx/CVE-2024-31227.json
security-tracker.debian.org/tracker/CVE-2024-31227
advisories.mageia.org/MGASA-2024-0340.html
bugs.mageia.org/show_bug.cgi?id=33643
lists.fedoraproject.org/archives/list/[email protected]/message/EMP3URK6CE4LGQZ7V2GD23UVMTFM7K46
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=2237826
bugzilla.redhat.com/show_bug.cgi?id=2244940
bugzilla.redhat.com/show_bug.cgi?id=2317053
bugzilla.redhat.com/show_bug.cgi?id=2317056
bugzilla.redhat.com/show_bug.cgi?id=2317058
issues.redhat.com/browse/RHEL-26628
security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_10869.json
cve.org/CVERecord?id=CVE-2023-41053
nvd.nist.gov/vuln/detail/CVE-2023-41053
github.com/redis/redis/commit/9e505e6cd842338424e05883521ca1fb7d0f47f6
github.com/redis/redis/security/advisories/GHSA-q4jr-5p56-4xwc
cve.org/CVERecord?id=CVE-2023-45145
nvd.nist.gov/vuln/detail/CVE-2023-45145
github.com/redis/redis/security/advisories/GHSA-ghmp-889m-7cvx
cve.org/CVERecord?id=CVE-2024-31227
cve.org/CVERecord?id=CVE-2024-31228
nvd.nist.gov/vuln/detail/CVE-2024-31228
github.com/redis/redis/commit/9317bf64659b33166a943ec03d5d9b954e86afb0
github.com/redis/redis/security/advisories/GHSA-66gq-c942-6976
cve.org/CVERecord?id=CVE-2024-31449
nvd.nist.gov/vuln/detail/CVE-2024-31449
github.com/redis/redis/commit/1f7c148be2cbacf7d50aa461c58b871e87cc5ed9
github.com/redis/redis/security/advisories/GHSA-whxg-wx83-85p5
suse.com/support/update/announcement/2024/suse-su-20243535-1
bugzilla.suse.com/1231264
bugzilla.suse.com/1231265
bugzilla.suse.com/1231266
suse.com/security/cve/CVE-2024-31227
suse.com/security/cve/CVE-2024-31228
suse.com/security/cve/CVE-2024-31449
suse.com/support/update/announcement/2024/suse-su-20243537-1
suse.com/support/update/announcement/2024/suse-su-20243549-1
ubuntu.com/security/CVE-2024-31227
lists.opensuse.org/archives/list/[email protected]/thread/FC3R4QUTZLEWJMAPH3UHB3OKNYMNYUZM
suse.com/security/cve/CVE-2024-46981
suse.com/security/cve/CVE-2024-51741
suse.com/security/cve/CVE-2025-21605
suse.com/security/cve/CVE-2025-27151