CVE-2023-25155
Integer Overflow in several Redis commands can lead to denial of service.
Reported by github_m · Published March 2, 2023
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| redis6 | Amazon Linux | 6.2.11-1.amzn2023.0.1 |
| harbor-redis | DHI | 7.0.9, 6.2.11, 6.0.18 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| redis | redis | < 6.0.18, >= 7.0.0, < 7.0.9, >= 6.2.0, < 6.2.11 |
| amazon:2023 | redis6 | 0 |
| redis | redis | 0, 7.0.0, 6.2.0 |
| amazon:2023 | redis6-doc | 0 |
| amazon:2023 | redis6-devel | 0 |
Timeline
- Feb 28, 2023 CVE Published
- Mar 2, 2023 EPSS Score (30 in total, the first dated here)
- Feb 20, 2026 Security Advisory (4 in total, the first dated here)
- Feb 20, 2026 CVE Updated
- Mar 27, 2026 Distribution Patch (2 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-25155
vulnetix vdb fixes CVE-2023-25155
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-25155/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/redis/redis/security/advisories/GHSA-x2r7-j9vw-3w83 x_refsource_CONFIRM
- https://github.com/redis/redis/commit/2a2a582e7cd99ba3b531336b8bd41df2b566e619 x_refsource_MISC
- https://github.com/redis/redis/releases/tag/6.0.18 x_refsource_MISC
- https://github.com/redis/redis/releases/tag/6.2.11 x_refsource_MISC
- https://github.com/redis/redis/releases/tag/7.0.9 x_refsource_MISC