{"id":"UBUNTU-CVE-2022-30333","details":"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.","modified":"2026-04-22T15:30:50.547534Z","published":"2022-05-09T08:15:00Z","related":["USN-6569-1","USN-7349-1","USN-7350-1"],"upstream":["CVE-2022-30333"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-30333"},{"type":"REPORT","url":"https://www.rarlab.com/rar/rarlinux-x32-612.tar.gz"},{"type":"REPORT","url":"https://www.rarlab.com/rar_add.htm"},{"type":"REPORT","url":"https://github.com/debian-calibre/unrar-nonfree/compare/upstream/6.1.6...upstream/6.1.7"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6569-1"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2022-30333"},{"type":"REPORT","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7349-1"},{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-7350-1"}],"affected":[{"package":{"name":"libclamunrar","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/libclamunrar@0.101.2-1~ubuntu0.16.04.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.98.5-1","0.99-1","0.99-1ubuntu0.1","0.100.1-1~ubuntu0.16.04.1","0.101.2-1~ubuntu0.16.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libclamunrar9","binary_version":"0.101.2-1~ubuntu0.16.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-30333.json"}},{"package":{"name":"rar","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/rar@2:5.3.b2-1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:5.3.b2-1"],"ecosystem_specific":{"binaries":[{"binary_name":"rar","binary_version":"2:5.3.b2-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-30333.json"}},{"package":{"name":"unrar-nonfree","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/unrar-nonfree@1:5.3.2-1+deb9u1build0.16.04.1?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:5.3.2-1","1:5.3.2-1+deb9u1build0.16.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"unrar","binary_version":"1:5.3.2-1+deb9u1build0.16.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-30333.json"}},{"package":{"name":"libclamunrar","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/libclamunrar@0.101.2-1~ubuntu0.18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.99-4ubuntu1","0.100.1-1~ubuntu0.18.04.1","0.101.2-1~ubuntu0.18.04.1"],"ecosystem_specific":{"binaries":[{"binary_name":"libclamunrar9","binary_version":"0.101.2-1~ubuntu0.18.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-30333.json"}},{"package":{"name":"rar","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/rar@2:5.5.0-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:5.4.0+dfsg.1-0.1","2:5.5.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"rar","binary_version":"2:5.5.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-30333.json"}},{"package":{"name":"unrar-nonfree","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/unrar-nonfree@1:5.5.8-1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1:5.5.8-1"],"ecosystem_specific":{"binaries":[{"binary_name":"unrar","binary_version":"1:5.5.8-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-30333.json"}},{"package":{"name":"libclamunrar","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libclamunrar@0.103.11-0ubuntu0.20.04.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.103.11-0ubuntu0.20.04.1"}]}],"versions":["0.101.2-1","0.101.2-1build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libclamunrar9","binary_version":"0.103.11-0ubuntu0.20.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-30333.json"}},{"package":{"name":"rar","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/rar@2:6.23-1~20.04.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:6.23-1~20.04.1"}]}],"versions":["2:5.5.0-1","2:5.5.0-1build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"rar","binary_version":"2:6.23-1~20.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-30333.json"}},{"package":{"name":"unrar-nonfree","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/unrar-nonfree@1:5.6.6-2ubuntu0.1?arch=source&distro=focal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:5.6.6-2ubuntu0.1"}]}],"versions":["1:5.6.6-2","1:5.6.6-2build1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libunrar5","binary_version":"1:5.6.6-2ubuntu0.1"},{"binary_name":"unrar","binary_version":"1:5.6.6-2ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-30333.json"}},{"package":{"name":"libclamunrar","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libclamunrar@0.103.11-0ubuntu0.22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"0.103.11-0ubuntu0.22.04.1"}]}],"versions":["0.102.3-3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libclamunrar","binary_version":"0.103.11-0ubuntu0.22.04.1"},{"binary_name":"libclamunrar9","binary_version":"0.103.11-0ubuntu0.22.04.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-30333.json"}},{"package":{"name":"rar","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/rar@2:6.23-1~22.04.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:6.23-1~22.04.1"}]}],"versions":["2:5.5.0-1build1","2:5.5.0-1.1"],"ecosystem_specific":{"binaries":[{"binary_name":"rar","binary_version":"2:6.23-1~22.04.1"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-30333.json"}},{"package":{"name":"unrar-nonfree","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/unrar-nonfree@1:6.1.5-1ubuntu0.1?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:6.1.5-1ubuntu0.1"}]}],"versions":["1:6.0.5-1","1:6.0.7-6","1:6.1.2-1","1:6.1.3-1","1:6.1.3-2","1:6.1.4-1","1:6.1.5-1"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"libunrar-headers","binary_version":"1:6.1.5-1ubuntu0.1"},{"binary_name":"libunrar5","binary_version":"1:6.1.5-1ubuntu0.1"},{"binary_name":"unrar","binary_version":"1:6.1.5-1ubuntu0.1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-30333.json"}},{"package":{"name":"rar","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/rar@2:6.23-1?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:6.23-1"}]}],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_name":"rar","binary_version":"2:6.23-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2022/UBUNTU-CVE-2022-30333.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"type":"Ubuntu","score":"high"}]}