UnRAR directory traversal during extraction on Linux and UNIX
CVE-2022-30333Known exploitedRansomwareHigh
UnRAR before version 6.12 on Linux and UNIX systems allows an attacker to write files outside the intended extraction directory when unpacking a RAR archive. An attacker can craft a malicious RAR file containing paths with directory traversal sequences to place files in arbitrary locations, such as creating or overwriting ~/.ssh/authorized_keys. The attacker needs only to provide a specially crafted RAR archive that a user extracts on a vulnerable system.
Plain English summary of the NVD and CISA text, checked by machine against both.
Scores and dates
- Added to KEV
- 9 Aug 2022
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Detail
RARLAB UnRAR. CISA required action: Apply updates per vendor instructions.
Weakness: CWE-22 (opens in a new tab), CWE-59 (opens in a new tab)
Affected versions
- rarlab unrar: before 6.12
- debian debian linux: 10.0