Integer Overflow or Wraparound Affecting redis:6/redis-doc package, versions <0:6.2.17-1.module+el8.10.0+22680+748527fd


Severity

Recommended
high

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

EPSS
0.19% (58th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RHEL8-REDIS-4569226
  • published1 Mar 2023
  • disclosed28 Feb 2023

Introduced: 28 Feb 2023

CVE-2023-25155  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade RHEL:8 redis:6/redis-doc to version 0:6.2.17-1.module+el8.10.0+22680+748527fd or higher.
This issue was patched in RHSA-2025:0595.

NVD Description

Note: Versions mentioned in the description apply only to the upstream redis:6/redis-doc package and not the redis:6/redis-doc package as distributed by RHEL. See How to fix? for RHEL:8 relevant fixed versions and status.

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.

CVSS Scores

version 3.1