{"id":"USN-6569-1","summary":"libclamunrar vulnerabilities","details":"it was discovered that libclamunrar incorrectly handled directories when\nextracting RAR archives. A remote attacker could possibly use this issue to\noverwrite arbitrary files and execute arbitrary code. This issue only\naffected Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, and Ubuntu 23.04.\n(CVE-2022-30333)\n\nIt was discovered that libclamunrar incorrectly validated certain\nstructures when extracting RAR archives. A remote attacker could possibly\nuse this issue to execute arbitrary code. (CVE-2023-40477)\n","modified":"2026-12-02T15:16:31.758147938Z","published":"2024-01-08T18:05:14Z","related":["UBUNTU-CVE-2022-30333","UBUNTU-CVE-2023-40477"],"upstream":["CVE-2022-30333","CVE-2023-40477","UBUNTU-CVE-2022-30333","UBUNTU-CVE-2023-40477"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-6569-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2022-30333"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2023-40477"}],"affected":[{"package":{"name":"libclamunrar","ecosystem":"Ubuntu:20.04:LTS","purl":"pkg:deb/ubuntu/libclamunrar?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":{"binaries":[{"binary_name":"libclamunrar9","binary_version":"0.103.11-0ubuntu0.20.04.1"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:20.04:LTS","cves":[{"id":"CVE-2022-30333","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","type":"CVSS_V3"},{"source":"NVD","type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"},{"score":"high","source":"SELF","type":"Ubuntu"}]},{"id":"CVE-2023-40477","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CNA"},{"score":"medium","source":"SELF","type":"Ubuntu"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6569-1.json"}},{"package":{"name":"libclamunrar","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/libclamunrar?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":{"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"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:22.04:LTS","cves":[{"id":"CVE-2022-30333","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","type":"CVSS_V3"},{"source":"NVD","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","source":"SELF"}]},{"severity":[{"score":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"CNA","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium","source":"SELF"}],"id":"CVE-2023-40477"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-6569-1.json"}}],"schema_version":"1.9.2"}