Stack-based buffer overflow in Libextractor - CVE-2018-14346

 

Stack-based buffer overflow in Libextractor - CVE-2018-14346

Published: October 14, 2018


Vulnerability identifier: #VU15354
CSH Severity: Medium
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-14346
CWE-ID: CWE-121
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to a boundary error in ec_read_file_func() function in unzip.c. A remote attacker can create a specially crafted archive, trick the victim into opening it, trigger stack-based buffer overflow and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

Libextractor
libextractor (Debian package)
extract (Ubuntu package)
libextractor-dev (Ubuntu package)
libextractor3 (Ubuntu package)
Ubuntu

How to mitigate CVE-2018-14346

Install updates from vendor's website.

Libextractor - update to 1.7
libextractor (Debian package) - update to 1:1.3-4+deb9u2
extract (Ubuntu package) - update to 1:1.3-4+deb9u3build0.16.04.1
libextractor-dev (Ubuntu package) - update to 1:1.3-4+deb9u3build0.16.04.1
libextractor3 (Ubuntu package) - update to 1:1.3-4+deb9u3build0.16.04.1

External References

Related Security Bulletins