Known exploited
CVE-2022-30333 on Debian 13: affected packages and fixed versions
2 packages on Debian 13 are 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.20~b1-0.1 |
Not rated | none listed |
unrar-nonfree |
1:6.1.7-1 |
Not rated | none listed |
Check a host
Show the installed versions and compare with the table above:
dpkg-query -W -f='${Package} ${Version}\n' rar unrar-nonfree
Update to the fixed build:
sudo apt-get update && sudo apt-get install --only-upgrade rar unrar-nonfree
The fixed version may look older than the upstream release that fixed the bug. Debian 13 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.