CVE-2022-35977
Published: 20 January 2023
Redis 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.
Priority
Status
Package | Release | Status |
---|---|---|
redis Launchpad, Ubuntu, Debian |
bionic |
Released
(5:4.0.9-1ubuntu0.2+esm4)
Available with Ubuntu Pro |
focal |
Released
(5:5.0.7-2ubuntu0.1+esm2)
Available with Ubuntu Pro |
|
jammy |
Released
(5:6.0.16-1ubuntu1+esm1)
Available with Ubuntu Pro |
|
kinetic |
Ignored
(end of life, was needs-triage)
|
|
lunar |
Ignored
(end of life, was needs-triage)
|
|
mantic |
Not vulnerable
(5:7.0.8-4)
|
|
trusty |
Released
(2:2.8.4-2ubuntu0.2+esm3)
Available with Ubuntu Pro or Ubuntu Pro (Infra-only) |
|
upstream |
Released
(7.0.8)
|
|
xenial |
Released
(2:3.0.6-1ubuntu0.4+esm2)
Available with Ubuntu Pro |
|
Patches: upstream: https://github.com/redis/redis/commit/6c25c6b7da116e110e89a5db45eeae743879e7ea |
Severity score breakdown
Parameter | Value |
---|---|
Base score | 5.5 |
Attack vector | Local |
Attack complexity | Low |
Privileges required | Low |
User interaction | None |
Scope | Unchanged |
Confidentiality | None |
Integrity impact | None |
Availability impact | High |
Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |