Integer Overflow or Wraparound Affecting redis:6/redis-devel package, versions <0:6.2.17-1.module_el8.10.0+3946+3de613d5


Severity

Recommended
high

Based on AlmaLinux security rating.

Threat Intelligence

EPSS
0.05% (17th 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-ALMALINUX8-REDIS-8660764
  • published24 Jan 2025
  • disclosed22 Jan 2025

Introduced: 22 Jan 2025

NewCVE-2022-35977  (opens in a new tab)
CWE-190  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 redis:6/redis-devel to version 0:6.2.17-1.module_el8.10.0+3946+3de613d5 or higher.
This issue was patched in ALSA-2025:0595.

NVD Description

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

Redis is an in-memory database that persists on disk. Authenticated users issuing specially crafted SETRANGE and SORT(_RO) commands can trigger an integer overflow, resulting with Redis attempting to allocate impossible amounts of memory and abort with an out-of-memory (OOM) panic. The problem is fixed in Redis versions 7.0.8, 6.2.9 and 6.0.17. Users are advised to upgrade. There are no known workarounds for this vulnerability.

CVSS Scores

version 3.1