CVE-2025-21605

Name
CVE-2025-21605
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.
NVD Severity
medium
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
MISC https://github.com/redis/redis/releases/tag/7.4.3
CONFIRM https://github.com/redis/redis/security/advisories/GHSA-r67f-p999-2gff
af854a3a-2127-422b-91ae-364da2661108 https://lists.debian.org/debian-lts-announce/2025/05/msg00014.html
af854a3a-2127-422b-91ae-364da2661108 https://github.com/valkey-io/valkey/releases/tag/8.1.1

Match rules

CPE URI Source package Min version Max version
redis >= 2.6 < 7.4.3

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
redis 3.19-main 7.2.8-r0 TBK <alpine@jjtc.eu> fixed
redis 3.18-main 7.0.15-r3 TBK <alpine@jjtc.eu> fixed
valkey edge-main 7.2.9-r0 Jakub Jirutka <jakub@jirutka.cz> fixed
valkey 3.21-main 7.2.9-r0 Jakub Jirutka <jakub@jirutka.cz> fixed
valkey 3.20-main 7.2.9-r0 Jakub Jirutka <jakub@jirutka.cz> fixed
redict edge-community 7.3.3-r0 fossdd <fossdd@pwned.life> fixed
redis edge-community 8.0.0-r0 fossdd <fossdd@pwned.life> fixed
redict 3.21-community 7.3.3-r0 fossdd <fossdd@pwned.life> fixed
redis 3.21-community 7.2.8-r0 fossdd <fossdd@pwned.life> fixed