CVE-2016-4302
published 2016-09-21CVE-2016-4302: 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…
PriorityP339high7.8CVSS 3.0
AVLACLPRNUIRSUCHIHAH
EPSS
4.76%
90.9th percentile
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.
Affected
15 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | libarchive | < libarchive 3.2.1-1 (bookworm) | libarchive 3.2.1-1 (bookworm) |
| libarchive | libarchive | <= 3.2.0 | — |
| libarchive | libarchive | >= 0 < 3.2.1-1 | 3.2.1-1 |
| libarchive | libarchive | >= 0 < 3.2.1-1 | 3.2.1-1 |
| libarchive | libarchive | >= 0 < 3.2.1-1 | 3.2.1-1 |
| libarchive | libarchive | >= 0 < 3.2.1-1 | 3.2.1-1 |
| libarchive | libarchive | >= 0 < 3.1.2-7ubuntu2.3 | 3.1.2-7ubuntu2.3 |
| libarchive | libarchive | >= 0 < 3.1.2-11ubuntu0.16.04.2 | 3.1.2-11ubuntu0.16.04.2 |
| redhat | enterprise_linux_desktop | — | — |
| redhat | enterprise_linux_hpc_node | — | — |
| redhat | enterprise_linux_hpc_node_eus | — | — |
| redhat | enterprise_linux_server | — | — |
| redhat | enterprise_linux_server_aus | — | — |
| redhat | enterprise_linux_server_eus | — | — |
| redhat | enterprise_linux_workstation | — | — |
CVSS provenance
nvdv3.07.8HIGHCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvdv2.06.8MEDIUMAV:N/AC:M/Au:N/C:P/I:P/A:P
osv7.8HIGH
vendor_debian7.8HIGH
vendor_redhat7.8HIGH
vendor_ubuntu6.5MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
GHSA
GHSA-xxc5-v9q5-vjpj: Heap-based buffer overflow in the parse_codes function in archive_read_support_format_rar
ghsa_unreviewed·2022-05-17
CVE-2016-4302 [HIGH] CWE-119 GHSA-xxc5-v9q5-vjpj: Heap-based buffer overflow in the parse_codes function in archive_read_support_format_rar
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.
OSV
CVE-2016-4302: Heap-based buffer overflow in the parse_codes function in archive_read_support_format_rar
osv·2016-09-21·CVSS 7.8
CVE-2016-4302 [HIGH] CVE-2016-4302: Heap-based buffer overflow in the parse_codes function in archive_read_support_format_rar
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.
OSV
libarchive vulnerabilities
osv·2016-07-14·CVSS 6.5
CVE-2015-8916 [MEDIUM] libarchive vulnerabilities
libarchive vulnerabilities
Hanno Böck discovered that libarchive contained multiple security issues
when processing certain malformed archive files. A remote attacker could
use this issue to cause libarchive to crash, resulting in a denial of
service, or possibly execute arbitrary code. (CVE-2015-8916, CVE-2015-8917
CVE-2015-8919, CVE-2015-8920, CVE-2015-8921, CVE-2015-8922, CVE-2015-8923,
CVE-2015-8924, CVE-2015-8925, CVE-2015-8926, CVE-2015-8928, CVE-2015-8930,
CVE-2015-8931, CVE-2015-8932, CVE-2015-8933, CVE-2015-8934, CVE-2016-5844)
Marcin "Icewall" Noga discovered that libarchive contained multiple
security issues when processing certain malformed archive files. A remote
attacker could use this issue to cause libarchive to crash, resulting in a
denial of service, or possibly execute
Ubuntu
libarchive vulnerabilities
vendor_ubuntu·2016-07-14·CVSS 6.5
CVE-2015-8916 [MEDIUM] libarchive vulnerabilities
Title: libarchive vulnerabilities
Summary: libarchive could be made to crash or run programs if it opened a specially
crafted file.
Hanno Böck discovered that libarchive contained multiple security issues
when processing certain malformed archive files. A remote attacker could
use this issue to cause libarchive to crash, resulting in a denial of
service, or possibly execute arbitrary code. (CVE-2015-8916, CVE-2015-8917
CVE-2015-8919, CVE-2015-8920, CVE-2015-8921, CVE-2015-8922, CVE-2015-8923,
CVE-2015-8924, CVE-2015-8925, CVE-2015-8926, CVE-2015-8928, CVE-2015-8930,
CVE-2015-8931, CVE-2015-8932, CVE-2015-8933, CVE-2015-8934, CVE-2016-5844)
Marcin "Icewall" Noga discovered that libarchive contained multiple
security issues when processing certain malformed archive files. A remote
attacke
Red Hat
libarchive: Heap buffer overflow in the Rar decompression functionality
vendor_redhat·2016-06-19·CVSS 7.8
CVE-2016-4302 [HIGH] CWE-122 libarchive: Heap buffer overflow in the Rar decompression functionality
libarchive: Heap buffer overflow in the Rar decompression functionality
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.
A vulnerability was found in libarchive's handling of RAR archives. A specially crafted RAR file can cause a heap overflow, potentially leading to code execution in the context of the application.
Package: libarchive (Red Hat Enterprise Linux 6) - Not affected
Debian
CVE-2016-4302: libarchive - Heap-based buffer overflow in the parse_codes function in archive_read_support_f...
vendor_debian·2016·CVSS 7.8
CVE-2016-4302 [HIGH] CVE-2016-4302: libarchive - Heap-based buffer overflow in the parse_codes function in archive_read_support_f...
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.
Scope: local
bookworm: resolved (fixed in 3.2.1-1)
bullseye: resolved (fixed in 3.2.1-1)
forky: resolved (fixed in 3.2.1-1)
sid: resolved (fixed in 3.2.1-1)
trixie: resolved (fixed in 3.2.1-1)
No detection rules found.
No public exploits indexed.
Bugzilla
libarchive: various flaws [fedora-all]
bugzilla·2016-07-05·CVSS 6.5
[MEDIUM] libarchive: various flaws [fedora-all]
libarchive: various flaws [fedora-all]
This is an automatically created tracking bug! It was created to ensure
that one or more security vulnerabilities are fixed in affected versions
of Fedora.
For comments that are specific to the vulnerability please use bugs filed
against the "Security Response" product referenced in the "Blocks" field.
For more information see:
http://fedoraproject.org/wiki/Security/TrackingBugs
When submitting as an update, use the fedpkg template provided in the next
comment(s). This will include the bug IDs of this tracking bug as well as
the relevant top-level CVE bugs.
Please also mention the CVE IDs being fixed in the RPM changelog and the
fedpkg commit message.
NOTE: this issue affects multiple supported versions of Fedora. While only
one tracking bug has
Bugzilla
CVE-2016-4302 libarchive: Heap buffer overflow in the Rar decompression functionality
bugzilla·2016-06-21·CVSS 7.8
CVE-2016-4302 [HIGH] CVE-2016-4302 libarchive: Heap buffer overflow in the Rar decompression functionality
CVE-2016-4302 libarchive: Heap buffer overflow in the Rar decompression functionality
An exploitable heap overflow vulnerability exists in the Rar decompression functionality of libarchive. A specially crafted Rar file can cause a heap corruption eventually leading to code execution. An attacker can send a malformed file to trigger this vulnerability.
External references:
http://www.talosintel.com/reports/TALOS-2016-0154/
Upstream fix:
https://github.com/libarchive/libarchive/commit/05caadc7eedbef471ac9610809ba683f0c698700
Discussion:
Libarchive-2.8 does not include the rar/ppmd functionality that introduced this
flaw.
---
Created libarchive tracking bugs for this issue:
Affects: fedora-all [bug 1352776]
---
This issue has been addressed in the following products:
Red Hat Ente
Talos
The Poisoned Archives
blogs_talos·2016-06-21·CVSS 7.8
[HIGH] The Poisoned Archives
## The Poisoned Archives
Vulnerabilities discovered by Marcin “Icewall” Noga . Blog post authored by Marcin Noga and Jaeson Schultz . Update 2016-08-01: Talos has produced a video demonstrating how flaws in libarchive can be exploited using Splunk 6.4.1 as an attack vector. Release 3.2.1 of Libarchive addresses these issues, and Splunk has released patches .
libarchive is an open-source library that provides access to a variety of different file archive formats, and it’s used just about everywhere . Cisco Talos has recently worked with the maintainers of libarchive to patch three rather severe bugs in the library. Because of the number of products that include libarchive in their handling of compressed files, Talos urges all users to patch/upgrade related, vulnerable software.
## TALOS-
Talos
The Poisoned Archives
blogs_talos·2016-06-21·CVSS 7.8
[HIGH] The Poisoned Archives
Vulnerabilities discovered by Marcin “Icewall” Noga. Blog post authored by Marcin Noga and Jaeson Schultz.
Update 2016-08-01: Talos has produced a video demonstrating how flaws in libarchive can be exploited using Splunk 6.4.1 as an attack vector. Release 3.2.1 of Libarchive addresses these issues, and Splunk has released patches.
libarchive is an open-source library that provides access to a variety of different file archive formats, and it’s used just about everywhere. Cisco Talos has recently worked with the maintainers of libarchive to patch three rather severe bugs in the library. Because of the number of products that include libarchive in their handling of compressed files, Talos urges all users to patch/upgrade related, vulnerable software.
### TALOS-2016-0152 [CVE-2016-4300]:7-Z
http://blog.talosintel.com/2016/06/the-poisoned-archives.htmlhttp://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=1348444http://rhn.redhat.com/errata/RHSA-2016-1844.htmlhttp://www.debian.org/security/2016/dsa-3657http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.htmlhttp://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.htmlhttp://www.securityfocus.com/bid/91331http://www.talosintel.com/reports/TALOS-2016-0154/https://github.com/libarchive/libarchive/commit/05caadc7eedbef471ac9610809ba683f0c698700https://github.com/libarchive/libarchive/issues/719https://security.gentoo.org/glsa/201701-03http://blog.talosintel.com/2016/06/the-poisoned-archives.htmlhttp://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=1348444http://rhn.redhat.com/errata/RHSA-2016-1844.htmlhttp://www.debian.org/security/2016/dsa-3657http://www.oracle.com/technetwork/topics/security/bulletinjul2016-3090568.htmlhttp://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.htmlhttp://www.securityfocus.com/bid/91331http://www.talosintel.com/reports/TALOS-2016-0154/https://github.com/libarchive/libarchive/commit/05caadc7eedbef471ac9610809ba683f0c698700https://github.com/libarchive/libarchive/issues/719https://security.gentoo.org/glsa/201701-03
2016-09-21
Published