RARLAB · UnRAR · CWE-22 · CWE-59 · published 2022-05-09
CVE-2022-30333RARLAB UnRAR Directory Traversal Vulnerability
Patch today Known exploited and used in ransomware campaigns.
CVE-2022-30333 is actively exploited in the wild: CISA added it to the Known Exploited Vulnerabilities catalog on 2022-08-09, and it is known to be used in ransomware campaigns. EPSS estimates a 99.2% chance of exploitation in the next 30 days, higher than 99% of all CVEs. This UnRAR vulnerability: CVSS 9.8 (v3.1), attacks can be automated, a successful attack gives total control of the component. Patched packages are out for Debian and Ubuntu; Ubuntu still has unfixed releases. US federal agencies must remediate by 2022-08-30. Patch today.
Jump to: Remediation Exploit intelAffected versionsDescription
Remediation#
CISA required action: Apply updates per vendor instructions. (federal due date 2022-08-30)
Linux distribution packages
If you run the distro’s package rather than an upstream build, this is the version to look for.
| Distro | Release | Package | Status |
|---|---|---|---|
| Debian | 13 trixie | rar | Fixed in 2:6.20~b1-0.1 |
| 13 trixie | unrar-nonfree | Fixed in 1:6.1.7-1 | |
| 12 bookworm | rar | Fixed in 2:6.20~b1-0.1 | |
| 12 bookworm | unrar-nonfree | Fixed in 1:6.1.7-1 | |
| Ubuntu (+5 more packages) | 24.04 LTS | rar | Fixed in 2:6.23-1 |
| 22.04 LTS | rar | Fixed in 2:6.23-1~22.04.1 | |
| 22.04 LTS | unrar-nonfree | Fixed in 1:6.1.5-1ubuntu0.1 | |
| 20.04 LTS | rar | Fixed in 2:6.23-1~20.04.1 | |
| 20.04 LTS | unrar-nonfree | Fixed in 1:5.6.6-2ubuntu0.1 | |
| 18.04 LTS | rar | No fix yet | |
| 18.04 LTS | unrar-nonfree | No fix yet | |
| 16.04 LTS | rar | No fix yet |
From the Debian Security Tracker, Ubuntu security notices (CC BY-SA 4.0) and Red Hat Security Data (CC BY 4.0). Check the distro link before acting.
Patch events
Library & CLI toolRARLAB UnRAR
Directory TraversalCVE-2022-30333
Why: Known exploited and used in ransomware campaigns.
Exploit intelligence#
| Signal | Value | Source |
|---|---|---|
| Known exploited | Yes, added 2022-08-09 | CISA KEV |
| Ransomware use | Known | CISA KEV |
| EPSS (30-day exploitation probability) | 99% (100th pct) | FIRST EPSS v2026.06.15 |
| CVSS base score | 9.8 (v3.1)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CNA / CISA ADP |
| SSVC exploitation | active | CISA Vulnrichment |
| SSVC automatable | Yes | CISA Vulnrichment |
| SSVC technical impact | total | CISA Vulnrichment |
Weakness: CWE-22: Improper Limitation of a Pathname to a Restricted Directory · CWE-59: Improper Link Resolution Before File Access
More from this vendor: all RARLAB vulnerabilities · recent KEV additions
Affected versions (from the CVE record)#
- Product
n/a(affected)
Description (from the CVE record)#
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.
Quoted from the CVE Program record.