Arch Linux Security Advisory ASA-201803-14 ========================================== Severity: Critical Date : 2018-03-18 CVE-ID : CVE-2012-6706 CVE-2017-6419 CVE-2017-11423 CVE-2018-0202 CVE-2018-1000085 Package : clamav Type : multiple issues Remote : Yes Link : https://security.archlinux.org/AVG-602 Summary ======= The package clamav before version 0.99.4-1 is vulnerable to multiple issues including arbitrary code execution and denial of service. Resolution ========== Upgrade to 0.99.4-1. # pacman -Syu "clamav>=0.99.4-1" The problems have been fixed upstream in version 0.99.4. Workaround ========== None. Description =========== - CVE-2012-6706 (arbitrary code execution) A VMSF_DELTA memory corruption was discovered in unrar before 5.5.5, as used in Sophos Anti-Virus Threat Detection Engine before 3.37.2 and other products, that can lead to arbitrary code execution. An integer overflow can be caused in DataSize+CurChannel. The result is a negative value of the "DestPos" variable, which allows the attacker to write out of bounds when setting Mem[DestPos]. - CVE-2017-6419 (arbitrary code execution) mspack/lzxd.c in libmspack 0.5alpha, as used in ClamAV before 0.99.4, allows remote attackers to cause a denial of service (heap-based buffer overflow and application crash) or possibly execute arbitrary code via a crafted CHM file. - CVE-2017-11423 (denial of service) The cabd_read_string function in mspack/cabd.c in libmspack 0.5alpha, as used in ClamAV before 0.99.4 and other products, allows remote attackers to cause a denial of service (stack-based buffer over-read and application crash) via a crafted CAB file. - CVE-2018-0202 (arbitrary code execution) A heap overflow has been discovered in ClamAv before 0.99.4 in pdf_parse_string possibly leading to arbitrary code execution by inspecting a specially crafted PDF file. - CVE-2018-1000085 (denial of service) A heap-based out-of-bounds read has been found in the xar_hash_check function of the xar decoder of ClamAV before 0.99.4, leading to a denial of service. Impact ====== A remote attacker can cause a denial of service or execute arbitrary code on the affected host by submitting a crafted file for inspection by ClamAV. References ========== http://www.openwall.com/lists/oss-security/2017/06/21/9 https://bugs.chromium.org/p/project-zero/issues/detail?id=1286 https://github.com/Cisco-Talos/clamav-devel/commit/d4699442bce76574573dc564e7f2177d679b88bd https://bugzilla.clamav.net/show_bug.cgi?id=11701 https://github.com/Cisco-Talos/clamav-devel/commit/a83773682e856ad6529ba6db8d1792e6d515d7f1 https://github.com/kyz/libmspack/commit/6139a0b9e93fcb7fcf423e56aa825bc869e02229 https://bugzilla.clamav.net/show_bug.cgi?id=11873 https://github.com/kyz/libmspack/commit/17038206fcc384dcee6dd9e3a75f08fd3ddc6a38 https://github.com/Cisco-Talos/clamav-devel/commit/ffa31264a657618a0e40c51c01e4bfc32e244d13 https://github.com/Cisco-Talos/clamav-devel/commit/ada5f94e5cfb04e1ac2a6f383f2184753f475b96 https://github.com/hackerlib/hackerlib-vul/tree/master/clamav-vul https://bugzilla.clamav.net/show_bug.cgi?id=11973 https://bugzilla.clamav.net/show_bug.cgi?id=11980 https://github.com/Cisco-Talos/clamav-devel/commit/87aaa10b29476958f5bf54b6119a133069f944fc https://github.com/Cisco-Talos/clamav-devel/commit/700ed96af56077cb1a9bff7b91d21db112f6465d https://github.com/Cisco-Talos/clamav-devel/commit/0df2fedf2805e574512c486b32a0fff4ed394560 https://github.com/Cisco-Talos/clamav-devel/commit/495fce917445063d519f14b0009cee025f817bc3 https://github.com/Cisco-Talos/clamav-devel/commit/99eadf7a9ad351210165312362d1f32b77c6f857 http://www.openwall.com/lists/oss-security/2017/09/29/4 https://github.com/Cisco-Talos/clamav-devel/commit/d96a6b8bcc7439fa7e3876207aa0a8e79c8451b6 https://bugzilla.clamav.net/show_bug.cgi?id=11588 https://security.archlinux.org/CVE-2012-6706 https://security.archlinux.org/CVE-2017-6419 https://security.archlinux.org/CVE-2017-11423 https://security.archlinux.org/CVE-2018-0202 https://security.archlinux.org/CVE-2018-1000085