CVE-2022-31144 json
Potential heap overflow in Redis
published 2022-07-18 4 y ago modified 2026-09-08 2 mo ago also BIT-keydb-2022-31144 , BIT-redis-2022-31144 , BIT-valkey-2022-31144 , EUVD-2022-52768 , GHSA-96f7-42fg-2jrh
- cvss
- 7.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.2%
- EPSS 3.2% chance of exploitation in 30 days, percentile 88%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- bitnami keydb 7.0.4
- bitnami redis 7.0.4
- bitnami valkey 7.0.4
- redis redis 7.0.4
- redis Debian 14, Debian 13, Debian 12 5:7.0.4-1
debian advisories DEBIAN-CVE-2022-31144
- redis openSUSE Tumbleweed 7.0.4-1.1
opensuse advisories openSUSE-SU-2024:12217-1
- redis Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 7.0.4-r0
alpine advisories ALPINE-CVE-2022-31144
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-31144 updated cvss 7.0
redis: heap overflow via XAUTOCLAIM command
-
Red Hat OpenStack Platform 13 (Queens) redisaffected: no fix planned “Out of support scope”
-
Red Hat 3scale API Management Platform 2 3scale-amp2/backend-rhel8 Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/search-api-rhel8 Red Hat Ansible Automation Platform 1.2 ansible-tower Red Hat Enterprise Linux 8 redis Red Hat Enterprise Linux 9 redis Red Hat Fuse 7 redisnot affected: vulnerable code not present
+3 more productsfewer
Red Hat Quay 3 quay/quay-rhel8 Red Hat Satellite 6 rubygem-gitlab-sidekiq-fetcher, tfm-rubygem-gitlab-sidekiq-fetcher Red Hat Software Collections rh-redis6-redis
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 18 mo ago
Exploit prediction
3.24% chance of exploitation in the next 30 days, higher than 88% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.0 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | keydb | >=7.0.0, <7.0.4 |
7.0.4 |
| bitnami | redis | >=7.0.0, <7.0.4 |
7.0.4 |
| bitnami | valkey | >=7.0.0, <7.0.4 |
7.0.4 |
Affected products
- redis redis
Classification
- Weakness
- Technology feeds
References
-
security.gentoo.org
/glsa/202209-17
vendor-advisory, third-party-advisory, advisory, web
-
github.com
/redis/redis/security/advisories/GHSA-96f7-42fg-2jrh
third-party-advisory, advisory, web
-
github.com
/redis/redis/releases/tag/7.0.4
release-notes, third-party-advisory, advisory, web
-
security.netapp.com
/advisory/ntap-20220909-0002/
third-party-advisory, advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2022-31144
web
Sources
- CVE List CVE-2022-31144
- NVD CVE-2022-31144
- OSV BIT-keydb-2022-31144
- OSV BIT-redis-2022-31144
- OSV BIT-valkey-2022-31144
- Maintainer advisory GHSA-96f7-42fg-2jrh
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of redis/redis published their own advisory on GitHub. Reviewed sources take precedence over it.