是什么
Redis、Memcached 等内存存储。
为何有风险
它们默认通常不需要认证 —— 一旦暴露,攻击者就能读写会话与键(甚至远程执行代码)或清空数据。
应对措施
绑定到 127.0.0.1 或私有网络,设置 requirepass・ACL,并在防火墙上只放行内部主机。
您的服务器是否在监听?
Linux
ss -ltnp 'sport = :6379'Redis 的已知漏洞
| CVE | 标题 | CVSS | 被利用 | EPSS | 发布日期 |
|---|---|---|---|---|---|
| CVE-2022-0543 | It was discovered, that redis, a persistent key-value database, due to a packaging issue, is prone to a (Debia... | 10.0 | KEV | 99.4% | 2022-02-19 |
| CVE-2025-49844 | Redis Lua Use-After-Free may lead to remote code execution | 10.0 | — | 2025-10-04 | |
| CVE-2023-41056 | Redis vulnerable to integer overflow in certain payloads | 8.1 | — | 2024-01-11 | |
| CVE-2025-62507 | Redis: Bug in XACKDEL may lead to stack overflow and potential RCE | 7.7 | — | 2025-11-05 | |
| CVE-2026-23479 | redis-server use-after-free in unblock client flow may allow remote code execution | 7.7 | — | 2026-05-06 | |
| CVE-2026-25243 | redis-server RESTORE invalid memory access may allow remote code execution | 7.7 | — | 2026-05-06 | |
| CVE-2021-32626 | Lua scripts can overflow the heap-based Lua stack in Redis | 7.5 | — | 2021-10-05 |