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

10 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
debian/rar
2:6.23-1~deb11u12:6.23-1~deb12u12:7.11-1
debian/unrar-nonfree
1:6.0.3-1+deb11u31:6.2.6-1+deb12u11:7.1.6-1
RARLAB UnRAR

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.23-1~deb11u1Fixed in 2:6.23-1~deb12u1Fixed in 2:7.11-1
  2. Upgrade

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

    Fixed in 1:6.0.3-1+deb11u3Fixed in 1:6.2.6-1+deb12u1Fixed in 1:7.1.6-1
  3. 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
via MITRE·12:00 AM
Description
Data Sourced
via NVD·08:15 AM
RemedyDescriptionSeverityWeaknessAffected Software
Aug 9, 2022
Known Exploited
via CISA·12:00 AM
Known Ransomware
via CISA·12:00 AM
Jan 12, 2024
Data Sourced
via Launchpad·08:48 PM
Description
Mar 20, 2025
Data Sourced
via Ubuntu·09:41 PM
RemedyDescriptionSeverityAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

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