{"id":"BIT-keydb-2022-35951","summary":"Redis subject to Integer Overflow leading to Remote Code Execution via Heap Overflow","details":"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.","aliases":["BIT-redis-2022-35951","BIT-valkey-2022-35951","CVE-2022-35951","GHSA-5gc4-76rx-22c9"],"modified":"2025-10-08T05:27:20.739046Z","published":"2024-08-22T19:26:14.253Z","database_specific":{"cpes":["cpe:2.3:a:redis:redis:*:*:*:*:*:*:*:*"],"severity":"Critical"},"references":[{"type":"WEB","url":"https://github.com/redis/redis/security/advisories/GHSA-5gc4-76rx-22c9"},{"type":"WEB","url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A7INCOOFPPEAKNDBZU3TIZJPYXBULI2C/"},{"type":"WEB","url":"https://security.gentoo.org/glsa/202209-17"},{"type":"WEB","url":"https://security.netapp.com/advisory/ntap-20221020-0005/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-35951"}],"affected":[{"package":{"name":"keydb","ecosystem":"Bitnami","purl":"pkg:bitnami/keydb"},"ranges":[{"type":"SEMVER","events":[{"introduced":"7.0.0"},{"fixed":"7.0.5"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/keydb/BIT-keydb-2022-35951.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}],"schema_version":"1.7.3"}