Original 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.
Affected software
- Redis ≥ 6.0.0 < 6.0.17≥ 6.2.0 < 6.2.9≥ 7.0.0 < 7.0.8 Fixed in: 6.0.17, 6.2.9, 7.0.8 exact match
Details
- Published
- 2023-01-21
- Last modified
- 2025-11-04
- CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H- CWE
- CWE-190
- EPSS (30-day exploit probability)
- 14.05% (percentile 97)
References
- cve.org/CVE-2022-35977
- nvd.nist.gov/vuln/detail/CVE-2022-35977
- github.com/redis/redis/security/advisories/GHSA-mrcw-fhw9-fj8j
- github.com/redis/redis/commit/1ec82e6e97e1db06a72ca505f9fbf6b981f31ef7
- github.com/redis/redis/releases/tag/6.0.17
- github.com/redis/redis/releases/tag/6.2.9
- github.com/redis/redis/releases/tag/7.0.8
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.