Known exploited
CVE-2022-30333 on Ubuntu 24.04 LTS: affected packages and fixed versions
1 package on Ubuntu 24.04 LTS is affected by CVE-2022-30333 (RARLAB UnRAR Directory Traversal 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 August 9, 2022, with a remediation date of August 30, 2022 for US federal agencies. It has been used in ransomware campaigns.
Affected packages
| Package | Fixed in | Severity | Advisory |
|---|---|---|---|
rar |
2:6.23-1 |
High | none listed |
Check a host
Show the installed version and compare with the table above:
dpkg-query -W -f='${Package} ${Version}\n' rar
Update to the fixed build:
sudo apt-get update && sudo apt-get install --only-upgrade rar
The fixed version may look older than the upstream release that fixed the bug. Ubuntu 24.04 LTS carries the fix in the version it already ships.
What it is
RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) operation, as demonstrated by creating a ~/.ssh/authorized_keys file. NOTE: WinRAR and Android RAR are unaffected.
CVE-2022-30333 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.