{"id":"CVE-2022-35951","state":"PUBLISHED","title":"Redis subject to Integer Overflow leading to Remote Code Execution via Heap Overflow","description":"Redis is an in-memory database that persists on disk. Versions 7.0.0 and above, prior to 7.0.5 are vulnerable to an Integer Overflow. Executing an `XAUTOCLAIM` command on a stream key in a specific state, with a specially crafted `COUNT` argument may cause an integer overflow, a subsequent heap overflow, and potentially lead to remote code execution. This has been patched in Redis version 7.0.5. No known workarounds exist.","publishedAt":"2022-09-23T00:00:00.000Z","updatedAt":"2025-04-23T16:56:29.033Z","severity":{"score":7,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["redis redis"],"affected":[{"vendor":"redis","product":"redis","versions":[{"version":">= 7.0.0, < 7.0.5","status":"affected"}]}],"references":["https://github.com/redis/redis/security/advisories/GHSA-5gc4-76rx-22c9","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A7INCOOFPPEAKNDBZU3TIZJPYXBULI2C/","https://security.gentoo.org/glsa/202209-17","https://security.netapp.com/advisory/ntap-20221020-0005/"],"weaknesses":["CWE-190"],"ingestedAt":"2026-10-29T19:50:17.761Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/35xxx/CVE-2022-35951.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-35951","state":"PUBLISHED","datePublished":"2022-09-23T00:00:00.000Z","dateUpdated":"2025-04-23T16:56:29.033Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2022-07-15T00:00:00.000Z"},"containers":{"cna":{"title":"Redis subject to Integer Overflow leading to Remote Code Execution via Heap Overflow","descriptions":[{"lang":"en","value":"Redis is an in-memory database that persists on disk. Versions 7.0.0 and above, prior to 7.0.5 are vulnerable to an Integer Overflow. Executing an `XAUTOCLAIM` command on a stream key in a specific state, with a specially crafted `COUNT` argument may cause an integer overflow, a subsequent heap overflow, and potentially lead to remote code execution. This has been patched in Redis version 7.0.5. No known workarounds exist."}],"affected":[{"vendor":"redis","product":"redis","versions":[{"version":">= 7.0.0, < 7.0.5","status":"affected"}]}],"references":[{"url":"https://github.com/redis/redis/security/advisories/GHSA-5gc4-76rx-22c9"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A7INCOOFPPEAKNDBZU3TIZJPYXBULI2C/","name":"FEDORA-2022-de7b3ceca6","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202209-17","name":"GLSA-202209-17","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20221020-0005/"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-190","type":"CWE","lang":"en","description":"CWE-190: Integer Overflow or Wraparound"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2022-10-20T00:00:00.000Z"},"source":{"advisory":"GHSA-5gc4-76rx-22c9","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/redis/redis/security/advisories/GHSA-5gc4-76rx-22c9","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A7INCOOFPPEAKNDBZU3TIZJPYXBULI2C/","name":"FEDORA-2022-de7b3ceca6","tags":["vendor-advisory","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202209-17","name":"GLSA-202209-17","tags":["vendor-advisory","x_transferred"]},{"url":"https://security.netapp.com/advisory/ntap-20221020-0005/","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T09:51:59.205Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-04-23T15:48:55.453076Z","id":"CVE-2022-35951","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-04-23T16:56:29.033Z"}}]}}}