{"id":"CVE-2022-35977","state":"PUBLISHED","title":"Integer overflow in certain command arguments can drive Redis to OOM panic","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.","publishedAt":"2023-01-20T18:19:27.692Z","updatedAt":"2025-11-03T21:46:27.537Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["redis redis"],"affected":[{"vendor":"redis","product":"redis","versions":[{"version":">= 7.0, < 7.0.8","status":"affected"},{"version":">= 6.2, < 6.2.9","status":"affected"},{"version":"< 6.0.17","status":"affected"}]}],"references":["https://github.com/redis/redis/security/advisories/GHSA-mrcw-fhw9-fj8j","https://github.com/redis/redis/commit/1ec82e6e97e1db06a72ca505f9fbf6b981f31ef7","https://github.com/redis/redis/releases/tag/6.0.17","https://github.com/redis/redis/releases/tag/6.2.9","https://github.com/redis/redis/releases/tag/7.0.8","https://lists.debian.org/debian-lts-announce/2024/11/msg00031.html"],"weaknesses":["CWE-190"],"ingestedAt":"2026-10-29T19:50:17.761Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/35xxx/CVE-2022-35977.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-35977","state":"PUBLISHED","datePublished":"2023-01-20T18:19:27.692Z","dateUpdated":"2025-11-03T21:46:27.537Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2022-07-15T23:52:24.278Z"},"containers":{"cna":{"title":"Integer overflow in certain command arguments can drive Redis to OOM panic","descriptions":[{"lang":"en","value":"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":[{"vendor":"redis","product":"redis","versions":[{"version":">= 7.0, < 7.0.8","status":"affected"},{"version":">= 6.2, < 6.2.9","status":"affected"},{"version":"< 6.0.17","status":"affected"}]}],"references":[{"url":"https://github.com/redis/redis/security/advisories/GHSA-mrcw-fhw9-fj8j","name":"https://github.com/redis/redis/security/advisories/GHSA-mrcw-fhw9-fj8j","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/redis/redis/commit/1ec82e6e97e1db06a72ca505f9fbf6b981f31ef7","name":"https://github.com/redis/redis/commit/1ec82e6e97e1db06a72ca505f9fbf6b981f31ef7","tags":["x_refsource_MISC"]},{"url":"https://github.com/redis/redis/releases/tag/6.0.17","name":"https://github.com/redis/redis/releases/tag/6.0.17","tags":["x_refsource_MISC"]},{"url":"https://github.com/redis/redis/releases/tag/6.2.9","name":"https://github.com/redis/redis/releases/tag/6.2.9","tags":["x_refsource_MISC"]},{"url":"https://github.com/redis/redis/releases/tag/7.0.8","name":"https://github.com/redis/redis/releases/tag/7.0.8","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":5.5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-190","lang":"en","description":"CWE-190: Integer Overflow or Wraparound","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-01-20T18:19:27.692Z"},"source":{"advisory":"GHSA-mrcw-fhw9-fj8j","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/redis/redis/security/advisories/GHSA-mrcw-fhw9-fj8j","name":"https://github.com/redis/redis/security/advisories/GHSA-mrcw-fhw9-fj8j","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/redis/redis/commit/1ec82e6e97e1db06a72ca505f9fbf6b981f31ef7","name":"https://github.com/redis/redis/commit/1ec82e6e97e1db06a72ca505f9fbf6b981f31ef7","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/redis/redis/releases/tag/6.0.17","name":"https://github.com/redis/redis/releases/tag/6.0.17","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/redis/redis/releases/tag/6.2.9","name":"https://github.com/redis/redis/releases/tag/6.2.9","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/redis/redis/releases/tag/7.0.8","name":"https://github.com/redis/redis/releases/tag/7.0.8","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/11/msg00031.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T21:46:27.537Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-10T20:59:39.619602Z","id":"CVE-2022-35977","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-10T21:21:26.247Z"}}]}}}