CVE-2022-0543: Debian-specific Redis Server Lua Sandbox Escape
Redis Debian-specific Redis Servers · listed in the CISA catalog of actively exploited vulnerabilities since 2022-03-28.
- CVSS v3.1 (CVE record)
- 10.0
- critical
- EPSS (exploit probability, 30 days)
- 99.3%
- among the highest 0.1% of all CVEs
- Added to CISA KEV
- 2022-03-28
- US federal due date 2022-04-18
- Ubuntu priority
- medium
CVE-2022-0543 explained
CVE-2022-0543 is a Debian-specific Lua sandbox escape in redis, the persistent key-value database. It stems from a packaging issue and could result in remote code execution. It is listed in the CISA Known Exploited Vulnerabilities catalog, so affected servers should be patched without delay.
Impact
According to the CVSS vector, the flaw can be exploited over the network with low complexity. No privileges and no user interaction are required. The scope is changed, so the impact can reach beyond the vulnerable component. A successful attack can lead to remote code execution, with high impact on confidentiality, integrity and availability. CISA lists the vulnerability as known to be exploited. Whether it has been used in ransomware campaigns is unknown.
Who is affected
The facts list one affected Ubuntu release. On Ubuntu 20.04 LTS, the source package redis is fixed in version 5:5.0.7-2ubuntu0.1, published in the standard archive. Standard support for Ubuntu 20.04 LTS has ended, and further fixes for that release are only available with Ubuntu Pro (ESM). The facts do not list any Debian releases or other Ubuntu releases.
Written with AI from the data on this page and checked against it automatically.
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.
CISA required action: Apply updates per vendor instructions.
CISA notes
Upstream versions (CVE record)
From the CVE record published by the vendor or CVE numbering authority.
- Debian redisAffected–Fixed innot stated
Affected versions are not specified in the CVE record.
| Product | Affected | Fixed in |
|---|---|---|
| Debian redisAffected versions are not specified in the CVE record. | – | not stated |
Ubuntu and Debian releases
A server is vulnerable if it has a package built from the listed source package installed in a version lower than the fixed version for its release.
Ubuntu 20.04 LTS·redis
Fixed: 5:5.0.7-2ubuntu0.1
What to do
- Identify all Ubuntu 20.04 LTS systems with the
redispackage installed. - Update
redisto version5:5.0.7-2ubuntu0.1or later from the standard archive. - Restart the Redis server so it runs the patched code.
- Limit network access to Redis to trusted hosts only.
- Plan a move to Ubuntu Pro (ESM) or a supported release, because standard support for Ubuntu 20.04 LTS has ended.
Written with AI from the data on this page and checked against it automatically.
Check and fix on a server
Run on each Ubuntu or Debian server. Replace redis with the source package from the table above.
1. Show installed packages built from the source package, with their versions
dpkg-query -W -f='${binary:Package} ${Version} ${source:Package}\n' | awk '$3=="redis"'2. Compare each installed version with the fixed version for your release from the table
I=INSTALLED_VERSION; F=FIXED_VERSION # replace both
dpkg --compare-versions "$I" lt "$F"; case $? in 0) echo vulnerable ;; 1) echo "fixed or newer" ;; *) echo "check the versions" ;; esac3. Install the fix
sudo apt update && sudo apt install --only-upgrade $(dpkg-query -W -f='${binary:Package} ${source:Package}\n' | awk '$2=="redis"{print $1}')Services keep running the old code until they are restarted – restart the affected service or check with needrestart.
CISA's assessment (SSVC)
- Exploitation
- Exploited in the wild
- Automatable
- Yes – attackers can automate it at scale
- Technical impact
- Total – full control of the component or total information disclosure
Weakness: CWE-862 Missing Authorization
Questions about CVE-2022-0543
- Is this a bug in upstream Redis?
- No. The description calls it a Debian-specific issue caused by packaging. It affects
redisas packaged by the distribution, which allows a Lua sandbox escape that could result in remote code execution. - Is this vulnerability exploited in practice?
- Yes. CISA added it to its Known Exploited Vulnerabilities catalog on 2022-03-28. The required action is to apply updates per vendor instructions. Whether it has been used by ransomware is unknown.
- Do I need Ubuntu Pro to get this fix on Ubuntu 20.04 LTS?
- No. The fixed version
5:5.0.7-2ubuntu0.1is in the standard archive. Standard support for Ubuntu 20.04 LTS has ended, however, so future fixes for that release require Ubuntu Pro (ESM).
Written with AI from the data on this page and checked against it automatically.
References
Other advisories
Trackers and catalogs
Data: CISA Known Exploited Vulnerabilities (public domain) · CVE Program records incl. CISA ADP enrichment · OSV.dev (CC BY 4.0) incl. Ubuntu and Debian security data · FIRST EPSS · endoflife.date. Updated automatically – facts last changed 2026-11-21. Always confirm with the vendor's or distribution's advisory before patching.