CVE-2023-25155
5.5medium
Integer Overflow in several Redis commands can lead to denial of service.
- Severity
- 5.5medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 1.11% (higher than 66% of CVEs)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-KEYDB-2023-25155BIT-REDIS-2023-25155BIT-VALKEY-2023-25155GHSA-x2r7-j9vw-3w83
Description
Redis is an in-memory database that persists on disk. Authenticated users issuing specially crafted `SRANDMEMBER`, `ZRANDMEMBER`, and `HRANDFIELD` commands can trigger an integer overflow, resulting in a runtime assertion and termination of the Redis server process. This problem affects all Redis versions. Patches were released in Redis version(s) 6.0.18, 6.2.11 and 7.0.9.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| redis redis | < 6.0.18, >= 7.0.0, < 7.0.9, >= 6.2.0, < 6.2.11, before 6.0.18, from 6.2.0 before 6.2.11, from 7.0.0 before 7.0.9 | CVE List, NVD |
| keydb (Bitnami) | before 6.0.18, from 6.2.0 before 6.2.11, from 7.0.0 before 7.0.9 | Bitnami Vulnerability Database |
| redis (Bitnami) | before 6.0.18, from 6.2.0 before 6.2.11, from 7.0.0 before 7.0.9 | Bitnami Vulnerability Database |
| valkey (Bitnami) | before 6.0.18, from 6.2.0 before 6.2.11, from 7.0.0 before 7.0.9 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 5.5medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://github.com/redis/redis/security/advisories/GHSA-x2r7-j9vw-3w83 | advisory, vendor-advisory, web | |
| https://github.com/redis/redis/commit/2a2a582e7cd99ba3b531336b8bd41df2b566e619 | fix, patch, web | |
| https://github.com/redis/redis/releases/tag/6.0.18 | article, release-notes, web | |
| https://github.com/redis/redis/releases/tag/6.2.11 | article, release-notes, web | |
| https://github.com/redis/redis/releases/tag/7.0.9 | article, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-25155 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-25155 changed 2025-03-07 | CVE Terms of Use |
| NVD | CVE-2023-25155 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-KEYDB-2023-25155 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-REDIS-2023-25155 changed 2026-09-08 | Apache-2.0 |
| Bitnami Vulnerability Database | BIT-VALKEY-2023-25155 changed 2025-10-15 | Apache-2.0 |