Skip to content

Known exploited

CVE-2022-30333 on Ubuntu 22.04 LTS: affected packages and fixed versions

6 packages on Ubuntu 22.04 LTS 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

PackageFixed inSeverityAdvisory
libclamunrar 0.103.11-0ubuntu0.22.04.1 High USN-6569-1
libclamunrar9 0.103.11-0ubuntu0.22.04.1 High USN-6569-1
libunrar-headers 1:6.1.5-1ubuntu0.1 High none listed
libunrar5 1:6.1.5-1ubuntu0.1 High none listed
rar 2:6.23-1~22.04.1 High none listed
unrar 1:6.1.5-1ubuntu0.1 High none listed

Check a host

Show the installed versions and compare with the table above:

dpkg-query -W -f='${Package} ${Version}\n' libclamunrar libclamunrar9 libunrar-headers libunrar5

Update to the fixed build:

sudo apt-get update && sudo apt-get install --only-upgrade libclamunrar libclamunrar9 libunrar-headers libunrar5

The fixed version may look older than the upstream release that fixed the bug. Ubuntu 22.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.

Get started free Check one server now, no signup