Vulnerability identifier: #VU32264
Vulnerability risk: Medium
CVSSv4.0: 5.7 [CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]
CVE-ID:
CWE-ID:
CWE-122
Exploitation vector: Local
Exploit availability: No
Vulnerable software:
libarchive
Client/Desktop applications /
Software for archiving
Vendor: libarchive
Description
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in Heap-based buffer overflow in the parse_codes function in archive_read_support_format_rar.c in libarchive before 3.2.1. A remote attacker can use a RAR file with a zero-sized dictionary. to trigger heap-based buffer overflow and execute arbitrary code on the target system.
Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.
Mitigation
Update to version 3.2.1.
Vulnerable software versions
libarchive: 3.2.0
External links
https://blog.talosintel.com/2016/06/the-poisoned-archives.html
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=1348444
https://rhn.redhat.com/errata/RHSA-2016-1844.html
https://www.debian.org/security/2016/dsa-3657
https://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html
https://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
https://www.securityfocus.com/bid/91331
https://www.talosintel.com/reports/TALOS-2016-0154/
https://github.com/libarchive/libarchive/commit/05caadc7eedbef471ac9610809ba683f0c698700
https://github.com/libarchive/libarchive/issues/719
https://security.gentoo.org/glsa/201701-03
Can this vulnerability be exploited remotely?
No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.
Is there known malware, which exploits this vulnerability?
No. We are not aware of malware exploiting this vulnerability.