cve.bz

CVE-2022-0543 Debian-specific Redis Server Lua Sandbox Escape Vulnerability

10.0 criticalKEVExploitEPSS 99.3%Fix available

Critical (10.0) in Redis Debian-specific Redis Servers. In CISA KEV since 2022-03-28. EPSS 99.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

10.0 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
EPSS
99.3% (unchanged from 99.3% a week ago; 99.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2022-03-28, due 2022-04-18
CISA's assessment (SSVC)
Exploitation: active · Automatable: yes · Technical impact: total, assessed 2025-01-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-862 Missing Authorization
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-0543 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-0543?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-0543?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-0543 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10redis5:5.0.14-1+deb10u2DSA-5081-1
Debian11redis5:6.0.16-1+deb11u2DSA-5081-1
Debian12, 13, 14redis5:6.0.16-2DEBIAN-CVE-2022-0543
Ubuntu20.04:LTSredis5:5.0.7-2ubuntu0.1UBUNTU-CVE-2022-0543 USN-5316-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Public exploits

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

  • CyberCTF/vulhub-redis-cve-2022-0543 0 stars, Dockerfile, created
    Vulhub redis/CVE-2022-0543: Redis Lua Sandbox Escape (CVE-2022-0543), run with Isoloom
  • netw0rk7/CVE-2022-0543-Home-Lab 0 stars, Dockerfile, created
    CVE-2022-0543 - Redis RCE Vulnerability home lab for Red Teaming, Penetration Testing Training with just one DOCKER

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Nuclei template Redis Sandbox Escape - Remote Code Execution
  • Emerging Threats Open ET EXPLOIT Redis RCE Attempt (CVE-2022-0543) M2 sid 2067133
  • Emerging Threats Open ET EXPLOIT Redis RCE Attempt (CVE-2022-0543) M1 sid 2035718
  • Emerging Threats Open ET EXPLOIT Redis RCE Attempt (CVE-2022-0543) M2 sid 2035719
  • Emerging Threats Open ET EXPLOIT Possible Redis RCE Attempt - Dynamic Importing of liblua (CVE-2022-0543) sid 2035720

Attack patterns (CAPEC)

  • CAPEC-665 Exploitation of Thunderbolt Protection Flaws Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON