{"id":"CVE-2022-0543","published":"2022-02-18T20:15:17Z","modified":"2026-06-17T04:20:48Z","title":"Debian-specific Redis Server Lua Sandbox Escape Vulnerability","vendor":"Redis","product":"Debian-specific Redis Servers","tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"NVD"},"summary":{"text":"A flaw in the Debian-specific builds of the Redis server, caused by a packaging issue, allows a Lua sandbox escape in the Lua scripting component of the persistent key-value database. An attacker with network access can exploit it without authentication or user interaction to achieve remote code execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-23T07:07:48Z"},"cvss":{"score":10.0,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"NVD"},"epss":{"score":0.99351,"percentile":0.99939,"date":"2026-10-31","provenance":"source"},"kev":{"dateAdded":"2022-03-28","dueDate":"2022-04-18","ransomware":false,"requiredAction":"Apply updates per vendor instructions.","notes":"https://nvd.nist.gov/vuln/detail/CVE-2022-0543","provenance":"source"},"vulncheckKev":{"dateAdded":"2022-03-24","exploitedFirstSeen":"2022-03-24","ransomware":false,"evidence":[{"url":"https://blogs.juniper.net/en-us/security/muhstik-gang-targets-redis-servers","date":"2022-03-24"},{"url":"https://www.cisa.gov/sites/default/files/feeds/known_exploited_vulnerabilities.json","date":"2022-03-28"},{"url":"https://blog.aquasec.com/redigo-redis-backdoor-malware","date":"2022-12-01"},{"url":"https://cybersecuritynews.com/hackers-drops-bakcdoor-malware-redigo-redis-server/","date":"2022-12-03"},{"url":"https://www.aquasec.com/blog/headcrab-attacks-servers-worldwide-with-novel-state-of-art-redis-malware/","date":"2023-02-01"},{"url":"https://www.trustwave.com/en-us/resources/blogs/spiderlabs-blog/honeypot-recon-enterprise-applications-honeypot-unveiling-findings-from-six-worldwide-locations/","date":"2023-07-05"},{"url":"https://unit42.paloaltonetworks.com/peer-to-peer-worm-p2pinfect/","date":"2023-07-19"},{"url":"https://www.cadosecurity.com/blog/redis-p2pinfect","date":"2023-07-31"},{"url":"https://www.cadosecurity.com/p2pinfect-new-variant-targets-mips-devices/","date":"2023-12-04"},{"url":"https://14518100.fs1.hubspotusercontent-na1.net/hubfs/14518100/H2%202023%20Cloud%20Threat%20Findings%20Report.pdf","date":"2024-02-28"}],"evidenceTotal":17,"provenance":"source"},"exploited":true,"otx":null,"cwes":[{"id":"CWE-862","name":"Missing Authorization"}],"references":[{"url":"http://packetstormsecurity.com/files/166885/Redis-Lua-Sandbox-Escape.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://bugs.debian.org/1005787","tags":["Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-security-announce/2022/msg00048.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20220331-0004/","tags":["Third Party Advisory"]},{"url":"https://www.debian.org/security/2022/dsa-5081","tags":["Mailing List","Third Party Advisory"]},{"url":"https://www.ubercomp.com/posts/2022-01-20_redis_on_debian_rce","tags":["Third Party Advisory"]},{"url":"http://packetstormsecurity.com/files/166885/Redis-Lua-Sandbox-Escape.html","tags":["Exploit","Third Party Advisory","VDB Entry"]},{"url":"https://bugs.debian.org/1005787","tags":["Issue Tracking","Patch","Third Party Advisory"]},{"url":"https://lists.debian.org/debian-security-announce/2022/msg00048.html","tags":["Mailing List","Third Party Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20220331-0004/","tags":["Third Party Advisory"]},{"url":"https://www.debian.org/security/2022/dsa-5081","tags":["Mailing List","Third Party Advisory"]},{"url":"https://www.ubercomp.com/posts/2022-01-20_redis_on_debian_rce","tags":["Third Party Advisory"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-0543","tags":["US Government Resource"]}],"techniques":[{"id":"T1190","name":"Exploit Public-Facing Application","tactics":["initial-access"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Remote exploitation of exposed database service","mappingType":"exploitation_technique","evidence":[{"from":"description","quote":"redis, a persistent key-value database, due to a packaging issue, is prone to a (Debian-specific) Lua sandbox escape","start":24,"end":140}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"},{"id":"T1059","name":"Command and Scripting Interpreter","tactics":["execution"],"provenance":"ai","basis":"ai-mapping","bases":["ai-mapping"],"basisDetail":"claude-haiku-5-5: Lua sandbox escape yields arbitrary code execution","mappingType":"primary_impact","evidence":[{"from":"description","quote":"could result in remote code execution","start":148,"end":185}],"model":"claude-haiku-5-5","confidence":"medium","confidenceNote":"AI-mapped from the description (quote-validated, not expert-reviewed)"}],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2022-15665","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-15665","exploited":true,"exploitedSince":"2022-03-28","provenance":"source"},"exploits":[],"exploitSources":{"pocGithub":{"count":6,"skipped":0,"earliest":"2022-03-16","earliestUrl":"https://github.com/0x7eTeam/CVE-2022-0543","repos":[{"name":"0x7eTeam/CVE-2022-0543","url":"https://github.com/0x7eTeam/CVE-2022-0543","stars":95,"created":"2022-03-16"},{"name":"z92g/CVE-2022-0543","url":"https://github.com/z92g/CVE-2022-0543","stars":23,"created":"2022-07-06"},{"name":"SiennaSkies/redisHack","url":"https://github.com/SiennaSkies/redisHack","stars":3,"created":"2023-05-10"},{"name":"fulxey/CVE-2022-0543","url":"https://github.com/fulxey/CVE-2022-0543","stars":2,"created":"2022-09-05"},{"name":"netw0rk7/CVE-2022-0543-Home-Lab","url":"https://github.com/netw0rk7/CVE-2022-0543-Home-Lab","stars":0,"created":"2025-11-18"}]},"metasploit":[{"name":"Redis Lua Sandbox Escape","module":"exploit/linux/redis/redis_debian_sandbox_escape","type":"exploit","disclosureDate":"2022-02-18","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/redis/redis_debian_sandbox_escape.rb"}],"nuclei":[{"id":"CVE-2022-0543","name":"Redis Sandbox Escape - Remote Code Execution","severity":"critical","path":"network/cves/2022/CVE-2022-0543.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/network/cves/2022/CVE-2022-0543.yaml"}],"first":{"date":"2022-02-18","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/redis/redis_debian_sandbox_escape.rb"},"provenance":"source"},"exploitRefs":["http://packetstormsecurity.com/files/166885/Redis-Lua-Sandbox-Escape.html"],"flow":[{"stage":"exploitation","techniques":["T1190"],"provenance":"ai"},{"stage":"primary","techniques":["T1059"],"provenance":"ai"}],"timeline":[{"date":"2022-02-18","kind":"published","label":"Published (NVD)","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-0543","provenance":"source"},{"date":"2022-02-18","kind":"exploit-public","label":"First public exploit: Metasploit; later: PoC-in-GitHub 2022-03-16","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/redis/redis_debian_sandbox_escape.rb","provenance":"source"},{"date":"2022-03-24","kind":"exploited-reported","label":"Exploitation first reported (VulnCheck KEV evidence)","url":"https://blogs.juniper.net/en-us/security/muhstik-gang-targets-redis-servers","provenance":"source"},{"date":"2022-03-28","kind":"kev","label":"Added to CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","provenance":"source"},{"date":"2022-03-28","kind":"euvd-exploited","label":"ENISA EUVD: exploited","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2022-15665","provenance":"source"}],"speed":{"daysToPublicExploit":0,"firstExploitFrom":"Metasploit","daysToKev":38},"priority":{"score":67.0,"factors":[{"name":"In a KEV catalog","points":35.0,"detail":"listed in CISA KEV and VulnCheck KEV"},{"name":"Recent KEV listing","points":0.0,"detail":"added 1683 days ago"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.99,"detail":"percentile 0.9994"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD reference tagged Exploit; 6 PoC-in-GitHub repos; 1 Metasploit module; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":7.0,"detail":"base score 10.0"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}