Name | CVE-2024-31228 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-3973-1, ELA-1253-1 |
Debian Bugs | 1084805 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
redict (PTS) | sid, trixie | 7.3.1+ds-1 | fixed |
redis (PTS) | jessie, jessie (lts) | 2:2.8.17-1+deb8u13 | fixed |
stretch (security) | 3:3.2.6-3+deb9u9 | vulnerable | |
stretch (lts), stretch | 3:3.2.6-3+deb9u13 | fixed | |
buster, buster (lts) | 5:5.0.14-1+deb10u6 | fixed | |
buster (security) | 5:5.0.14-1+deb10u5 | vulnerable | |
bullseye | 5:6.0.16-1+deb11u2 | vulnerable | |
bullseye (security) | 5:6.0.16-1+deb11u4 | fixed | |
bookworm (security), bookworm | 5:7.0.15-1~deb12u1 | vulnerable | |
sid, trixie | 5:7.0.15-2 | fixed | |
valkey (PTS) | sid, trixie | 8.0.1+dfsg1-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
redict | source | (unstable) | 7.3.1+ds-1 | |||
redis | source | jessie | 2:2.8.17-1+deb8u13 | ELA-1253-1 | ||
redis | source | stretch | 3:3.2.6-3+deb9u13 | ELA-1253-1 | ||
redis | source | buster | 5:5.0.14-1+deb10u6 | ELA-1253-1 | ||
redis | source | bullseye | 5:6.0.16-1+deb11u4 | DLA-3973-1 | ||
redis | source | (unstable) | 5:7.0.15-2 | 1084805 | ||
valkey | source | (unstable) | 8.0.1+dfsg1-1 |
[bookworm] - redis <no-dsa> (Minor issue)
https://github.com/redis/redis/security/advisories/GHSA-66gq-c942-6976
https://github.com/redis/redis/commit/c8649f8e852d1dc388b5446e003bb0eefa33d61f (7.2.6)
Fixed by: https://github.com/redis/redis/commit/9317bf64659b33166a943ec03d5d9b954e86afb0 (6.2)
https://github.com/valkey-io/valkey/pull/1114
https://github.com/valkey-io/valkey/commit/4fbab5740bfef66918d6c2950dd2b3b4e07815a2 (8.0.1)