Every CVE Search/ Get API key

CVE-2024-31227

Denial-of-service due to malformed ACL selectors in Redis

4.4 MediumFix available

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

0.40%Up 0.4 points since Oct 8, 2024
90%50%10%1%

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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 MediumCVSS: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 HighCVSS: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 MediumCVSS: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

Affected packages
PackageAffectedFixed
redis
Alpine:v3.17
7.0.0 up to 7.0.15-r1
7.0.15-r1
redis
Alpine:v3.18
7.0.0 up to 7.0.15-r1
7.0.15-r1
redis
Alpine:v3.19
7.0.0 up to 7.2.4-r1
7.2.4-r1
valkey
Alpine:v3.20
before 7.2.7-r0
7.2.7-r0
valkey
Alpine:v3.21
before 7.2.7-r0
7.2.7-r0
valkey
Alpine:v3.22
before 7.2.7-r0
7.2.7-r0
valkey
Alpine:v3.23
before 7.2.7-r0
7.2.7-r0
valkey
Alpine:v3.24
before 7.2.7-r0
7.2.7-r0
redis
AlmaLinux: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-devel
AlmaLinux: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
Affected packages
PackageAffectedFixed
redis-doc
AlmaLinux: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
valkey
Azure Linux:3
before 8.0.1-1
8.0.1-1
redis
Alpaquita:23
7.0.15-r0 up to 7.0.15-r1
7.0.15-r1
redis
Alpaquita:stream
7.2.5-r0 up to 7.2.5-r1
7.2.5-r1
keydb
Bitnami
7.0.0 and later None known
redis
Bitnami
7.0.0 up to 7.2.8, 7.3.0 up to 7.4.1
7.2.87.4.1
valkey
Bitnami
before 7.2.7, 8.0.0 up to 8.0.1
7.2.78.0.1
redict
Debian: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
redis
Debian: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 less
5:7.0.13-25:7.0.14-15:7.0.14-25:7.0.15-1~deb12u1
5:7.0.15-1~deb12u2
redis
Debian:13
before 5:7.0.15-2
5:7.0.15-2
redis
Debian:14
before 5:7.0.15-2
5:7.0.15-2
valkey
Debian:13
before 8.0.1+dfsg1-1
8.0.1+dfsg1-1
valkey
Debian:14
before 8.0.1+dfsg1-1
8.0.1+dfsg1-1
redis
Mageia:9
From an advisory covering 3 CVEs
before 7.0.14-1.1.mga9
7.0.14-1.1.mga9
redis
Red 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-debuginfo
Red 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-debugsource
Red 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-devel
Red 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-doc
Red 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
SUSE: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
redis
openSUSE:Leap 15.6
From an advisory covering 3 CVEs
before 7.2.4-150600.3.3.1
7.2.4-150600.3.3.1
redis7
SUSE: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
redis7
openSUSE:Leap 15.6
From an advisory covering 3 CVEs
before 7.0.8-150600.8.3.1
7.0.8-150600.8.3.1
redis7
SUSE: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
redis7
openSUSE:Leap 15.5
From an advisory covering 3 CVEs
before 7.0.8-150500.3.12.1
7.0.8-150500.3.12.1
redis
Ubuntu: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 less
5: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
valkey
openSUSE:Tumbleweed
From an advisory covering 3 CVEs
before 8.0.1-1.1
8.0.1-1.1
redis
openSUSE:Tumbleweed
From an advisory covering 7 CVEs
before 8.0.2-1.1
8.0.2-1.1

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE 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

Show 55 moreShow less
MoveEnter Open