Uncontrolled Recursion Affecting redis:6/redis 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.04% (12th 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-8660780
  • published24 Jan 2025
  • disclosed27 Jan 2025

Introduced: 24 Jan 2025

NewCVE-2024-31228  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:8 redis:6/redis 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 package and not the redis:6/redis package as distributed by AlmaLinux. See How to fix? for AlmaLinux:8 relevant fixed versions and status.

Redis is an open source, in-memory database that persists on disk. Authenticated users can trigger a denial-of-service by using specially crafted, long string match patterns on supported commands such as KEYS, SCAN, PSUBSCRIBE, FUNCTION LIST, COMMAND LIST and ACL definitions. Matching of extremely long patterns may result in unbounded recursion, leading to stack overflow and process crash. This problem has been fixed in Redis versions 6.2.16, 7.2.6, and 7.4.1. Users are advised to upgrade. There are no known workarounds for this vulnerability.

CVSS Scores

version 3.1