Integer overflow in Redis

CVE-2022-35977

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.

Vulnerability class: Integer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.140, 96.6th percentile (scored ); up from 0.135 30 days earlier. About EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2022-35977: rose from 0.135 to 0.140.

EPSS over last 30 days · oldest: 0.135 · newest: 0.140 · change: +0.006

Affected products

  • Redis — versions >= 7.0, < 7.0.8, >= 6.2, < 6.2.9, < 6.0.17

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 3 other repositories (ARPSyndicate/cvemon, leesh3288/leesh3288, redis-windows/redis-windows). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References