CVE-2022-30333: RARLAB UnRAR Directory Traversal Vulnerability

Published May 9, 2022
·
Updated

Last updated 12 March 2025

Other sources

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/authorizedkeys file. NOTE: WinRAR and Android RAR are unaffected.

— Launchpad

RARLAB UnRAR on Linux and UNIX contains a directory traversal vulnerability, allowing an attacker to write to files during an extract (unpack) operation.

— CISA

Affected Software

29 affected componentsFixes available
RARLAB UnRAR<6.12
Linux Linux kernel
Opengroup Unix
All of the following
RARLAB UnRAR<6.12
Any of the following
Linux Linux kernel
Opengroup Unix
Debian Debian Linux=10.0
RARLAB UnRAR
debian/rar<2:6.20~b1-0.1
2:6.20~b1-0.1
debian/rar<2:6.20~b1-0.1
2:6.20~b1-0.1
debian/rar<2:6.20~b1-0.1
2:6.20~b1-0.1
debian/unrar-nonfree<1:6.1.7-1
1:6.1.7-1
debian/unrar-nonfree<1:6.1.7-1
1:6.1.7-1
debian/unrar-nonfree<1:6.1.7-1
1:6.1.7-1
debian/rar
2:6.20-0.1~deb10u12:6.20-0.1~deb11u12:6.20~b1-0.1
debian/unrar-nonfree
1:5.6.6-1+deb10u11:6.0.3-1+deb11u11:6.1.7-1
ubuntu/libclamunrar*
ubuntu/rar*
ubuntu/unrar-nonfree*
ubuntu/libclamunrar*
ubuntu/rar*
ubuntu/unrar-nonfree*
ubuntu/libclamunrar<0.103.11-0ubuntu0.20.04.1
0.103.11-0ubuntu0.20.04.1
ubuntu/rar<2:6.23-1~20.04.1
2:6.23-1~20.04.1
ubuntu/unrar-nonfree<1:5.6.6-2ubuntu0.1
1:5.6.6-2ubuntu0.1
ubuntu/libclamunrar<0.103.11-0ubuntu0.22.04.1
0.103.11-0ubuntu0.22.04.1
ubuntu/rar<2:6.23-1~22.04.1
2:6.23-1~22.04.1
ubuntu/unrar-nonfree<1:6.1.5-1ubuntu0.1
1:6.1.5-1ubuntu0.1
ubuntu/rar<2:6.23-1
2:6.23-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/rar to a version that resolves this vulnerability.

    Fixed in 2:6.20~b1-0.1
  2. Upgrade

    Upgrade debian/unrar-nonfree to a version that resolves this vulnerability.

    Fixed in 1:6.1.7-1
  3. Upgrade

    Upgrade debian/rar to a version that resolves this vulnerability.

    Fixed in 2:6.20-0.1~deb10u1Fixed in 2:6.20-0.1~deb11u1Fixed in 2:6.20~b1-0.1
  4. Upgrade

    Upgrade debian/unrar-nonfree to a version that resolves this vulnerability.

    Fixed in 1:5.6.6-1+deb10u1Fixed in 1:6.0.3-1+deb11u1Fixed in 1:6.1.7-1
  5. Upgrade

    Upgrade ubuntu/libclamunrar to a version that resolves this vulnerability.

    Fixed in 0.103.11-0ubuntu0.20.04.1
  6. Upgrade

    Upgrade ubuntu/rar to a version that resolves this vulnerability.

    Fixed in 2:6.23-1~20.04.1
  7. Upgrade

    Upgrade ubuntu/unrar-nonfree to a version that resolves this vulnerability.

    Fixed in 1:5.6.6-2ubuntu0.1
  8. Upgrade

    Upgrade ubuntu/libclamunrar to a version that resolves this vulnerability.

    Fixed in 0.103.11-0ubuntu0.22.04.1
  9. Upgrade

    Upgrade ubuntu/rar to a version that resolves this vulnerability.

    Fixed in 2:6.23-1~22.04.1
  10. Upgrade

    Upgrade ubuntu/unrar-nonfree to a version that resolves this vulnerability.

    Fixed in 1:6.1.5-1ubuntu0.1
  11. Upgrade

    Upgrade ubuntu/rar to a version that resolves this vulnerability.

    Fixed in 2:6.23-1
  12. Upgrade

    Upgrade RARLAB UnRAR to a version that resolves this vulnerability.

    Fixed in 6.12

Event History

May 9, 2022
CVE Published
via MITRE·12:00 AM
Data Sourced
12:00 AM
RemedyDescriptionSeverityAffected Software
Data Sourced
via MITRE·12:00 AM
Description
Updated
via Ubuntu·12:00 AM
Affected Software
Updated
via Ubuntu·12:00 AM
DescriptionAffected Software
Updated
via Ubuntu·12:00 AM
Description
Data Sourced
via OSV·08:15 AM
DescriptionSeverityAffected Software
Aug 9, 2022
Kev Listed
via CISA·12:00 AM
Known Ransomware
via CISA·12:00 AM
Data Sourced
via CISA·12:00 AM
DescriptionAffected Software
Data Sourced
via CISA·12:00 AM
Weakness
Updated
via CISA·12:00 AM
Affected Software
Aug 17, 2023
Data Sourced
07:15 PM
Weakness
Jun 28, 2024
Data Sourced
via NVD·02:12 PM
RemedyDescriptionSeverityWeaknessAffected Software
Updated
via NVD·02:12 PM
Affected Software
Nov 21, 2024
Updated
via NVD·07:02 AM
RemedyAffected Software
Jan 29, 2025
Updated
via NVD·05:15 PM
RemedySeverityWeaknessAffected Software
Updated
via NVD·05:15 PM
SeverityWeaknessAffected Software
Mar 13, 2025
Updated
via NVD·03:35 PM
Affected Software
Oct 21, 2025
Updated
via NVD·07:19 PM
Affected Software
Oct 22, 2025
Updated
via NVD·12:18 AM
Affected Software
Oct 1, 2026
Updated
via NVD·08:17 PM
Severity
Event
via NVD·08:17 PM
Nov 30, 2026
Updated
via OSV·04:30 PM
Severity

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is CVE-2022-30333?

CVE-2022-30333 is a directory traversal vulnerability in RARLAB UnRAR before version 6.12 on Linux and UNIX systems.

2

How does CVE-2022-30333 affect RARLAB UnRAR?

CVE-2022-30333 allows for directory traversal during an extract operation, potentially allowing an attacker to write to files outside the intended directory.

3

What is the severity level of CVE-2022-30333?

CVE-2022-30333 has a severity level of high with a CVSS score of 7.5.

4

Is RARLAB UnRAR on Windows and Android affected by CVE-2022-30333?

No, WinRAR and Android RAR are unaffected by CVE-2022-30333.

5

How can I mitigate the vulnerability?

To mitigate CVE-2022-30333, update RARLAB UnRAR to version 6.12 or newer.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203