7.0high
Potential heap overflow in Redis
- Severity
- 7.0high CVSS:3.1 by GitHub_M
- Exploit likelihood
- 3.24% (higher than 88% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-KEYDB-2022-31144BIT-REDIS-2022-31144BIT-VALKEY-2022-31144GHSA-96f7-42fg-2jrh
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| redis redis | >= 7.0.0, < 7.0.4, from 7.0 before 7.0.4 | CVE List, NVD |
| keydb (Bitnami) | from 7.0.0 before 7.0.4 | Bitnami Vulnerability Database |
| redis (Bitnami) | from 7.0.0 before 7.0.4 | Bitnami Vulnerability Database |
| valkey (Bitnami) | from 7.0.0 before 7.0.4 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 7.0high CVSS:3.1 | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Bitnami Vulnerability Database | high rating |
Classification
What each source says
CVE List
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.
NVD (es)
Redis es una base de datos en memoria que persiste en el disco. Un comando "XAUTOCLAIM" especialmente diseñado en una clave de flujo en un estado específico puede resultar en un desbordamiento de pila, y potencialmente a una ejecución de código remoto. Este problema afecta a versiones de la rama 7.x anteriores a 7.0.4. El parche es publicado en versión 7.0.4.
References
| https://github.com/redis/redis/security/advisories/GHSA-96f7-42fg-2jrh | advisory, third-party-advisory, web | |
| https://github.com/redis/redis/releases/tag/7.0.4 | advisory, release-notes, third-party-advisory, web | |
| https://security.netapp.com/advisory/ntap-20220909-0002/ | advisory, third-party-advisory, web | |
| https://security.gentoo.org/glsa/202209-17 | advisory, third-party-advisory, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2022-31144 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2022-31144 changed 2025-04-23 | CVE Terms of Use |
| NVD | CVE-2022-31144 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-KEYDB-2022-31144 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-REDIS-2022-31144 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-VALKEY-2022-31144 changed 2025-10-14 | Apache-2.0 |