libarchive contains a heap-based buffer overflow due to improper input validation
Original Release date: 02 May 2016 | Last revised: 04 May 2016

Overview
An attacker may be able to coerce a user into executing arbitrary code in the context of the current user by attempting to unzip a crafted zip file provided by the attacker.

Description
CWE-20: Improper Input Validation – CVE-2016-1541
A crafted zip file can provide an incorrect compressed size, which may allow an attacker to place arbitrary code on the heap and execute it in the context of the current user.

The user must be coerced into unzipping the crafted zip file.The researcher has confirmed that version 3.1.2 is impacted. Previous versions may also be affected.
Impact
An attacker may be able coerce a user into unzipping a file that executes arbitrary code in the context of the current user.
Solution
Apply an updatelibarchive has released version 3.2.0 which addresses this problem.

Affected users should update as soon as possible.
Vendor Information (Learn More)

VendorStatusDate NotifiedDate UpdatedlibarchiveAffected22 Feb 201602 May 2016If you are a vendor and your product is affected, let
us know.

CVSS Metrics (Learn More)

Group
Score
Vector
Base
6.8
AV:N/AC:M/Au:N/C:P/I:P/A:P
Temporal
6.1
E:POC/RL:U/RC:C
Environmental
4.6
CDP:ND/TD:M/CR:ND/IR:ND/AR:ND

References

Credit

Thanks to Rock Stevens and Andrew Ruef for reporting this vulnerability.
This document was written by Garret Wassermann.

Other Information

CVE IDs:
CVE-2016-1541

Date Public:
01 May 2016

Date First Published:
02 May 2016

Date Last Updated:
04 May 2016

Document Revision:
39

FeedbackIf you have feedback, comments, or additional information about this vulnerability, please send us email.