kumquat-buildroot/package/zziplib/zziplib.mk
Fabrice Fontaine 401d18b2e9 package/zziplib: fix CVE-2018-17828
Directory traversal vulnerability in ZZIPlib 0.13.69 allows attackers to
overwrite arbitrary files via a .. (dot dot) in a zip file, because of
the function unzzip_cat in the bins/unzzipcat-mem.c file.

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-03-03 22:42:04 +01:00

27 lines
959 B
Makefile

################################################################################
#
# zziplib
#
################################################################################
ZZIPLIB_VERSION = 0.13.69
ZZIPLIB_SITE = $(call github,gdraheim,zziplib,v$(ZZIPLIB_VERSION))
ZZIPLIB_LICENSE = LGPL-2.0+ or MPL-1.1
ZZIPLIB_LICENSE_FILES = docs/COPYING.LIB docs/COPYING.MPL docs/copying.htm
ZZIPLIB_INSTALL_STAGING = YES
# 0001-Avoid-memory-leak-from-__zzip_parse_root_directory.patch
# 0002-Avoid-memory-leak-from-__zzip_parse_root_directory-2.patch
# 0003-One-more-free-to-avoid-memory-leak.patch
ZZIPLIB_IGNORE_CVES += CVE-2018-16548
# 0004-Fix-issue-62-Remove-any-components-from-pathnames-of-extracte.patch
ZZIPLIB_IGNORE_CVES += CVE-2018-17828
ZZIPLIB_DEPENDENCIES = host-pkgconf host-python zlib
# zziplib is not python3 friendly, so force the python interpreter
ZZIPLIB_CONF_OPTS = ac_cv_path_PYTHON=$(HOST_DIR)/bin/python2
$(eval $(autotools-package))