CVE-2022-35977

5.5 MEDIUM
Published: January 20, 2023 Modified: November 03, 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.

AI Explanation

Get an AI-powered plain-language explanation of this vulnerability and remediation steps.

Login to generate AI explanation

CVSS v3.x Details

0.0 Low Medium High Critical 10.0
Vector String
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

References to Advisories, Solutions, and Tools

Patch Vendor Advisory Exploit Third Party Advisory
https://github.com/redis/redis/commit/1ec82e6e97e1db06a72ca505f9fbf6b981f31ef7
Source: security-advisories@github.com
Patch Third Party Advisory
https://github.com/redis/redis/releases/tag/6.0.17
Source: security-advisories@github.com
Release Notes Third Party Advisory
https://github.com/redis/redis/releases/tag/6.2.9
Source: security-advisories@github.com
Release Notes Third Party Advisory
https://github.com/redis/redis/releases/tag/7.0.8
Source: security-advisories@github.com
Release Notes Third Party Advisory
https://github.com/redis/redis/security/advisories/GHSA-mrcw-fhw9-fj8j
Source: security-advisories@github.com
Third Party Advisory
https://github.com/redis/redis/commit/1ec82e6e97e1db06a72ca505f9fbf6b981f31ef7
Source: af854a3a-2127-422b-91ae-364da2661108
Patch Third Party Advisory
https://github.com/redis/redis/releases/tag/6.0.17
Source: af854a3a-2127-422b-91ae-364da2661108
Release Notes Third Party Advisory
https://github.com/redis/redis/releases/tag/6.2.9
Source: af854a3a-2127-422b-91ae-364da2661108
Release Notes Third Party Advisory
https://github.com/redis/redis/releases/tag/7.0.8
Source: af854a3a-2127-422b-91ae-364da2661108
Release Notes Third Party Advisory
https://github.com/redis/redis/security/advisories/GHSA-mrcw-fhw9-fj8j
Source: af854a3a-2127-422b-91ae-364da2661108
Third Party Advisory

11 reference(s) from NVD

Quick Stats

CVSS v3 Score
5.5 / 10.0
EPSS (Exploit Probability)
29.2%
96th percentile
Exploitation Status
Not in CISA KEV

Weaknesses (CWE)

Affected Vendors

redis