Skip to content
Noroxi
NVD / CVE Program· CNA mitre

CVE-2022-30333: RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka unpack) operation, as demonst

Noroxi assessment

Priority: Now (action score 90/100)

  • CISA has confirmed exploitation in the wild (Aug 9, 2022); it is known to be used in ransomware campaigns. Remediation deadline for US federal agencies: Aug 30, 2022.
  • A ready-made attack module is public (Metasploit); exploiting it takes no special expertise.
  • Probability of exploitation in the next 30 days: 99.2% (FIRST EPSS); higher than 99.9% of all records.
  • Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
  • According to CISA the attack is automatable: targets can be found by mass scanning.
  • Fixed version: rar (Debian:10) 2:6.20-0.1~deb10u1; rar (Debian:12) 2:6.20~b1-0.1; unrar-nonfree (Debian:12) 1:6.1.7-1.
  • Severity is disputed: the assigning authority (CNA) scores it 9.8, NVD 7.5.

Patch today or shut off access. Upgrade to rar (Debian:10) 2:6.20-0.1~deb10u1; rar (Debian:12) 2:6.20~b1-0.1; unrar-nonfree (Debian:12) 1:6.1.7-1 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · CISA KEV · FIRST EPSS

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.

HighCVSS 7.5 · v3.1KEVWeaponized Fix available
Published
May 9, 2022
Updated
Oct 2, 2026
EPSS
99.2% · 99th percentile

Report tools

JSON

Action score

90

Now

Patch today or shut off access.

CVSS
30 / 40 · 7.5 / 10
CISA KEV
30 / 30 · Listed
EPSS
30 / 30 · 99.2%

CISA SSVC decision

Exploitation
active
Automatable
yes
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
7.5
CNA · mitre
9.8
2.3 point gap

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Actively exploited in the wild

CISA added this to its Known Exploited Vulnerabilities catalog on Aug 9, 2022. That signals real attacks, not theory.

Remediation deadline for US federal agencies: Aug 30, 2022.

Known to be used in ransomware campaigns.

Get told when this record changes

  • In CISA KEV: exploitation in the wild confirmed
  • Weaponized exploit exists
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2022-30333

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
rarlabunrar
linuxlinux kernel
opengroupunix
debiandebian linux

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • debian debian linux10.0
  • rarlab unrarbefore 6.12

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Debian:10rarbefore 2:6.20-0.1~deb10u12:6.20-0.1~deb10u1
Debian:12rarbefore 2:6.20~b1-0.12:6.20~b1-0.1
Debian:12unrar-nonfreebefore 1:6.1.7-11:6.1.7-1
SUSE:Linux Enterprise Software Development Kit 12 SP5unrarbefore 5.6.1-4.8.15.6.1-4.8.1

Other highest-scoring records for the same primary product.

  • CVE-2017-12942libunrar.a in UnRAR before 5.5.7 has a buffer overflow in the Unpack::LongLZ function.
    40Plan
  • CVE-2017-12941libunrar.a in UnRAR before 5.5.7 has an out-of-bounds read in the Unpack::Unpack20 function.
    40Plan
  • CVE-2017-12940libunrar.a in UnRAR before 5.5.7 has an out-of-bounds read in the EncodeFileName::Decode call within the Archive::ReadHeader15 function.
    40Plan

Published before and after this one in the same product

  • ← EarlierCVE-2017-20006Jun 30, 2021 · UnRAR 5.6.1.2 and 5.6.1.3 has a heap-based buffer overflow in Unpack::CopyString (called from Unpack::Unpack5 and CmdExtract::ExtractCurrent
    31Monitor
  • ← EarlierCVE-2018-25018Jun 30, 2021 · UnRAR 5.6.1.7 through 5.7.4 and 6.0.3 has an out-of-bounds write during a memcpy in QuickOpen::ReadRaw when called from QuickOpen::ReadNext.
    31Monitor
  • Later →CVE-2022-48579Aug 7, 2023 · UnRAR before 6.2.3 allows extraction of files outside of the destination folder via symlink chains.
    30Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
debian:rar2:6.20~b1-0.1 · Debian:12Package registry (OSV)
debian:unrar-nonfree1:6.1.7-1 · Debian:12Package registry (OSV)
suse:unrar5.6.1-4.8.1 · SUSE:Linux Enterprise Software Development Kit 12 SP5Package registry (OSV)

Exploit status

Weaponized

A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.

Evidence

  • Metasploit module ×2
  • Proof-of-concept repository on GitHub ×5

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Metasploit moduleexploit/linux/fileformat/unrar_cve_2022_30333UnRAR Path Traversal (CVE-2022-30333)exploit2022-06-28
Metasploit moduleexploit/linux/http/zimbra_unrar_cve_2022_30333UnRAR Path Traversal in Zimbra (CVE-2022-30333)exploit2022-06-28
Proof-of-concept repository on GitHubstars:132022-07-05
Proof-of-concept repository on GitHubstars:142022-07-15
Proof-of-concept repository on GitHubstars:72022-07-26
Proof-of-concept repository on GitHubstars:02022-08-15
Proof-of-concept repository on GitHubstars:02024-06-10

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. Metasploit+50 d
  3. First PoC+57 d
  4. CISA KEV+92 d
  5. TodayNov 5, 2026+1641 d

No history yet (it accumulates with the daily EPSS job).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
none
Integrity
high · data or configuration can be modified
Availability
none
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality impact
None
Integrity impact
High
Availability impact
None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

nvd-primary

Root cause

A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
const file = path.join(ROOT, req.query.name);res.sendFile(file);

Fixed

ts
const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) {  return res.sendStatus(400);}res.sendFile(file);

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records