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
EPSS: 0.373 (98.4th percentile) — read the EPSS interpretation.
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.
Affected products
- Redis — versions >= 7.0, < 7.0.8, >= 6.2, < 6.2.9, < 6.0.17
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
- security-advisories@github.com (Patch, Third Party Advisory, x_refsource_MISC)
- security-advisories@github.com (Third Party Advisory, x_refsource_MISC, Release Notes)
- security-advisories@github.com (Third Party Advisory, x_refsource_MISC, Release Notes)
- security-advisories@github.com (Third Party Advisory, x_refsource_MISC, Release Notes)
- af854a3a-2127-422b-91ae-364da2661108
Frequently asked questions
- What is CVE-2022-35977?
- CVE-2022-35977 is a medium-severity vulnerability in Redis, classified under Integer Overflow or Wraparound. CVSS score: 5.5/10. Published 2023-01-20.
- How severe is CVE-2022-35977?
- Medium severity. CVSS v3 base score is 5.5 out of 10.
- Is CVE-2022-35977 known to be exploited?
- 3 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.