Vulnerabilities · 2022 · Redis
CVE-2022-35977
Redis vulnerability
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 products
Redis. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Redis runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/redis/redis/commit/1ec82e6e97e1db06a72ca505f9fbf6b981f31ef7 · Patch
- github.com/redis/redis/releases/tag/6.0.17 · Third Party Advisory
- github.com/redis/redis/releases/tag/6.2.9 · Third Party Advisory
- github.com/redis/redis/releases/tag/7.0.8 · Third Party Advisory
- github.com/redis/redis/security/advisories/GHSA-mrcw-fhw9-fj8j · Third Party Advisory
- lists.debian.org/debian-lts-announce/2024/11/msg00031.html
- nvd.nist.gov/vuln/detail/CVE-2022-35977
- cve.org/CVERecord?id=CVE-2022-35977
More vulnerabilities in Redis products
CVE-2025-62507CVE-2025-49844CVE-2025-48367CVE-2025-46819CVE-2025-46818CVE-2025-46817CVE-2025-32023CVE-2025-27151All 47
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.