Arbitrary File Write via Archive Extraction Affecting pmachapman/unrar package, versions [,6.1.7)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Attacked
EPSS
99.23% (100th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-PMACHAPMANUNRAR-2953269
  • published19 Jul 2022
  • disclosed19 Jul 2022
  • creditSimon Scannell

Introduced: 19 Jul 2022

CVE-2022-30333  (opens in a new tab)
CWE-29  (opens in a new tab)

How to fix?

Upgrade pmachapman/unrar to version 6.1.7 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary File Write via Archive Extraction during an extract operation by passing a malicious pathname that traverses directories. This allows an attacker to perform arbitrary writes on the affected filesystem.

NOTE: This vulnerability is only exploitable on Unix and Linux systems and does not affect WinRAR or Android RAR.

CVSS Base Scores

version 3.1