CVE-2016-8689
published 2017-02-15CVE-2016-8689: The read_Header function in archive_read_support_format_7zip.c in libarchive 3.2.1 allows remote attackers to cause a denial of service (out-of-bounds read)…
PriorityP434high7.5CVSS 3.0
AVNACLPRNUINSUCNINAH
EPSS
3.28%
87.1th percentile
The read_Header function in archive_read_support_format_7zip.c in libarchive 3.2.1 allows remote attackers to cause a denial of service (out-of-bounds read) via multiple EmptyStream attributes in a header in a 7zip archive.
Affected
9 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | libarchive | < libarchive 3.2.1-5 (bookworm) | libarchive 3.2.1-5 (bookworm) |
| libarchive | libarchive | — | — |
| libarchive | libarchive | >= 0 < 3.2.1-5 | 3.2.1-5 |
| libarchive | libarchive | >= 0 < 3.2.1-5 | 3.2.1-5 |
| libarchive | libarchive | >= 0 < 3.2.1-5 | 3.2.1-5 |
| libarchive | libarchive | >= 0 < 3.2.1-5 | 3.2.1-5 |
| libarchive | libarchive | >= 0 < 3.1.2-7ubuntu2.4 | 3.1.2-7ubuntu2.4 |
| libarchive | libarchive | >= 0 < 3.1.2-11ubuntu0.16.04.3 | 3.1.2-11ubuntu0.16.04.3 |
| opensuse | leap | — | — |
CVSS provenance
nvdv3.07.5HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
nvdv2.05.0MEDIUMAV:N/AC:L/Au:N/C:N/I:N/A:P
osv7.5HIGH
vendor_debian7.5HIGH
vendor_redhat7.5HIGH
vendor_ubuntu7.5HIGH
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-55v8-px3p-89m5: The read_Header function in archive_read_support_format_7zip
ghsa_unreviewed·2022-05-14
CVE-2016-8689 [HIGH] CWE-125 GHSA-55v8-px3p-89m5: The read_Header function in archive_read_support_format_7zip
The read_Header function in archive_read_support_format_7zip.c in libarchive 3.2.1 allows remote attackers to cause a denial of service (out-of-bounds read) via multiple EmptyStream attributes in a header in a 7zip archive.
OSV
libarchive vulnerabilities
osv·2017-03-09·CVSS 7.5
CVE-2016-5418 [HIGH] libarchive vulnerabilities
libarchive vulnerabilities
It was discovered that libarchive incorrectly handled hardlink entries when
extracting archives. A remote attacker could possibly use this issue to
overwrite arbitrary files. (CVE-2016-5418)
Christian Wressnegger, Alwin Maier, and Fabian Yamaguchi discovered that
libarchive incorrectly handled filename lengths when writing ISO9660
archives. A remote attacker could use this issue to cause libarchive to
crash, resulting in a denial of service, or possibly execute arbitrary
code. This issue only applied to Ubuntu 12.04 LTS, Ubuntu 14.04 LTS and
Ubuntu 16.04 LTS. (CVE-2016-6250)
Alexander Cherepanov discovered that libarchive incorrectly handled
recursive decompressions. A remote attacker could possibly use this issue
to cause libarchive to hang, resulting in a de
OSV
CVE-2016-8689: The read_Header function in archive_read_support_format_7zip
osv·2017-02-15·CVSS 7.5
CVE-2016-8689 [HIGH] CVE-2016-8689: The read_Header function in archive_read_support_format_7zip
The read_Header function in archive_read_support_format_7zip.c in libarchive 3.2.1 allows remote attackers to cause a denial of service (out-of-bounds read) via multiple EmptyStream attributes in a header in a 7zip archive.
Ubuntu
libarchive vulnerabilities
vendor_ubuntu·2017-03-09·CVSS 7.5
CVE-2016-5418 [HIGH] libarchive vulnerabilities
Title: libarchive vulnerabilities
Summary: libarchive could be made to crash, overwrite files, or run programs as your
login if it opened a specially crafted file.
It was discovered that libarchive incorrectly handled hardlink entries when
extracting archives. A remote attacker could possibly use this issue to
overwrite arbitrary files. (CVE-2016-5418)
Christian Wressnegger, Alwin Maier, and Fabian Yamaguchi discovered that
libarchive incorrectly handled filename lengths when writing ISO9660
archives. A remote attacker could use this issue to cause libarchive to
crash, resulting in a denial of service, or possibly execute arbitrary
code. This issue only applied to Ubuntu 12.04 LTS, Ubuntu 14.04 LTS and
Ubuntu 16.04 LTS. (CVE-2016-6250)
Alexander Cherepanov discovered that libarchive in
Red Hat
libarchive: heap based buffer overflow in read_header (archive_read_support_format_7zip.c)
vendor_redhat·2016-09-15·CVSS 7.5
CVE-2016-8689 [HIGH] CWE-228 libarchive: heap based buffer overflow in read_header (archive_read_support_format_7zip.c)
libarchive: heap based buffer overflow in read_header (archive_read_support_format_7zip.c)
The read_Header function in archive_read_support_format_7zip.c in libarchive 3.2.1 allows remote attackers to cause a denial of service (out-of-bounds read) via multiple EmptyStream attributes in a header in a 7zip archive.
Statement: Red Hat Product Security has rated this issue as having Low security impact. This issue is not currently planned to be addressed in future updates. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.
Package: libarchive (Red Hat Enterprise Linux 6) - Not affected
Package: libarchive (Red Hat Enterprise Linux 7) - Will not fix
Debian
CVE-2016-8689: libarchive - The read_Header function in archive_read_support_format_7zip.c in libarchive 3.2...
vendor_debian·2016·CVSS 7.5
CVE-2016-8689 [HIGH] CVE-2016-8689: libarchive - The read_Header function in archive_read_support_format_7zip.c in libarchive 3.2...
The read_Header function in archive_read_support_format_7zip.c in libarchive 3.2.1 allows remote attackers to cause a denial of service (out-of-bounds read) via multiple EmptyStream attributes in a header in a 7zip archive.
Scope: local
bookworm: resolved (fixed in 3.2.1-5)
bullseye: resolved (fixed in 3.2.1-5)
forky: resolved (fixed in 3.2.1-5)
sid: resolved (fixed in 3.2.1-5)
trixie: resolved (fixed in 3.2.1-5)
No detection rules found.
No public exploits indexed.
Bugzilla
CVE-2016-8687 CVE-2016-8688 CVE-2016-8689 libarchive: various flaws [epel-5]
bugzilla·2016-10-17·CVSS 7.5
CVE-2016-8687 [HIGH] CVE-2016-8687 CVE-2016-8688 CVE-2016-8689 libarchive: various flaws [epel-5]
CVE-2016-8687 CVE-2016-8688 CVE-2016-8689 libarchive: various flaws [epel-5]
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 EPEL.
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.
[bug automatically created by: add-tracking-bugs]
Bugzilla
libarchive: various flaws [fedora-all]
bugzilla·2016-10-17·CVSS 7.5
[HIGH] 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-8687 CVE-2016-8688 CVE-2016-8689 libarchive3: various flaws [epel-6]
bugzilla·2016-10-17·CVSS 7.5
CVE-2016-8687 [HIGH] CVE-2016-8687 CVE-2016-8688 CVE-2016-8689 libarchive3: various flaws [epel-6]
CVE-2016-8687 CVE-2016-8688 CVE-2016-8689 libarchive3: various flaws [epel-6]
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 EPEL.
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.
[bug automatically created by: add-tracking-bugs]
Bugzilla
CVE-2016-8687 CVE-2016-8688 CVE-2016-8689 mingw-libarchive: various flaws [fedora-all]
bugzilla·2016-10-17·CVSS 7.5
CVE-2016-8687 [HIGH] CVE-2016-8687 CVE-2016-8688 CVE-2016-8689 mingw-libarchive: various flaws [fedora-all]
CVE-2016-8687 CVE-2016-8688 CVE-2016-8689 mingw-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 ver
Bugzilla
CVE-2016-8689 libarchive: heap based buffer overflow in read_header (archive_read_support_format_7zip.c) [fedora-all]
bugzilla·2016-09-23·CVSS 7.5
CVE-2016-8689 [HIGH] CVE-2016-8689 libarchive: heap based buffer overflow in read_header (archive_read_support_format_7zip.c) [fedora-all]
CVE-2016-8689 libarchive: heap based buffer overflow in read_header (archive_read_support_format_7zip.c) [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
Bugzilla
CVE-2016-8689 libarchive: heap based buffer overflow in read_header (archive_read_support_format_7zip.c)
bugzilla·2016-09-21·CVSS 7.5
CVE-2016-8689 [HIGH] CVE-2016-8689 libarchive: heap based buffer overflow in read_header (archive_read_support_format_7zip.c)
CVE-2016-8689 libarchive: heap based buffer overflow in read_header (archive_read_support_format_7zip.c)
A crafted 7zip archive with multiple headers of the same kind could cause
calculated values from one being used to interpret the other, leading to
out-of-bounds reads of adjacent structures on the heap.
Disclosed on oss-security:
http://seclists.org/oss-sec/2016/q3/516
Upstream issue:
https://github.com/libarchive/libarchive/issues/761
Upstream fix:
https://github.com/libarchive/libarchive/commit/7f17c79
Discussion:
Code execution is not possible with this flaw, and the information disclosure is limited in both size and scope.
---
Created libarchive tracking bugs for this issue:
Affects: fedora-all [bug 1378668]
---
Statement:
Red Hat Product Security has rated this issue
http://lists.opensuse.org/opensuse-updates/2016-12/msg00027.htmlhttp://www.openwall.com/lists/oss-security/2016/10/16/11http://www.securityfocus.com/bid/93781https://blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-heap-based-buffer-overflow-in-read_header-archive_read_support_format_7zip-c/https://bugzilla.redhat.com/show_bug.cgi?id=1377925https://github.com/libarchive/libarchive/commit/7f17c791dcfd8c0416e2cd2485b19410e47ef126https://lists.debian.org/debian-lts-announce/2018/11/msg00037.htmlhttps://security.gentoo.org/glsa/201701-03http://lists.opensuse.org/opensuse-updates/2016-12/msg00027.htmlhttp://www.openwall.com/lists/oss-security/2016/10/16/11http://www.securityfocus.com/bid/93781https://blogs.gentoo.org/ago/2016/09/11/libarchive-bsdtar-heap-based-buffer-overflow-in-read_header-archive_read_support_format_7zip-c/https://bugzilla.redhat.com/show_bug.cgi?id=1377925https://github.com/libarchive/libarchive/commit/7f17c791dcfd8c0416e2cd2485b19410e47ef126https://lists.debian.org/debian-lts-announce/2018/11/msg00037.htmlhttps://security.gentoo.org/glsa/201701-03
2017-02-15
Published