CVE-2024-31228: Redis is an open source, in-memory database that persists on disk
Affects redisSource GCVE Database
Not known to be exploited · CVSS 5.5 Medium · fixed in 2:3.0.6-1ubuntu0.4+esm3 : update redis when convenient.
Data as of 24 Nov 2026, 19:26 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 5.5 |
|---|
- Patch
- Available – fixed in 2:3.0.6-1ubuntu0.4+esm3, 5:4.0.9-1ubuntu0.2+esm5, 5:5.0.7-2ubuntu0.1+esm3 +2
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 7 Oct 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSredispkg:deb/ubuntu/redis?arch=source&distro=nobleOther threats | Affected
| Fixed in
|
Ubuntu Pro 22.04 LTSredispkg:deb/ubuntu/redis?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSredispkg:deb/ubuntu/redis?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSredispkg:deb/ubuntu/redis?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTSredispkg:deb/ubuntu/redis?arch=source&distro=esm-apps/xenialOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2024-31228 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-31228 (opens in a new tab)
- github.com/redis/redis/security/advisories/GHSA-66gq-c942-6976 (opens in a new tab)
- github.com/redis/redis/commit/9317bf64659b33166a943ec03d5d9b954e86afb0 (opens in a new tab)
- ubuntu.com/security/notices/USN-7321-1 (opens in a new tab)