Allocation of Resources Without Limits or Throttling Affecting redis:7/redis-doc package, versions <0:7.2.8-1.module_el9.6.0+168+b8d8e900


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 Learn

Learn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-ALMALINUX9-REDIS-10188585
  • published21 May 2025
  • disclosed13 May 2025

Introduced: 13 May 2025

NewCVE-2025-21605  (opens in a new tab)
CWE-770  (opens in a new tab)

How to fix?

Upgrade AlmaLinux:9 redis:7/redis-doc to version 0:7.2.8-1.module_el9.6.0+168+b8d8e900 or higher.
This issue was patched in ALSA-2025:7429.

NVD Description

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

Redis is an open source, in-memory database that persists on disk. In versions starting at 2.6 and prior to 7.4.3, An unauthenticated client can cause unlimited growth of output buffers, until the server runs out of memory or is killed. By default, the Redis configuration does not limit the output buffer of normal clients (see client-output-buffer-limit). Therefore, the output buffer can grow unlimitedly over time. As a result, the service is exhausted and the memory is unavailable. When password authentication is enabled on the Redis server, but no password is provided, the client can still cause the output buffer to grow from "NOAUTH" responses until the system will run out of memory. This issue has been patched in version 7.4.3. An additional workaround to mitigate this problem without patching the redis-server executable is to block access to prevent unauthenticated users from connecting to Redis. This can be done in different ways. Either using network access control tools like firewalls, iptables, security groups, etc, or enabling TLS and requiring users to authenticate using client side certificates.

CVSS Base Scores

version 3.1