Name | CVE-2022-24834 |
Description | Redis is an in-memory database that persists on disk. A specially crafted Lua script executing in Redis can trigger a heap overflow in the cjson library, and result with heap corruption and potentially remote code execution. The problem exists in all versions of Redis with Lua scripting support, starting from 2.6, and affects only authenticated and authorized users. The problem is fixed in versions 7.0.12, 6.2.13, and 6.0.20. |
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-3885-1, DSA-5610-1 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
redis (PTS) | bullseye | 5:6.0.16-1+deb11u2 | vulnerable |
bullseye (security) | 5:6.0.16-1+deb11u3 | fixed | |
bookworm, bookworm (security) | 5:7.0.15-1~deb12u1 | fixed | |
sid, trixie | 5:7.0.15-2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
redis | source | bullseye | 5:6.0.16-1+deb11u3 | DLA-3885-1 | ||
redis | source | bookworm | 5:7.0.15-1~deb12u1 | DSA-5610-1 | ||
redis | source | (unstable) | 5:7.0.12-1 |
[buster] - redis <no-dsa> (Minor issue)
https://raw.githubusercontent.com/redis/redis/7.0/00-RELEASENOTES
https://github.com/redis/redis/commit/936cfa464f371666c46bff59f7c4247d48973ec6 (7.2-rc3)
https://github.com/redis/redis/commit/f6a7c9f9ec9354702cc3143310a24bf3d1507b03 (7.0.12)
https://github.com/redis/redis/pull/12398