CVE-2023-25155
Integer Overflow in several Redis commands can lead to denial of service.
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
A vulnerability was found in Redis. This flaw allows authenticated users issuing specially crafted SRANDMEMBER, ZRANDMEMBER, and HRANDFIELD commands to trigger an integer overflow, resulting in a runtime assertion and termination of the Redis server process.
Seiya Nakata and Yudai Fujiwara discovered that Redis incorrectly handled certain specially crafted Lua scripts. An attacker could possibly use this issue to cause heap corruption and execute arbitrary code. SeungHyun Lee discovered that Redis incorrectly handled specially crafted commands. An attacker could possibly use this issue to trigger an integer overflow, which might cause Redis to allocate impossible amounts of memory, resulting in a denial of service via an application crash.
CVSS Scores
SSVC
- Decision:Track
Timeline
- 2023-02-03 CVE Reserved
- 2023-03-02 CVE Published
- 2025-03-07 CVE Updated
- 2025-04-15 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-190: Integer Overflow or Wraparound
CAPEC
References (7)
URL | Tag | Source |
---|---|---|
https://github.com/redis/redis/releases/tag/6.0.18 | Release Notes | |
https://github.com/redis/redis/releases/tag/6.2.11 | Release Notes | |
https://github.com/redis/redis/releases/tag/7.0.9 | Release Notes |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://github.com/redis/redis/commit/2a2a582e7cd99ba3b531336b8bd41df2b566e619 | 2023-03-10 |
URL | Date | SRC |
---|---|---|
https://github.com/redis/redis/security/advisories/GHSA-x2r7-j9vw-3w83 | 2023-03-10 | |
https://access.redhat.com/security/cve/CVE-2023-25155 | 2025-01-22 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2174306 | 2025-01-22 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Redis Search vendor "Redis" | Redis Search vendor "Redis" for product "Redis" | < 6.0.18 Search vendor "Redis" for product "Redis" and version " < 6.0.18" | - |
Affected
| ||||||
Redis Search vendor "Redis" | Redis Search vendor "Redis" for product "Redis" | >= 6.2.0 < 6.2.11 Search vendor "Redis" for product "Redis" and version " >= 6.2.0 < 6.2.11" | - |
Affected
| ||||||
Redis Search vendor "Redis" | Redis Search vendor "Redis" for product "Redis" | >= 7.0.0 < 7.0.9 Search vendor "Redis" for product "Redis" and version " >= 7.0.0 < 7.0.9" | - |
Affected
|