Known exploited
CVE-2022-0543 on Ubuntu 20.04 LTS: affected packages and fixed versions
4 packages on Ubuntu 20.04 LTS are affected by CVE-2022-0543 (Debian-specific Redis Server Lua Sandbox Escape Vulnerability). A host is fixed once the package is at the version below or newer.
This vulnerability is known to be exploited. CISA added it to its catalog on March 28, 2022, with a remediation date of April 18, 2022 for US federal agencies.
Affected packages
| Package | Fixed in | Severity | Advisory |
|---|---|---|---|
redis |
5:5.0.7-2ubuntu0.1 |
Medium | none listed |
redis-sentinel |
5:5.0.7-2ubuntu0.1 |
Medium | none listed |
redis-server |
5:5.0.7-2ubuntu0.1 |
Medium | none listed |
redis-tools |
5:5.0.7-2ubuntu0.1 |
Medium | none listed |
Check a host
Show the installed versions and compare with the table above:
dpkg-query -W -f='${Package} ${Version}\n' redis redis-sentinel redis-server redis-tools
Update to the fixed build:
sudo apt-get update && sudo apt-get install --only-upgrade redis redis-sentinel redis-server redis-tools
The fixed version may look older than the upstream release that fixed the bug. Ubuntu 20.04 LTS carries the fix in the version it already ships.
What it is
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.
CVE-2022-0543 on other releases
Know which of your hosts are affected
SysWard's agent reports the packages installed on each server and matches them against each distribution's own security data, so you see which hosts still have a vulnerable build, and can patch them from the same screen. Free for five servers.