Secunia Research: libarchive "lha_read_file_header_1()" Out-Of-Bounds Memory Access Denial of Service Vulnerability

======================================================================

                    Secunia Research 2017/01/27
					
  libarchive "lha_read_file_header_1()" Out-Of-Bounds Memory Access 
                  Denial of Service Vulnerability

======================================================================
Table of Contents

Affected Software....................................................1
Severity.............................................................2
Description of Vulnerability.........................................3
Solution.............................................................4
Time Table...........................................................5
Credits..............................................................6
References...........................................................7
About Flexera Software...............................................8
Verification.........................................................9

======================================================================
1) Affected Software

* libarchive version 3.2.2.
  Other versions may also be affected.

======================================================================
2) Severity

Rating: Moderately critical
Impact: Denial of Service
Where:  From remote

======================================================================
3) Description of Vulnerability

Secunia Research has discovered a vulnerability in libarchive, which
can be exploited by malicious people to cause a DoS (Denial of
Service).

The vulnerability is caused due to an error in the
"lha_read_file_header_1()" function
(archive_read_support_format_lha.c), which can be exploited to trigger
an out-of-bounds read memory access via a specially crafted archive.

The vulnerability is confirmed in version 3.2.2. Other versions may
also be affected.

======================================================================
4) Solution

Fixed in the source code repository.
https://github.com/libarchive/libarchive/commit/
98dcbbf0bf4854bf987557e55e55fff7abbf3ea9

======================================================================
5) Time Table

2016/12/20 - Initial contact to request security contact.
2016/12/27 - Maintainer responds with security contacts.
2016/12/29 - Maintainers provided with the vulnerability details.
2017/01/11 - Request for status after no response.
2017/01/16 - Maintainers acknowledge the vulnerability and publish a
             suggested fix in an unofficial source code repository.
2017/01/19 - Maintainers informed about the fixed released date of
             Secunia Advisory set to 2017/01/23 due to the public
             disclosure of the vulnerability.
2017/01/19 - Maintainers provide a patch in the official source
             code repository.
2017/01/23 - Release of Secunia Advisory SA74169.
2017/01/27 - Public disclosure of Secunia Research Advisory.
2017/01/30 - Added CVE identifier.

======================================================================
6) Credits

Discovered by Jakub Jirasek, Secunia Research at Flexera Software.

======================================================================
7) References

The Common Vulnerabilities and Exposures (CVE) project has assigned
the CVE-2017-5601 identifier for the vulnerability.

======================================================================
8) About Flexera Software

Flexera Software helps application producers and enterprises increase
application usage and the value they derive from their software.

http://www.flexerasoftware.com/enterprise/company/about/

Flexera Software  delivers  market-leading  Software  Vulnerability
Management solutions enabling enterprises to proactively identify and
remediate software vulnerabilities, effectively reducing the risk of
costly security breaches.

http://www.flexerasoftware.com/enterprise/products/

Flexera  Software  supports  and  contributes  to  the community in
several ways.  We have always believed that reliable vulnerability
intelligence and tools to aid identifying and fixing vulnerabilities
should be  freely available  for  consumers  to ensure that users,
who care about their online privacy and security, can stay secure.
Only a few vendors address vulnerabilities in a proper way and help
users get updated  and  stay secure.  End-users (whether private
individuals or businesses) are otherwise left largely alone,  and
that is why back in 2002, Secunia Research started investigating,
coordinating  disclosure  and  verifying software vulnerabilities.
In  2016,  Secunia Research  became  a  part  of  Flexera Software
and today our in-house software vulnerability research remains the
core  of  the  Software  Vulnerability  Management  products  at
Flexera Software.

http://secunia.com/secunia_research/

The  public  Advisory database  contains sufficient information  for
researchers, security enthusiasts, and consumers to lookup individual
products and vulnerabilities  and  assess, whether they need to take
any actions to secure their systems or whether a given vulnerability
has already been discovered

http://secunia.com/advisories/

======================================================================
9) Verification

Please verify this advisory by visiting the Secunia website:
http://secunia.com/secunia_research/2017-3/

Complete list of vulnerability reports published by Secunia Research:
http://secunia.com/secunia_research/

======================================================================