Description
It was discovered, that redis, a persistent key-value database, due to a packaging issue, is prone to a (Debian-specific) Lua sandbox escape, which could result in remote code execution.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Debian | redis | — | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | redis | 5:6.0.16-2 | — |
| Debian 13 | redis | 5:6.0.16-2 | — |
| Debian 12 | redis | 5:6.0.16-2 | — |
| Debian 11 | redis | 5:6.0.16-1+deb11u2 | DSA-5081-1 |
| Debian 10 | redis | 5:5.0.14-1+deb10u2 | DSA-5081-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | redis | 5:5.0.7-2ubuntu0.1 | USN-5316-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Metasploit 1 module
-
Redis Lua Sandbox Escape
exploit/linux/redis/redis_debian_sandbox_escape
GitHub 6 repositories
-
0x7eTeam/CVE-2022-0543 ★ 95 · Mar 16, 2022
CVE-2022-0543_RCE,Redis Lua沙盒绕过 命令执行
-
z92g/CVE-2022-0543 ★ 23 · Jul 6, 2022
Redis 沙盒逃逸(CVE-2022-0543)POC&EXP
-
SiennaSkies/redisHack ★ 3 · May 10, 2023
redis未授权、redis_CVE-2022-0543检测利用二合一脚本
-
fulxey/CVE-2022-0543 ★ 1 · Sep 5, 2022
Redis RCE through Lua Sandbox Escape vulnerability
-
CyberCTF/vulhub-redis-cve-2022-0543 ★ 0 · Oct 8, 2026
Vulhub redis/CVE-2022-0543: Redis Lua Sandbox Escape (CVE-2022-0543), run with Isoloom
-
netw0rk7/CVE-2022-0543-Home-Lab ★ 0 · Nov 18, 2025
CVE-2022-0543 - Redis RCE Vulnerability home lab for Red Teaming, Penetration Testing Training with just one DOCKER
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Redis Sandbox Escape - Remote Code Execution network/cves/2022/CVE-2022-0543.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Advisories 3
- DSA-5081-1 redis - security update Debian Security (DSA / DLA) · Mar 9, 2026
- USN-5316-1 redis vulnerability Ubuntu Security Notices (USN) · Feb 10, 2026
- SEVD-2023-346-02 ProLeiT Plant iT/Brewmaxx Schneider Electric CPCERT · Dec 12, 2023
References
- https://bugs.debian.org/1005787
- https://www.ubercomp.com/posts/2022-01-20_redis_on_debian_rce
- [debian-security-announce] 20220218 [SECURITY] [DSA 5081-1] redis security update mailing-list
- DSA-5081 vendor-advisory
- https://security.netapp.com/advisory/ntap-20220331-0004/
- http://packetstormsecurity.com/files/166885/Redis-Lua-Sandbox-Escape.html