CVE-2022-35951
published high CVSS 3.1 · 7.0Redis subject to Integer Overflow leading to Remote Code Execution via Heap Overflow
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| redis | — | redis>= 7.0.0, < 7.0.5 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | redis | Fixed | 7.0.5-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | redisaarch64 | Advisory build | 7.0.5-1.1 | OPENSUSE-SU-2024:12361-1 |
| Alpine Linux | v3.16 | redis | Fixed | 7.0.5-r0 | Package fix record |
| Alpine Linux | v3.17 | redis | Fixed | 7.0.5-r0 | Package fix record |
| Alpine Linux | v3.18 | redis | Fixed | 7.0.5-r0 | Package fix record |
| Alpine Linux | v3.19 | redis | Fixed | 7.0.5-r0 | Package fix record |
| Alpine Linux | v3.20 | redis | Fixed | 7.0.5-r0 | Package fix record |
Show 7 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.21 | redis | Fixed | 7.0.5-r0 | Package fix record |
| Alpine Linux | v3.22 | redis | Fixed | 7.0.5-r0 | Package fix record |
| Alpine Linux | v3.23 | redis | Fixed | 7.0.5-r0 | Package fix record |
| Alpine Linux | v3.24 | redis | Fixed | 7.0.5-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | redisppc64le | Advisory build | 7.0.5-1.1 | OPENSUSE-SU-2024:12361-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | rediss390x | Advisory build | 7.0.5-1.1 | OPENSUSE-SU-2024:12361-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | redisx86_64 | Advisory build | 7.0.5-1.1 | OPENSUSE-SU-2024:12361-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.0 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| redis | redis | >= 7.0.0, < 7.0.5 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-190 CWE-190: Integer Overflow or Wraparound
References
4- https://github.com/redis/redis/security/advisories/GHSA-5gc4-76rx-22c9
- FEDORA-2022-de7b3ceca6 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A7INCOOFPPEAKNDBZU3TIZJPYXBULI2C/
- GLSA-202209-17 https://security.gentoo.org/glsa/202209-17
- https://security.netapp.com/advisory/ntap-20221020-0005/
Provider assertions
3GitHub_M · cna
Redis subject to Integer Overflow leading to Remote Code Execution via Heap Overflow
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 045304fec011d78252a3d88d51f251306252725cb53429f5a2c1ab5dc450cc55
- Ingested
- 23 Sep 2026, 08:01:20 UTC
- Source record
- Official CVE record