CVE-2024-31228CWE-674

Denial-of-service due to unbounded pattern matching in Redis

Medium · published October 7, 2024

CVSS v3.1
5.5
EPSS
1%
Percentile
62.8
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.5 · MEDIUM
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.01011 · 62.8th percentile
Weakness
CWE-674 · Uncontrolled Recursion
Published
2024-10-07T19:51Z
EPSS history
Timeline
  • 07 OCT 19:51Z
    Denial-of-service due to unbounded pattern matching in Redis
    cvelistv5