CVE-2022-30333: RARLAB UnRAR Directory Traversal Vulnerability
Vulnerability summary
CVE-2022-30333 is a critical (CVSS 9.8) Path Traversal vulnerability in RARLAB UnRAR. It is known to be exploited: CISA lists it, first on 09-08-2022. It has been used in ransomware campaigns. EPSS estimates a 99.23% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities. 4 public exploits are recorded.
Advisory lineage
Upstream 0 · Downstream 3 · Related 3Timeline
- 09-05-2022PublishedVulnerability first disclosed.
- 09-08-2022Added to CISA KEVRARLAB UnRAR Directory Traversal Vulnerability
- 30-08-2022CISA remediation dueApply updates per vendor instructions.
- 01-10-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
5 scores · 4 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NDiffers
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NDiffers
- NVDNIST7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:NDiffers
EPSS trend
Probability
99.23%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
+0.15 pp
From 99.09% on 18-09-2026
Known exploited
Compare KEV catalogs- Added
- 09-08-2022
- Federal due date
- 30-08-2022
CISA required action
Apply updates per vendor instructions. nvd.nist.gov/vuln/detail/CVE-2022-30333
Public exploits
4 foundExploit Reference (blog.sonarsource.com)
Maturity: unknown
Exploit Reference (packetstormsecurity.com)
Maturity: unknown
UnRAR Path Traversal (CVE-2022-30333)
exploit/linux/fileformat/unrar_cve_2022_30333
Maturity: weaponized
Weaknesses
CWE · root cause- CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
- CWE-59Improper Link Resolution Before File Access ('Link Following')The product attempts to access a file based on the filename, but it does not properly prevent that filename from identifying a link or shortcut that resolves to an unintended resource.
Affected systems
Debian3 products
- rar< 2:6.20-0.1~deb10u1 | < 2:6.20~b1-0.1
- unrar-nonfree< 1:6.1.7-1
- debian_linuxEOL10.0
Suse3 products
- unrar&distro=SUSE Linux Enterprise Server 12 SP5< 5.6.1-4.8.1
- unrar&distro=SUSE Linux Enterprise Server for SAP Applications 12 SP5< 5.6.1-4.8.1
- unrar&distro=SUSE Linux Enterprise Software Development Kit 12 SP5< 5.6.1-4.8.1
Ubuntu3 products
- libclamunrarAll versions (No fix recorded) | < 0.103.11-0ubuntu0.20.04.1 | < 0.103.11-0ubuntu0.22.04.1
- rarAll versions (No fix recorded) | < 2:6.23-1~20.04.1 | < 2:6.23-1~22.04.1 | < 2:6.23-1
- unrar-nonfreeAll versions (No fix recorded) | < 1:5.6.6-2ubuntu0.1 | < 1:6.1.5-1ubuntu0.1
Mageia1 product
- unrar< 6.00-3.1.mga8.nonfree
Rarlab1 product
- unrar< 6.12
5 vendors · 11 products
References
21 links- packetstormsecurity.com/files/167989/Zimbra-UnRAR-Path-Traversal.htmlExploitThird Party AdvisoryVDB Entry
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2022-30333Government ResourceUS Government Resource