Skip to main content
VulnerabilityPublished Updated

CVE-2024-31228: Redis is an open source, in-memory database that persists on disk

Affects redisSource GCVE Database

0
Compare
Authoritative record:CVE-2024-31228· Medium 5.5

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

CVSS 3.1 base score
5.5Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.15.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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 7 Oct 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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.

Affected software

ProductAffectedFixed in
Ubuntu 24.04 LTSredispkg:deb/ubuntu/redis?arch=source&distro=nobleOther threatsAffected
  • <5:7.0.15-1ubuntu0.24.04.1
Fixed in
  • 5:7.0.15-1ubuntu0.24.04.1
Ubuntu Pro 22.04 LTSredispkg:deb/ubuntu/redis?arch=source&distro=esm-apps/jammyOther threatsAffected
  • <5:6.0.16-1ubuntu1+esm2
Fixed in
  • 5:6.0.16-1ubuntu1+esm2
Ubuntu Pro 20.04 LTSredispkg:deb/ubuntu/redis?arch=source&distro=esm-apps/focalOther threatsAffected
  • <5:5.0.7-2ubuntu0.1+esm3
  • =5:5.0.7-2ubuntu0.1~esm1
Fixed in
  • 5:5.0.7-2ubuntu0.1+esm3
Ubuntu Pro 18.04 LTSredispkg:deb/ubuntu/redis?arch=source&distro=esm-apps/bionicOther threatsAffected
  • <5:4.0.9-1ubuntu0.2+esm5
Fixed in
  • 5:4.0.9-1ubuntu0.2+esm5
Ubuntu Pro 16.04 LTSredispkg:deb/ubuntu/redis?arch=source&distro=esm-apps/xenialOther threatsAffected
  • <2:3.0.6-1ubuntu0.4+esm3
Fixed in
  • 2:3.0.6-1ubuntu0.4+esm3

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

Community reviews

Loading reviews…