Heap-based buffer overflow in the parse_codes function in archive_read_support_format_rar.c in libarchive before 3.2.1 allows remote attackers to execute arbitrary code via a RAR file with a zero-sized dictionary.
The product performs operations on a memory buffer, but it reads from or writes to a memory location outside the buffer's intended boundary. This may result in read or write operations on unexpected memory locations that could be linked to other variables, data structures, or internal program data.
Link | Tags |
---|---|
http://rhn.redhat.com/errata/RHSA-2016-1844.html | third party advisory vendor advisory |
http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html | |
http://blog.talosintel.com/2016/06/the-poisoned-archives.html | third party advisory exploit |
http://www.talosintel.com/reports/TALOS-2016-0154/ | third party advisory exploit |
https://github.com/libarchive/libarchive/issues/719 | issue tracking patch |
http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.html | |
http://www.securityfocus.com/bid/91331 | vdb entry third party advisory |
http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=1348444 | issue tracking |
https://security.gentoo.org/glsa/201701-03 | vendor advisory |
http://www.debian.org/security/2016/dsa-3657 | vendor advisory |
https://github.com/libarchive/libarchive/commit/05caadc7eedbef471ac9610809ba683f0c698700 | issue tracking patch |