Medium severity · published Oct 7, 2024
CVE-2024-31228
Redis is an open source, in-memory database that persists on disk
6.5
CVSS
1%
EPSS
No
On KEV
Description
Redis is an open source, in-memory database that persists on disk. 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. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)1.0% · higher than 63% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RE
Redis · Redis
2.2.5 before 6.2.16; 7.2.0 before 7.2.6; 7.4.0; 7.4.0; 7.4.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-31228
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-31228
Patch
https://github.com/redis/redis/commit/9317bf64659b33166a943ec03d5d9b954e86afb0
Vendor Advisory
https://github.com/redis/redis/security/advisories/GHSA-66gq-c942-6976
lists.debian.org
https://lists.debian.org/debian-lts-announce/2024/11/msg00031.html
More from Redis
10.0
CVE-2022-0543
Debian-specific Redis Server Lua Sandbox Escape Vulnerability
9.9
CVE-2025-49844
Redis is an open source, in-memory database that persists on disk
9.8
CVE-2025-27151
Redis is an open source, in-memory database that persists on disk
9.8
CVE-2024-46981
Redis' Lua library commands may lead to remote code execution
9.8
CVE-2022-3734
Redis on Windows dbghelp.dll uncontrolled search path
