Skip to content
OpenAdvisories
Medium · 5.5 CVE-2023-25155 EUVD-2023-29130

Integer Overflow in several Redis commands can lead to denial of service.

Published Mar 2, 2023 · Updated Mar 7, 2025 · Assigned by GitHub_M

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 products

VendorProductAffectedFixed
redis redis < 6.0.18, >= 7.0.0, < 7.0.9, >= 6.2.0, < 6.2.11 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 redis 5:7.0.9-1 —
Debian 13 redis 5:7.0.9-1 —
Debian 12 redis 5:7.0.9-1 —
Debian 11 redis 5:6.0.16-1+deb11u3 DLA-3885-1
ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS redis 5:6.0.16-1ubuntu1+esm1 USN-6531-1
Ubuntu Pro 20.04 LTS redis 5:5.0.7-2ubuntu0.1+esm2 USN-6531-1
Ubuntu Pro 18.04 LTS redis 5:4.0.9-1ubuntu0.2+esm4 USN-6531-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS redis 2:3.0.6-1ubuntu0.4+esm2 USN-6531-1
Ubuntu Pro 14.04 LTS redis 2:2.8.4-2ubuntu0.2+esm3 USN-6531-1
ReleasePackageFixed inAdvisory
RHEL 8 redis +2 6.2.17-1.module+el8.10.0+22680+748527fd RHSA-2025:0595

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 redis +2 6.2.17-1.module_el8.10.0+3946+3de613d5 ALSA-2025:0595

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 redis 6.2.17-1.module+el8.10.0+1923+5b85c6a7 RLSA-2025:0595
ReleasePackageFixed inAdvisory
SLES 15 SP5 redis7 7.0.8-150500.3.3.1 SUSE-SU-2023:2925-1
SLES 15 SP4 redis 6.2.6-150400.3.16.1 SUSE-SU-2023:2122-1, SUSE-SU-2023:0694-1
SLES 15 SP3 redis 6.0.14-150200.6.20.1 SUSE-SU-2023:0693-1
SLES 15 SP2 redis 6.0.14-150200.6.20.1 SUSE-SU-2023:0693-1
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP3 redis 6.0.14-150200.6.20.1 SUSE-SU-2023:0693-1
SLES for SAP 15 SP2 redis 6.0.14-150200.6.20.1 SUSE-SU-2023:0693-1
SLE Real Time 15 SP3 redis 6.0.14-150200.6.20.1 SUSE-SU-2023:0693-1
SLE HPC 15 SP3 redis 6.0.14-150200.6.20.1 SUSE-SU-2023:0693-1
SLE HPC 15 SP2 redis 6.0.14-150200.6.20.1 SUSE-SU-2023:0693-1
SUSE Manager Server 4.2 redis 6.0.14-150200.6.20.1 SUSE-SU-2023:0693-1
SUSE Manager Proxy 4.2 redis 6.0.14-150200.6.20.1 SUSE-SU-2023:0693-1
SUSE Enterprise Storage 7.1 redis 6.0.14-150200.6.20.1 SUSE-SU-2023:0693-1
SUSE Enterprise Storage 7 redis 6.0.14-150200.6.20.1 SUSE-SU-2023:0693-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed redis 7.0.8-2.1 openSUSE-SU-2024:12743-1
openSUSE Leap 15.5 redis7 7.0.8-150500.3.3.1 SUSE-SU-2023:2925-1
openSUSE Leap 15.4 redis 6.2.6-150400.3.16.1 SUSE-SU-2023:2122-1, SUSE-SU-2023:0694-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 redis6 +2 6.2.11-1.amzn2023.0.1 ALAS2023-2023-154

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) redis 6.2.11-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 redis +2 6.2.17-1.0.1.module+el8.10.0+90491+f9002f77 ELSA-2025-0595

Advisories 15

References