CVE-2022-35951: Redis subject to Integer Overflow leading to Remote Code Execution via Heap Overflow
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 Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/redisto a version that resolves this vulnerability.Fixed in 5:7.0.15-1~deb12u7Fixed in 5:7.0.15-1~deb12u10Fixed in 5:8.0.2-3+deb13u2Fixed in 5:8.0.2-3+deb13u3Fixed in 5:8.0.6-3 - Upgrade
Upgrade
alpine/redisto a version that resolves this vulnerability.Fixed in 7.0.5-r0 - Upgrade
Upgrade
debian/redisto a version that resolves this vulnerability.Fixed in 5:7.0.5-1 - Upgrade
Upgrade
Redisto a version that resolves this vulnerability.Fixed in 7.0.5
Event History
Frequently Asked Questions
What is CVE-2022-35951?
CVE-2022-35951 is an Integer Overflow vulnerability in Redis versions 7.0.0 through 7.0.4.
How does CVE-2022-35951 impact Redis?
CVE-2022-35951 allows an attacker to cause an integer overflow and a subsequent heap overflow in Redis.
What is the severity of CVE-2022-35951?
CVE-2022-35951 has a severity rating of 9.8 (Critical).
How can I fix CVE-2022-35951?
To fix CVE-2022-35951, upgrade Redis to version 7.0.5 or later.
Are there any references for CVE-2022-35951?
Yes, you can find more information about CVE-2022-35951 at the following references: [link1], [link2], [link3].