Name | CVE-2024-31449 |
Description | Redis is an open source, in-memory database that persists on disk. An authenticated user may use a specially crafted Lua script to trigger a stack buffer overflow in the bit library, which may potentially lead to remote code execution. The problem exists in all versions of Redis with Lua scripting. 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 | 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 | vulnerable | |
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 | (unstable) | 5:7.0.15-2 | 1084805 | ||
valkey | source | (unstable) | 8.0.1+dfsg1-1 |
[bookworm] - redis <no-dsa> (Minor issue)
[bullseye] - redis <ignored> (lua-bitop-dev is used instead)
https://github.com/redis/redis/security/advisories/GHSA-whxg-wx83-85p5
https://github.com/redis/redis/commit/fe8de4313f85e0f8af2eff1f78b52cfe56fb4c71 (7.2.6)
Fixed by: https://github.com/redis/redis/commit/1f7c148be2cbacf7d50aa461c58b871e87cc5ed9 (6.2)
The redis package uses lua-bitop-dev from 5:5.0~rc4-3 to 5:7.0~rc3-1
https://github.com/valkey-io/valkey/pull/1114
https://github.com/valkey-io/valkey/commit/4fbab5740bfef66918d6c2950dd2b3b4e07815a2 (8.0.1)
[buster] - redis <ignored> (lua-bitop-dev is used instead)
[jessie] - redis <not-affected> (Lua bit library added in >= 2.8.18)