CVE-2022-35977

NameCVE-2022-35977
DescriptionRedis is an in-memory database that persists on disk. Authenticated users issuing specially crafted `SETRANGE` and `SORT(_RO)` commands can trigger an integer overflow, resulting with Redis attempting to allocate impossible amounts of memory and abort with an out-of-memory (OOM) panic. The problem is fixed in Redis versions 7.0.8, 6.2.9 and 6.0.17. 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)
ReferencesDLA-3973-1, ELA-1253-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
redis (PTS)jessie, jessie (lts)2:2.8.17-1+deb8u13fixed
stretch (security)3:3.2.6-3+deb9u9vulnerable
stretch (lts), stretch3:3.2.6-3+deb9u13fixed
buster, buster (lts)5:5.0.14-1+deb10u6fixed
buster (security)5:5.0.14-1+deb10u5vulnerable
bullseye5:6.0.16-1+deb11u2vulnerable
bullseye (security)5:6.0.16-1+deb11u4fixed
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
redissourcejessie2:2.8.17-1+deb8u13ELA-1253-1
redissourcestretch3:3.2.6-3+deb9u13ELA-1253-1
redissourcebuster5:5.0.14-1+deb10u6ELA-1253-1
redissourcebullseye5:6.0.16-1+deb11u4DLA-3973-1
redissource(unstable)5:7.0.8-1

Notes

[buster] - redis <ignored> (Minor issue; requires authed user)
https://github.com/redis/redis/commit/6c25c6b7da116e110e89a5db45eeae743879e7ea (7.0.8)

Search for package or bug name: Reporting problems