FreeBSD : unzip -- input sanitization errors (d9360908-9d52-11e4-87fd-10bf48e1088e)

high Nessus Plugin ID 80577

Synopsis

The remote FreeBSD host is missing a security-related update.

Description

oCERT reports :

The UnZip tool is an open source extraction utility for archives compressed in the zip format.

The unzip command line tool is affected by heap-based buffer overflows within the CRC32 verification, the test_compr_eb() and the getZip64Data() functions. The input errors may result in arbitrary code execution.

A specially crafted zip file, passed to unzip -t, can be used to trigger the vulnerability.

Solution

Update the affected package.

See Also

http://infozip.sourceforge.net/UnZip.html

https://bugzilla.redhat.com/show_bug.cgi?id=1174844

https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2014-8140

https://bugzilla.redhat.com/show_bug.cgi?id=1174856

http://www.nessus.org/u?87776cb1

Plugin Details

Severity: High

ID: 80577

File Name: freebsd_pkg_d93609089d5211e487fd10bf48e1088e.nasl

Version: 1.6

Type: local

Published: 1/19/2015

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 5.9

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:P

CVSS v3

Risk Factor: High

Base Score: 7.8

Vector: CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Vulnerability Information

CPE: p-cpe:/a:freebsd:freebsd:unzip, cpe:/o:freebsd:freebsd

Required KB Items: Host/local_checks_enabled, Host/FreeBSD/release, Host/FreeBSD/pkg_info

Patch Publication Date: 1/16/2015

Vulnerability Publication Date: 12/3/2014

Reference Information

CVE: CVE-2014-8139, CVE-2014-8140, CVE-2014-8141