Medium severity · published Jan 20, 2023
CVE-2022-35977
Redis is an in-memory database that persists on disk
5.5
CVSS
13.5%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)13.5% · higher than 96% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
RE
Redis · Redis
6.0.0 before 6.0.17; 6.2.0 before 6.2.9; 7.0.0 before 7.0.8 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-35977
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-35977
Patch
https://github.com/redis/redis/commit/1ec82e6e97e1db06a72ca505f9fbf6b981f31ef7
Release Notes
https://github.com/redis/redis/releases/tag/6.0.17
Release Notes
https://github.com/redis/redis/releases/tag/6.2.9
Release Notes
https://github.com/redis/redis/releases/tag/7.0.8
Third Party Advisory
https://github.com/redis/redis/security/advisories/GHSA-mrcw-fhw9-fj8j
lists.debian.org
https://lists.debian.org/debian-lts-announce/2024/11/msg00031.html
More from Redis
10.0
CVE-2022-0543
Debian-specific Redis Server Lua Sandbox Escape Vulnerability
9.9
CVE-2025-49844
Redis is an open source, in-memory database that persists on disk
9.8
CVE-2025-27151
Redis is an open source, in-memory database that persists on disk
9.8
CVE-2024-46981
Redis' Lua library commands may lead to remote code execution
9.8
CVE-2022-3734
Redis on Windows dbghelp.dll uncontrolled search path
