CVE-2022-31144: redis Heap-based Buffer Overflow
CVSS: 8.8v3.1HighModified
AliasesALPINE-CVE-2022-31144UBUNTU-CVE-2022-31144DEBIAN-CVE-2022-31144openSUSE-SU-2024:12217-1
Published 19-07-2022Last modified 23-04-2025
Vulnerability summary
CVE-2022-31144 is a high (CVSS 8.8) Heap-based Buffer Overflow vulnerability in redis. EPSS estimates a 3.24% chance of exploitation in the next 30 days, higher than 88.1% of scored vulnerabilities.
CVSS score
8.8/10
010
High · v3.1 (NVD)EPSS score
3.24%
0%100%
Low · +0.02 pp in 30 daysKEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded
Timeline
- 19-07-2022PublishedVulnerability first disclosed.
- 23-04-2025Last modifiedVulnerability information updated.
Description
Redis is an in-memory database that persists on disk. A specially crafted `XAUTOCLAIM` command on a stream key in a specific state may result with heap overflow, and potentially remote code execution. This problem affects versions on the 7.x branch prior to 7.0.4. The patch is released in version 7.0.4.
CVSS metrics
5 scores · 5 sources · 1 versionHigh 8.8Preferred score · NVD (NIST)
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HSources5 sources · 7.0–8.8
- CVE.orgCNA7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · AlpineEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated7.0HighCVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:HDiffers
- OSV · DebianEcosystem advisory · calculated8.8HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
3.24%
Chance of exploitation in the next 30 days
Percentile
88%
Versus all other CVEs
30-day change
+0.02 pp
From 3.22% on 19-09-2026
19-09-202619-10-2026
EPSS score3.24%
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-122Heap-based Buffer OverflowA heap overflow condition is a buffer overflow, where the buffer that can be overwritten is allocated in the heap portion of memory, generally meaning that the buffer was allocated using a routine such as malloc().
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Alpine1 product
- redis≥ 7.0, < 7.0.4-r0
Debian1 product
- redis< 5:7.0.4-1
Opensuse1 product
- redis&distro=openSUSE Tumbleweed< 7.0.4-1.1
Redis1 product
- redis≥ 7.0.0, < 7.0.4 | ≥ 7.0, < 7.0.4
Ubuntu1 product
- redis< 5:7.0.12-1
5 vendors · 5 products
References
10 links- github.com/redis/redis/security/advisories/GHSA-96f7-42fg-2jrhX Refsource CONFIRMREPORTThird Party Advisory