Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Redis | Redis | >= 6.0.0, < 6.0.17 |
Related Weaknesses (CWE)
References
- https://github.com/redis/redis/commit/1ec82e6e97e1db06a72ca505f9fbf6b981f31ef7PatchThird Party Advisory
- https://github.com/redis/redis/releases/tag/6.0.17Release NotesThird Party Advisory
- https://github.com/redis/redis/releases/tag/6.2.9Release NotesThird Party Advisory
- https://github.com/redis/redis/releases/tag/7.0.8Release NotesThird Party Advisory
- https://github.com/redis/redis/security/advisories/GHSA-mrcw-fhw9-fj8jThird Party Advisory
- https://github.com/redis/redis/commit/1ec82e6e97e1db06a72ca505f9fbf6b981f31ef7PatchThird Party Advisory
- https://github.com/redis/redis/releases/tag/6.0.17Release NotesThird Party Advisory
- https://github.com/redis/redis/releases/tag/6.2.9Release NotesThird Party Advisory
- https://github.com/redis/redis/releases/tag/7.0.8Release NotesThird Party Advisory
- https://github.com/redis/redis/security/advisories/GHSA-mrcw-fhw9-fj8jThird Party Advisory
- https://lists.debian.org/debian-lts-announce/2024/11/msg00031.html
FAQ
What is CVE-2022-35977?
CVE-2022-35977 is a vulnerability with a CVSS score of 5.5 (MEDIUM). 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...
How severe is CVE-2022-35977?
CVE-2022-35977 has been rated MEDIUM with a CVSS base score of 5.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-35977?
Check the references section above for vendor advisories and patch information. Affected products include: Redis Redis.