Bug 979005 - (CVE-2016-1541) VUL-0: CVE-2016-1541: libarchive: heap-based buffer overflow due to improper input validation
(CVE-2016-1541)
VUL-0: CVE-2016-1541: libarchive: heap-based buffer overflow due to improper ...
Status: RESOLVED FIXED
Classification: Novell Products
Product: SUSE Security Incidents
Classification: Novell Products
Component: Incidents
unspecified
Other Other
: P3 - Medium : Normal
: ---
Assigned To: Adrian Schröter
Security Team bot
https://smash.suse.de/issue/168701/
CVSSv2:RedHat:CVE-2016-1541:5.1:(AV:N...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-05-09 08:16 UTC by Sebastian Krahmer
Modified: 2019-05-22 01:04 UTC (History)
3 users (show)

See Also:
Found By: Security Response Team
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Krahmer 2016-05-09 08:16:27 UTC
rh#1334211

Heap-based buffer overflow in the zip_read_mac_metadata function in
archive_read_support_format_zip.c in libarchive before 3.2.0 allows remote
attackers to execute arbitrary code via crafted entry-size values in a ZIP
archive.

References:
https://bugzilla.redhat.com/show_bug.cgi?id=1334211
http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-1541
http://www.kb.cert.org/vuls/id/862384
https://github.com/libarchive/libarchive/issues/656
https://github.com/libarchive/libarchive/commit/d0331e8e5b05b475f20b1f3101fe1ad772d7e7e7
Comment 3 Adrian Schröter 2016-05-09 13:27:19 UTC
This issue should not affect libarchive 2.5 from SLE 11 since there is no mac support.

However, I noticed that CVE-2013-0211.patch is still missing in SLE 11 package. Johannis, did you let it out on purpose?


A version which applies the patch can be found in:
home:adrianSuSE:branches:OBS_Maintained:libarchive/bsdtar.SUSE_SLE-11_Update
Comment 4 Johannes Segitz 2016-05-11 10:36:00 UTC
(In reply to Adrian Schröter from comment #3)
We only track this issue for SLE 12. 

Not sure what you mean with left out on purpose, I don't think that I touched that package. Please submit from your branch, we'll take it from here.
Comment 5 Swamp Workflow Management 2016-06-01 13:10:00 UTC
openSUSE-SU-2016:1463-1: An update that fixes one vulnerability is now available.

Category: security (moderate)
Bug References: 979005
CVE References: CVE-2016-1541
Sources used:
openSUSE 13.2 (src):    libarchive-3.1.2-7.8.1
Comment 6 Swamp Workflow Management 2016-06-15 13:09:22 UTC
SUSE-SU-2016:1588-1: An update that fixes one vulnerability is now available.

Category: security (moderate)
Bug References: 979005
CVE References: CVE-2016-1541
Sources used:
SUSE Linux Enterprise Software Development Kit 12-SP1 (src):    libarchive-3.1.2-12.1
SUSE Linux Enterprise Software Development Kit 12 (src):    libarchive-3.1.2-12.1
SUSE Linux Enterprise Server 12-SP1 (src):    libarchive-3.1.2-12.1
SUSE Linux Enterprise Server 12 (src):    libarchive-3.1.2-12.1
SUSE Linux Enterprise Desktop 12-SP1 (src):    libarchive-3.1.2-12.1
SUSE Linux Enterprise Desktop 12 (src):    libarchive-3.1.2-12.1
Comment 7 Adrian Schröter 2016-06-16 11:18:03 UTC
updates got released
Comment 8 Swamp Workflow Management 2016-06-23 11:09:27 UTC
openSUSE-SU-2016:1663-1: An update that fixes one vulnerability is now available.

Category: security (moderate)
Bug References: 979005
CVE References: CVE-2016-1541
Sources used:
openSUSE Leap 42.1 (src):    libarchive-3.1.2-10.1