{"id":"CVE-2022-30333","kind":"vulnerability","aliases":["CVE-2022-30333"],"related":[],"title":"RARLAB UnRAR before 6.12 on Linux and UNIX allows directory traversal to write to files during an extract (aka…","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.","summary":"RARLAB UnRAR on Linux and UNIX has a directory traversal flaw that lets a crafted RAR archive write files outside the extraction directory during unpacking. An attacker who gets a victim to extract a malicious archive can overwrite files on the system.","severity":"critical","cvss":9.8,"epss":0.99233,"exploited":true,"exploited_at":"2022-08-09T00:00:00+00:00","products":[{"name":"rarlab unrar","fixed":["6.12"],"affected":"< 6.12","ecosystem":"vendor"},{"name":"debian linux","fixed":[],"affected":"= 10.0","ecosystem":"vendor"},{"name":"RARLAB UnRAR","fixed":[],"affected":"","ecosystem":"vendor"}],"ecosystems":["vendor"],"tags":["exploited","linux","package","ransomware","self-hosted","unix","unrar"],"not_affected_if":["no-archive-extraction","windows-only"],"how_to_check":null,"fix":"Apply the vendor update for UnRAR per the RARLAB instructions referenced by CISA; the fixed version is unknown from the sources.","status":"open","published_at":"2022-05-09T08:15:06+00:00","first_seen_at":"2026-10-23T19:11:52+00:00","triaged_at":"2026-10-23T21:11:03+00:00","updated_at":"2026-10-24T00:09:51+00:00","category":"package","confidence":0.6,"triage":{"at":"2026-10-23T21:11:03Z","model":"claude-haiku-5-5","output":{"fix":"Apply the vendor update for UnRAR per the RARLAB instructions referenced by CISA; the fixed version is unknown from the sources.","reach":"local","impact":"high","summary":"RARLAB UnRAR on Linux and UNIX has a directory traversal flaw that lets a crafted RAR archive write files outside the extraction directory during unpacking. An attacker who gets a victim to extract a malicious archive can overwrite files on the system.","category":"package","who_cares":["unrar","linux","unix","self-hosted"],"confidence":0.6,"needs_auth":"no","worst_case":"Attacker overwrites arbitrary files during archive extraction, possibly enabling code execution.","analyst_note":"Find the fixed UnRAR version and the vendor advisory (CISA KEV entry links to a search page); confirm affected package versions and whether ransomware use is documented.","how_to_check":"unknown","needs_analyst":true,"not_affected_if":["windows-only","no-archive-extraction"],"user_interaction":"yes","needs_special_setup":"no","severity_if_unknown":"high"},"cost_usd":0.000476,"input_tokens":2844,"output_tokens":384,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-2022':21A,24A '-30333':22A,25A '/.ssh/authorized_keys':109C '6.12':4A,86C 'aka':19A,101C 'allow':9A,91C 'android':114C 'archiv':57B,76B 'attack':67B 'craft':55B 'creat':107C 'cve':20A,23A 'debian':28A 'demonstr':105C 'directori':10A,49B,63B,92C 'exploit':32B 'extract':18A,62B,73B,100C 'file':15A,59B,79B,97C,110C 'flaw':51B 'get':69B 'host':38B 'let':53B 'linux':6A,29A,33B,44B,88C 'malici':75B 'note':111C 'oper':103C 'outsid':60B 'overwrit':78B 'packag':34B 'ransomwar':35B 'rar':56B,115C 'rarlab':1A,26A,30A,41B,83C 'self':37B 'self-host':36B 'system':82B 'travers':11A,50B,93C 'unaffect':117C 'unix':8A,39B,46B,90C 'unpack':65B,102C 'unrar':2A,27A,31A,40B,42B,84C 'victim':71B 'winrar':112C 'write':13A,58B,95C","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"first_public_at":"2022-05-09T08:15:06+00:00","kev":{"dateAdded":"2022-08-09","dueDate":"2022-08-30","requiredAction":"Apply updates per vendor instructions.","knownRansomwareCampaignUse":"Known"},"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","cvss_by":"nvd@nist.gov","poc_count":0,"sources":[{"source":"kev","external_id":"CVE-2022-30333","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2022-30333","severity":null,"published_at":"2022-08-09T00:00:00+00:00","modified_at":null,"first_seen_at":"2026-10-23T19:11:52+00:00","fetched_at":"2026-10-25T12:39:23+00:00","note":null},{"source":"epss","external_id":"CVE-2022-30333","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-30333","severity":null,"published_at":null,"modified_at":null,"first_seen_at":"2026-10-23T19:13:45+00:00","fetched_at":"2026-10-23T19:13:45+00:00","note":null},{"source":"nvd","external_id":"CVE-2022-30333","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-30333","severity":null,"published_at":"2022-05-09T08:15:06+00:00","modified_at":"2026-10-02T14:54:55+00:00","first_seen_at":"2026-10-23T22:29:04+00:00","fetched_at":"2026-10-23T22:29:04+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}