S4E just found a medium log file scanner
critical·Product Based Web Vulnerabilities·Updated Jan 3, 2024

CVE-2022-0543 Scanner

Targets the Lua scripting engine in Debian-packaged Redis, allowing an attacker to escape the sandbox and execute arbitrary system commands.

Est. Time~10 seconds
Scan TypeSingle Scan
Targetsdomain, ipv4, subdomain
CostFree
2.3k
Times Used
continuous scan runs
3.4k
Continuously Checked
assets under CS
0
Vulnerabilities Found
confirmed findings
References
🔴
CISA Known Exploited Vulnerability
This CVE is actively exploited in the wild. CISA mandates federal agencies to patch immediately.
CVECVE-2022-0543
10.0
CVSScritical
Exploitable remotely over the internet · no authentication required.

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.

Attack Vector
Network
Privileges Req.
None
User Interaction
None
Affected
redisby Debian
n/a
Updated Aug 22, 2026View on NVD →
Detail

Redis is a high-performance, in-memory key-value store widely used for caching, session management, real-time analytics, and message brokering. It is deployed by enterprises and developers to achieve low-latency data access and high throughput. Redis supports advanced data structures like lists, sets, and sorted sets, making it versatile for various applications.

CVE-2022-0543 is a critical vulnerability specific to Debian and Debian-based distributions of Redis. It arises from a packaging flaw where the Lua sandbox, intended to restrict script execution, is improperly configured. This allows an attacker to break out of the sandbox and execute arbitrary code on the host system.

The vulnerability is triggered through the EVAL or EVALSHA commands, which execute Lua scripts. Due to a missing package dependency, the Lua environment includes functions that can be abused to call system commands. Specifically, the 'lua-open' module is inadvertently exposed, enabling functions like 'os.execute' to run.

Exploitation of CVE-2022-0543 can lead to full remote code execution with the privileges of the Redis process. An attacker can compromise the entire system, steal sensitive data, install malware, or disrupt services. Given the CVSS score of 10.0, this vulnerability poses a severe risk to affected deployments.

Solution Advice
  • Upgrade Redis to version 5.0.14-2+deb11u1, 6.0.16-1+deb11u1, or 6.2.6-1+deb11u1 for Debian 11, or apply the latest patch for your distribution.
  • If immediate upgrade is not possible, apply the official Debian security patch (DSA-5081-1) to mitigate the vulnerability.
  • Restrict network access to Redis instances using firewalls or security groups, allowing only trusted IP addresses.
  • Disable the EVAL and EVALSHA commands if not required, by renaming them in the Redis configuration file.
  • Run Redis with minimal privileges using a dedicated non-root user to limit the impact of a compromise.
  • Enable Redis authentication with a strong password to prevent unauthorized access to the Lua scripting interface.
  • Monitor Redis logs for unusual script execution patterns or unexpected system commands.
  • Use containerization or sandboxing technologies to isolate Redis processes from the host system.

Get AI-powered remediation steps tailored to your asset.

Try AI Solutions →

Check your infrastructure.
Right now.

11,000+ scanners. Free to start. No credit card required.