Skip to content

Known exploited

CVE-2022-30333 on Debian 11: affected packages and fixed versions

2 packages on Debian 11 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
rar 2:6.20-0.1~deb11u1 Not rated none listed
unrar-nonfree 1:6.0.3-1+deb11u1 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 11 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