VULNERABILITY INTELLIGENCE
CVE-2024-31228
CVSS score5.5 MEDIUM
EPSS probability1.01%
CISA KEVNot currently listed
Published2024-10-07
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
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.
Weakness classification
- CWE-674: Uncontrolled Recursion
Primary references
- security-advisories@github.com — Patch
- security-advisories@github.com — Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108