CVE-2023-22458 json
Integer overflow in multiple Redis commands can lead to denial-of-service
published 2023-01-20 3 y ago modified 2026-09-08 2 mo ago also BIT-keydb-2023-22458 , BIT-redis-2023-22458 , BIT-valkey-2023-22458 , EUVD-2023-26619 , GHSA-r8w2-2m53-gprj
- cvss
- 5.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 72.0%
- EPSS 72.0% chance of exploitation in 30 days, percentile 99.4%
- public exploits
- 0
- none known
Summary
Redis is an in-memory database that persists on disk. Authenticated users can issue a `HRANDFIELD` or `ZRANDMEMBER` command with specially crafted arguments to trigger a denial-of-service by crashing Redis with an assertion failure. This problem affects Redis versions 6.2 or newer up to but not including 6.2.9 as well as versions 7.0 up to but not including 7.0.8. Users are advised to upgrade. There are no known workarounds for this vulnerability.
Patch / fix
- bitnami keydb 6.2.9, 7.0.8
- bitnami redis 6.2.9, 7.0.8
- bitnami valkey 6.2.9, 7.0.8
- redis redis 6.2.9, 7.0.8
- redis Debian 14, Debian 13, Debian 12 5:7.0.8-1
debian advisories DEBIAN-CVE-2023-22458
- redis RHEL 8 6.2.17-1.module+el8.10.0+22680+748527fd
red hat advisories RHSA-2025:0595
- redis SLE Module for Server Applications 15 SP4, openSUSE Leap 15.4 6.2.6-150400.3.11.1
suse advisories SUSE-SU-2023:0295-1
- redis openSUSE Tumbleweed 7.0.8-1.1
opensuse advisories openSUSE-SU-2024:12619-1
- redis AlmaLinux 8 6.2.17-1.module_el8.10.0+3946+3de613d5
almalinux advisories ALSA-2025:0595
- redis Rocky Linux 8 6.2.17-1.module+el8.10.0+1923+5b85c6a7
rocky linux advisories RLSA-2025:0595
- redis Alpine 3.15, Alpine 3.14 6.2.9-r0
- redis Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 7.0.8-r0
alpine advisories ALPINE-CVE-2023-22458
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2023-22458 updated cvss 5.5
redis: Integer overflow in the Redis HRANDFIELD and ZRANDMEMBER commands may lead to denial-of-service
-
Red Hat Enterprise Linux 8 redisaffected: no fix planned “Will not fix”
-
Red Hat OpenStack Platform 13 (Queens) redisaffected: no fix planned “Out of support scope”
-
Red Hat Quay 3 quay/quay-rhel8affected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux AppStream (v. 8) redis 6.2.17-1.module+el8.10.0+22680+748527fdfixed: vendor fix RHSA-2025:0595
-
Red Hat 3scale API Management Platform 2 3scale-amp2/backend-rhel8 Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/search-api-rhel8 Red Hat Ansible Automation Platform 1.2 ansible-tower Red Hat Enterprise Linux 9 redis Red Hat Fuse 7 redis Red Hat Satellite 6 rubygem-gitlab-sidekiq-fetcher, tfm-rubygem-gitlab-sidekiq-fetchernot affected: vulnerable code not present
+1 more productsfewer
Red Hat Software Collections rh-redis6-redis
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
71.98% chance of exploitation in the next 30 days, higher than 99.4% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 5.5 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | keydb | >=6.2.0, <6.2.9 >=7.0.0, <7.0.8 |
6.2.9 7.0.8 |
| bitnami | redis | >=6.2.0, <6.2.9 >=7.0.0, <7.0.8 |
6.2.9 7.0.8 |
| bitnami | valkey | >=6.2.0, <6.2.9 >=7.0.0, <7.0.8 |
6.2.9 7.0.8 |
Affected products
- redis redis
Classification
- Weakness
-
- CWE-190 Integer Overflow or Wraparound
- Technology feeds
References
-
github.com
/redis/redis/commit/16f408b1a0121cacd44cbf8aee275d69dc627f02
patch, third-party-advisory, advisory, web
-
github.com
/redis/redis/security/advisories/GHSA-r8w2-2m53-gprj
third-party-advisory, advisory, web
-
github.com
/redis/redis/releases/tag/6.2.9
release-notes, third-party-advisory, advisory, web
-
github.com
/redis/redis/releases/tag/7.0.8
release-notes, third-party-advisory, advisory, web
-
nvd.nist.gov
/vuln/detail/CVE-2023-22458
web
Sources
- CVE List CVE-2023-22458
- NVD CVE-2023-22458
- OSV BIT-keydb-2023-22458
- OSV BIT-redis-2023-22458
- OSV BIT-valkey-2023-22458
- Maintainer advisory GHSA-r8w2-2m53-gprj
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of redis/redis published their own advisory on GitHub. Reviewed sources take precedence over it.