| Name | CVE-2022-31144 | 
| 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. | 
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) | 
Vulnerable and fixed packages
The table below lists information on source packages.
| Source Package | Release | Version | Status | 
|---|
| redis (PTS) | bullseye | 5:6.0.16-1+deb11u2 | fixed | 
|  | bullseye (security) | 5:6.0.16-1+deb11u8 | fixed | 
|  | bookworm | 5:7.0.15-1~deb12u5 | fixed | 
|  | bookworm (security) | 5:7.0.15-1~deb12u6 | fixed | 
|  | trixie | 5:8.0.2-3 | fixed | 
|  | trixie (security) | 5:8.0.2-3+deb13u1 | fixed | 
|  | forky, sid | 5:8.0.4-1 | fixed | 
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs | 
|---|
| redis | source | buster | (not affected) |  |  |  | 
| redis | source | bullseye | (not affected) |  |  |  | 
| redis | source | (unstable) | 5:7.0.4-1 |  |  |  | 
Notes
[bullseye] - redis <not-affected> (Only affects 7.x)
[buster] - redis <not-affected> (Only affects 7.x)
https://github.com/redis/redis/security/advisories/GHSA-96f7-42fg-2jrh
https://github.com/redis/redis/commit/15ae4e29e537e7ec37f0df1825d9fb2beea67124