CVE-2025-21605
redis - security update
Description
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.
How to fix CVE-2025-21605
To remediate CVE-2025-21605, upgrade the affected package to a fixed version below.
- —upgrade to 6.2.18-r0 or later
- —upgrade to 7.2.9-r0 or later
- —upgrade to 6.2.18 or later
- —upgrade to 6.2.18 or later
- —upgrade to 7.2.9 or later
- —upgrade to 7.3.5+ds-1 or later
- —upgrade to 5:6.0.16-1+deb11u6 or later
- —upgrade to 5:6.0.16-1+deb11u6 or later
- —upgrade to 8.1.1+dfsg1-1 or later
Is CVE-2025-21605 being exploited?
Low — EPSS is 0.5%, meaning exploitation activity has not been observed at scale.
Affected packages (9)
- from 0, < 6.2.18-r0
- from 0, < 7.2.9-r0
- >= 2.6.0, < 6.2.18, >= 7.0.0, < 7.2.8, >= 7.3.0, < 7.4.3
- >= 2.6.0, < 6.2.18, >= 7.0.0, < 7.2.8, >= 7.3.0, < 6.2.18, >= 7.2.0, < 7.2.8, >= 7.4.0, < 7.4.3
- from 0, < 7.2.9, >= 8.0.0, < 8.0.3, >= 8.1.0, < 8.1.1
- from 0, < 7.3.5+ds-1
- from 0, < 5:6.0.16-1+deb11u6
- from 0, < 5:6.0.16-1+deb11u6
- from 0, < 8.1.1+dfsg1-1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |