CVE-2023-22458

NameCVE-2023-22458
DescriptionRedis is an in-memory database that persists on disk. Authenticated users can issue a `HRANDFIELD` or `ZRANDMEMBER` command with specially crafted arguments to trigger a denial-of-service by crashing Redis with an assertion failure. This problem affects Redis versions 6.2 or newer up to but not including 6.2.9 as well as versions 7.0 up to but not including 7.0.8. Users are advised to upgrade. There are no known workarounds for this vulnerability.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1029363

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
redis (PTS)jessie, jessie (lts)2:2.8.17-1+deb8u12fixed
stretch (security)3:3.2.6-3+deb9u9fixed
stretch (lts), stretch3:3.2.6-3+deb9u12fixed
buster (security), buster, buster (lts)5:5.0.14-1+deb10u5fixed
bullseye5:6.0.16-1+deb11u2fixed
bullseye (security)5:6.0.16-1+deb11u3fixed
bookworm (security), bookworm5:7.0.15-1~deb12u1fixed
sid, trixie5:7.0.15-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
redissourcejessie(not affected)
redissourcestretch(not affected)
redissourcebuster(not affected)
redissourcebullseye(not affected)
redissource(unstable)5:7.0.8-11029363

Notes

[bullseye] - redis <not-affected> (Vulnerable code introduced later)
[buster] - redis <not-affected> (Vulnerable code introduced later)
https://github.com/redis/redis/security/advisories/GHSA-r8w2-2m53-gprj
Introduced after: https://github.com/redis/redis/commit/b9a0500f16d0cd016398133cc7ac256ad927b679 (6.2-rc3)
Fixed by: https://github.com/redis/redis/commit/3f1f02034ce674cad8268f958cf8c39944b240c6 (7.0.8)
[stretch] - redis <not-affected> (Vulnerable code introduced later)
[jessie] - redis <not-affected> (Vulnerable code introduced later)

Search for package or bug name: Reporting problems