CVE-2025-21605
Redis DoS Vulnerability due to unlimited growth of output buffers abused by unauthenticated client
描述
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.
如何修補 CVE-2025-21605
要修補 CVE-2025-21605,請將受影響套件升級到下列已修補版本。
- —升級至 6.2.18-r0 或更新版本
- —升級至 7.2.9-r0 或更新版本
CVE-2025-21605 正在被利用嗎?
低 — EPSS 為 0.8%,目前沒有觀察到大規模利用活動。
受影響套件(2)
- >= 2.6.0, < 6.2.18-r0
- >= 7.2.4, < 7.2.9-r0