CVE-2022-35977

Severity CVSS v4.0:
Pending analysis
Type:
CWE-190 Integer Overflow or Wraparound
Publication date:
20/01/2023
Last modified:
03/11/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* 6.0.0 (including) 6.0.17 (excluding)
cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* 6.2.0 (including) 6.2.9 (excluding)
cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:* 7.0.0 (including) 7.0.8 (excluding)