CVE-2024-31228

Publication date 7 October 2024

Last updated 30 May 2025


Ubuntu priority

Cvss 3 Severity Score

5.5 · Medium

Score breakdown

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.

Status

Package Ubuntu Release Status
redis 25.04 plucky
Needs evaluation
24.10 oracular
Fixed 5:7.0.15-1ubuntu0.24.10.1
24.04 LTS noble
Fixed 5:7.0.15-1ubuntu0.24.04.1
22.04 LTS jammy
Fixed 5:6.0.16-1ubuntu1+esm2
20.04 LTS focal
Fixed 5:5.0.7-2ubuntu0.1+esm3
18.04 LTS bionic
Fixed 5:4.0.9-1ubuntu0.2+esm5
16.04 LTS xenial
Fixed 2:3.0.6-1ubuntu0.4+esm3
14.04 LTS trusty
Fixed 2.8.4-2ubuntu0.2+esm4

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro

Severity score breakdown

Parameter Value
Base score 5.5 · Medium
Attack vector Local
Attack complexity Low
Privileges required Low
User interaction None
Scope Unchanged
Confidentiality None
Integrity impact None
Availability impact High
Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H