CVE Vulnerabilities

CVE-2024-31228

Uncontrolled Recursion

Published: Oct 07, 2024 | Modified: Oct 10, 2024
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
5.5 MODERATE
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

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.

Weakness

The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

Affected Software

Name Vendor Start Version End Version
Red Hat Enterprise Linux 8 RedHat redis:6-8100020250113083959.489197e6 *
Red Hat Enterprise Linux 9 RedHat redis:7-9050020241104103753.9 *
Red Hat Enterprise Linux 9 RedHat redis-0:6.2.17-1.el9_5 *
Redis Ubuntu trusty/esm *

Potential Mitigations

References