CVE-2016-4300
published 2016-09-21CVE-2016-4300: Integer overflow in the read_SubStreamsInfo function in archive_read_support_format_7zip.c in libarchive before 3.2.1 allows remote attackers to execute…
PriorityP343high7.8CVSS 3.0
AVLACLPRNUIRSUCHIHAH
EPSS
4.92%
91.1th percentile
Integer overflow in the read_SubStreamsInfo function in archive_read_support_format_7zip.c in libarchive before 3.2.1 allows remote attackers to execute arbitrary code via a 7zip file with a large number of substreams, which triggers a heap-based buffer overflow.
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-6qg7-x2gx-6jfr: Integer overflow in the read_SubStreamsInfo function in archive_read_support_format_7zip
ghsa_unreviewed·2022-05-17
CVE-2016-4300 [HIGH] CWE-190 GHSA-6qg7-x2gx-6jfr: Integer overflow in the read_SubStreamsInfo function in archive_read_support_format_7zip
Integer overflow in the read_SubStreamsInfo function in archive_read_support_format_7zip.c in libarchive before 3.2.1 allows remote attackers to execute arbitrary code via a 7zip file with a large number of substreams, which triggers a heap-based buffer overflow.
OSV
CVE-2016-4300: Integer overflow in the read_SubStreamsInfo function in archive_read_support_format_7zip
osv·2016-09-21·CVSS 7.8
CVE-2016-4300 [HIGH] CVE-2016-4300: Integer overflow in the read_SubStreamsInfo function in archive_read_support_format_7zip
Integer overflow in the read_SubStreamsInfo function in archive_read_support_format_7zip.c in libarchive before 3.2.1 allows remote attackers to execute arbitrary code via a 7zip file with a large number of substreams, which triggers a heap-based buffer overflow.
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 vulnerability in the 7zip read_SubStreamsInfo
vendor_redhat·2016-06-19·CVSS 7.8
CVE-2016-4300 [HIGH] CWE-122 libarchive: Heap buffer overflow vulnerability in the 7zip read_SubStreamsInfo
libarchive: Heap buffer overflow vulnerability in the 7zip read_SubStreamsInfo
Integer overflow in the read_SubStreamsInfo function in archive_read_support_format_7zip.c in libarchive before 3.2.1 allows remote attackers to execute arbitrary code via a 7zip file with a large number of substreams, which triggers a heap-based buffer overflow.
A vulnerability was found in libarchive's handling of 7zip data. A specially crafted 7zip file can cause a integer overflow resulting in memory corruption that can lead to code execution.
Package: libarchive (Red Hat Enterprise Linux 6) - Not affected
Debian
CVE-2016-4300: libarchive - Integer overflow in the read_SubStreamsInfo function in archive_read_support_for...
vendor_debian·2016·CVSS 7.8
CVE-2016-4300 [HIGH] CVE-2016-4300: libarchive - Integer overflow in the read_SubStreamsInfo function in archive_read_support_for...
Integer overflow in the read_SubStreamsInfo function in archive_read_support_format_7zip.c in libarchive before 3.2.1 allows remote attackers to execute arbitrary code via a 7zip file with a large number of substreams, which triggers a heap-based buffer overflow.
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.
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
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-4300 libarchive: Heap buffer overflow vulnerability in the 7zip read_SubStreamsInfo
bugzilla·2016-06-21·CVSS 7.8
CVE-2016-4300 [HIGH] CVE-2016-4300 libarchive: Heap buffer overflow vulnerability in the 7zip read_SubStreamsInfo
CVE-2016-4300 libarchive: Heap buffer overflow vulnerability in the 7zip read_SubStreamsInfo
An exploitable heap overflow vulnerability exists in the 7zip read_SubStreamsInfo functionality of libarchive. A specially crafted 7zip file can cause a integer overflow resulting in memory corruption that can lead to code execution. An attacker can send a malformed file to trigger this vulnerability.
External references:
http://www.talosintel.com/reports/TALOS-2016-0152/
Upstream fix:
https://github.com/libarchive/libarchive/commit/e79ef306afe332faf22e9b442a2c6b59cb175573
Discussion:
libarchive-2.8 does not include the affected functionality.
libarchive-3.1 has a smaller limit for UMAX_ENTRY (1m vs 100m), making
exploitation more difficult but not impossible.
---
Created libarchive track
http://blog.talosintel.com/2016/06/the-poisoned-archives.htmlhttp://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/91326http://www.talosintel.com/reports/TALOS-2016-0152/https://bugzilla.redhat.com/show_bug.cgi?id=1348439https://github.com/libarchive/libarchive/commit/e79ef306afe332faf22e9b442a2c6b59cb175573https://github.com/libarchive/libarchive/issues/718https://security-center.intel.com/advisory.aspx?intelid=INTEL-SA-00062&languageid=en-frhttps://security.gentoo.org/glsa/201701-03http://blog.talosintel.com/2016/06/the-poisoned-archives.htmlhttp://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/91326http://www.talosintel.com/reports/TALOS-2016-0152/https://bugzilla.redhat.com/show_bug.cgi?id=1348439https://github.com/libarchive/libarchive/commit/e79ef306afe332faf22e9b442a2c6b59cb175573https://github.com/libarchive/libarchive/issues/718https://security-center.intel.com/advisory.aspx?intelid=INTEL-SA-00062&languageid=en-frhttps://security.gentoo.org/glsa/201701-03
2016-09-21
Published