CVE-2022-35977
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.
CWE
- CWE-190 — CWE-190: Integer Overflow or Wraparound
Affected
- redis / redis — v=>= 7.0, < 7.0.8 [affected]; v=>= 6.2, < 6.2.9 [affected]; v=< 6.0.17 [affected]
CVSS
- 3.1 score=5.5 severity=MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/redis/redis/security/advisories/GHSA-mrcw-fhw9-fj8j x_refsource_CONFIRM
- https://github.com/redis/redis/commit/1ec82e6e97e1db06a72ca505f9fbf6b981f31ef7 x_refsource_MISC
- https://github.com/redis/redis/releases/tag/6.0.17 x_refsource_MISC
- https://github.com/redis/redis/releases/tag/6.2.9 x_refsource_MISC
- https://github.com/redis/redis/releases/tag/7.0.8 x_refsource_MISC
Source
cvelistV5-main/cves/2022/35xxx/CVE-2022-35977.json