#VU33271 Data Handling in libarchive


Published: 2016-09-21 | Updated: 2020-08-03

Vulnerability identifier: #VU33271

Vulnerability risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2016-5418

CWE-ID: CWE-19

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
libarchive
Client/Desktop applications / Software for archiving

Vendor: libarchive

Description

The vulnerability allows a remote non-authenticated attacker to manipulate data.

The sandboxing code in libarchive 3.2.0 and earlier mishandles hardlink archive entries of non-zero data size, which might allow remote attackers to write to arbitrary files via a crafted archive file.

Mitigation
Install update from vendor's website.

Vulnerable software versions

libarchive: 3.0.0 - 3.2.0


External links
http://rhn.redhat.com/errata/RHSA-2016-1844.html
http://rhn.redhat.com/errata/RHSA-2016-1850.html
http://www.openwall.com/lists/oss-security/2016/08/09/2
http://www.oracle.com/technetwork/topics/security/linuxbulletinjul2016-3090544.html
http://www.securityfocus.com/bid/93165
http://access.redhat.com/errata/RHSA-2016:1852
http://access.redhat.com/errata/RHSA-2016:1853
http://bugzilla.redhat.com/show_bug.cgi?id=1362601
http://gist.github.com/anonymous/e48209b03f1dd9625a992717e7b89c4f
http://github.com/libarchive/libarchive/commit/dfd6b54ce33960e420fb206d8872fb759b577ad9
http://github.com/libarchive/libarchive/issues/746
http://security.gentoo.org/glsa/201701-03


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability