BreachSpiderVerified, not vibes

CVE-2022-30333 in Debian Linux and 3 more products

Known-exploited (CISA) since 2022-08-09 High 7.5

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.

Affects 4 products from 4 vendors. Facts below cite their sources.

CVSS 3.17.5
EPSS55.4%
EPSS percentile99th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, full integrity impact, no availability impact.

Affected products and versions

VendorProductAffected versions
Debian Debian Linux 10.0
Rarlab Unrar < 6.12

Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Linux Linux Kernel, Open Group Unix

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedYes added 2022-08-09
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2022-30333
BreachSpider IDBS-2022-GLOBAL-252219-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Published2022-05-09
Last modified2026-10-02
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-22: Path Traversal

Attacker manipulates file path inputs to access files outside the intended directory.

CWE-59: Improper Link Resolution Before File Access

Software follows symbolic links without verifying the target, allowing read, write, or delete of unintended files.

Related attack patterns (CAPEC)

CAPEC-35 Leverage Executable Code in Non-Executable Files via CWE-59

CAPEC-64 Using Slashes and URL Encoding Combined to Bypass Validation Logic via CWE-22

CAPEC-76 Manipulating Web Input to File System Calls via CWE-22, CWE-59

CAPEC-78 Using Escaped Slashes in Alternate Encoding via CWE-22

CAPEC-79 Using Slashes in Alternate Encoding via CWE-22

Show all 8

CAPEC-132 Symlink Attack via CWE-59

CAPEC-17 Using Malicious Files via CWE-59

CAPEC-126 Path Traversal via CWE-22

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

CVE-2022-30333 affects RARLAB UnRAR versions prior to 6.12 on Linux and UNIX systems, allowing directory traversal during file extraction. This can lead to unauthorized file creation, such as the ~/.ssh/authorized_keys file, potentially granting attackers remote access. The vulnerability has a CVSS score of 7.5 and is listed in the KEV catalog with a public proof of concept available.

The vulnerability can be exploited remotely without user interaction, requiring no authentication. An attacker can craft a malicious RAR archive that, when extracted, writes files to arbitrary locations on the system, including sensitive directories like ~/.ssh. This could result in unauthorized access or privilege escalation.

Compensating controls AI-drafted, review before use

Implement strict file path validation and sanitization in the UnRAR extraction process to prevent directory traversal. Ensure that the extraction process does not allow writing to sensitive directories such as ~/.ssh.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Questions

What is CVE-2022-30333?

CVE-2022-30333 affects RARLAB UnRAR versions prior to 6.12 on Linux and UNIX systems, allowing directory traversal during file extraction. This can lead to unauthorized file creation, such as the ~/.ssh/authorized_keys file, potentially granting attackers remote access. The vulnerability has a CVSS score of 7.5 and is listed in the KEV catalog with a public proof of concept available.

What is the CVSS score for CVE-2022-30333?

CVE-2022-30333 has CVSS 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N. EPSS: 55.4%.

Is CVE-2022-30333 actively exploited?

Yes. CVE-2022-30333 is in the CISA known-exploited catalog (added 2022-08-09). Active exploitation confirmed. Immediate patching required.

How do I remediate CVE-2022-30333?

Priority: IMMEDIATE.

What systems are affected by CVE-2022-30333?

CVE-2022-30333 affects Debian Debian Linux; Rarlab Unrar.

What NERC-CIP standard applies to CVE-2022-30333?

NERC CIP CIP-007 CIP-007-R2: This CVE violates CIP-007-R2 because it allows unauthorized modification of system files, which can compromise the integrity and security of the control system environment.

What IEC 62443 requirement maps to CVE-2022-30333?

IEC 62443 SR 7.6: This CVE maps to SR 7.6 because it involves a vulnerability that can be exploited to modify system files, which is a critical security concern in ICS environments where file integrity is essential.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Debian","product":"Debian Linux","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-02.