CVE-2022-0543 Debian-specific Redis Server Lua Sandbox Escape
A Debian-specific packaging issue in Redis allows attackers to escape the Lua sandbox and execute arbitrary code remotely.
- Exploited in the wild
- Since 28 Mar 2022
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2022-0543?
CVE-2022-0543 is a critical code injection vulnerability in Debian redis, published on 18 Feb 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-862
Which versions are affected by CVE-2022-0543?
1 open source package ship an affected version, including redis. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
redis Bitnami | All versions | None |
Products include Redis Redis.
How do I fix CVE-2022-0543?
Apply the vendor's patch. US federal agencies must fix it by 18 Apr 2022.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2022-0543 being exploited?
Yes. Attackers have exploited CVE-2022-0543 in the wild since at least 28 Mar 2022.
Public exploit code: 1 Metasploit module, 1 Nuclei template and 6 proofs of concept on GitHub.
Other vulnerabilities in Debian redis
- CVE-2026-23479 redis-server use-after-free in unblock client flow may allow remote code execution
- CVE-2026-25243 redis-server RESTORE invalid memory access may allow remote code execution
- CVE-2025-62507 Redis: Bug in XACKDEL may lead to stack overflow and potential RCE
- CVE-2025-48367 Redis DoS Vulnerability due to bad connection error handling
- CVE-2023-31655 Denial of service in n/a
Sources
Also known as BIT-redis-2022-0543, DEBIAN-CVE-2022-0543, DSA-5081-1, GHSA-9wpj-h5jq-88p9, MINI-2548-6x3j-m4rj, MINI-3358-fff2-24q5 and 9 more.