ALPINE-CVE-2024-31228 PUBLISHED CVSS 6.5 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.

Risk Scores

CVSS v3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Affected Products

VendorProductVersions
Alpine:v3.15redis4.0.8-r0, 3.2.7-r0, 3.2.5-r0
Alpine:v3.21valkey7.2.5-r2, 7.2.5-r1, 7.2.5-r0
Alpine:v3.19redis6.2.4-r0, 6.2.0-r0, 6.2.1-r0
Alpine:v3.23valkey7.2.5-r2, 0, 7.2.5-r0
Alpine:v3.20valkey0, 7.2.5-r0, 7.2.5-r1
Alpine:v3.17redis2.4.16-r0, 0, 2.4.14-r0
Alpine:v3.18redis0, 6.2.1-r0, 6.2.2-r0
Alpine:v3.22valkey0, 7.2.5-r0, 7.2.5-r1

Timeline

References

Open in Interactive Console →