{"id":"UBUNTU-CVE-2022-35951","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.","modified":"2025-07-16T08:28:14.093449Z","published":"2022-09-23T04:15:00Z","withdrawn":"2025-07-18T16:49:30Z","upstream":["CVE-2022-35951"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-35951"},{"type":"REPORT","url":"https://github.com/redis/redis/commit/fa6815e14ea5adff93c5cd7be513c02a7c6e3f2a"},{"type":"REPORT","url":"https://github.com/redis/redis/security/advisories/GHSA-5gc4-76rx-22c9"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-35951"}],"affected":[{"package":{"name":"redis","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/redis@5:7.0.12-1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"5:7.0.12-1"}]}],"ecosystem_specific":{"binaries":[{"binary_name":"redis","binary_version":"5:7.0.12-1"},{"binary_name":"redis-sentinel","binary_version":"5:7.0.12-1"},{"binary_name":"redis-server","binary_version":"5:7.0.12-1"},{"binary_name":"redis-tools","binary_version":"5:7.0.12-1"},{"binary_name":"redis-tools-dbgsym","binary_version":"5:7.0.12-1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-35951.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"medium"}]}