ID FEDORA:66E46606FD97 Type fedora Reporter Fedora Modified 2018-02-06T15:39:57
Description
The zziplib library is intentionally lightweight, it offers the ability to easily extract data from files archived in a single zip file. Applications can bundle files into a single zip archive and access them. The implementat ion is based only on the (free) subset of compression with the zlib algorithm which is actually used by the zip/unzip tools.
{"id": "FEDORA:66E46606FD97", "type": "fedora", "bulletinFamily": "unix", "title": "[SECURITY] Fedora 27 Update: zziplib-0.13.67-1.fc27", "description": "The zziplib library is intentionally lightweight, it offers the ability to easily extract data from files archived in a single zip file. Applications can bundle files into a single zip archive and access them. The implementat ion is based only on the (free) subset of compression with the zlib algorithm which is actually used by the zip/unzip tools. ", "published": "2018-02-06T15:39:57", "modified": "2018-02-06T15:39:57", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:N/A:P"}, "href": "", "reporter": "Fedora", "references": [], "cvelist": ["CVE-2018-6381"], "lastseen": "2020-12-21T08:17:54", "viewCount": 0, "enchantments": {"dependencies": {"references": [{"type": "cve", "idList": ["CVE-2018-6381"]}, {"type": "nessus", "idList": ["EULEROS_SA-2020-2571.NASL", "DEBIAN_DLA-2258.NASL", "OPENSUSE-2018-215.NASL", "FEDORA_2018-A24BE2586D.NASL", "EULEROS_SA-2019-2478.NASL", "FREEBSD_PKG_7764B219814811E8AA4D000E0CD7B374.NASL", "EULEROS_SA-2019-2685.NASL", "UBUNTU_USN-3699-1.NASL", "SUSE_SU-2018-0548-1.NASL"]}, {"type": "openvas", "idList": ["OPENVAS:1361412562311220192685", "OPENVAS:1361412562310843579", "OPENVAS:1361412562310874092", "OPENVAS:1361412562310875060", "OPENVAS:1361412562311220192478", "OPENVAS:1361412562310892258"]}, {"type": "fedora", "idList": ["FEDORA:D881A60A34FD"]}, {"type": "ubuntu", "idList": ["USN-3699-1"]}, {"type": "debian", "idList": ["DEBIAN:DLA-2258-1:9269A"]}, {"type": "freebsd", "idList": ["7764B219-8148-11E8-AA4D-000E0CD7B374"]}], "modified": "2020-12-21T08:17:54", "rev": 2}, "score": {"value": 5.2, "vector": "NONE", "modified": "2020-12-21T08:17:54", "rev": 2}, "vulnersScore": 5.2}, "affectedPackage": [{"OS": "Fedora", "OSVersion": "27", "arch": "any", "packageName": "zziplib", "packageVersion": "0.13.67", "packageFilename": "UNKNOWN", "operator": "lt"}]}
{"cve": [{"lastseen": "2021-03-06T16:10:19", "description": "In ZZIPlib 0.13.67, 0.13.66, 0.13.65, 0.13.64, 0.13.63, 0.13.62, 0.13.61, 0.13.60, 0.13.59, 0.13.58, 0.13.57 and 0.13.56 there is a segmentation fault caused by invalid memory access in the zzip_disk_fread function (zzip/mmapped.c) because the size variable is not validated against the amount of file->stored data.", "edition": 7, "cvss3": {"exploitabilityScore": 2.8, "cvssV3": {"baseSeverity": "MEDIUM", "confidentialityImpact": "NONE", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "NONE", "baseScore": 6.5, "privilegesRequired": "NONE", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H", "userInteraction": "REQUIRED", "version": "3.0"}, "impactScore": 3.6}, "published": "2018-01-29T17:29:00", "title": "CVE-2018-6381", "type": "cve", "cwe": ["CWE-119"], "bulletinFamily": "NVD", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 8.6, "obtainAllPrivilege": false, "userInteractionRequired": true, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "MEDIUM", "confidentialityImpact": "NONE", "availabilityImpact": "PARTIAL", "integrityImpact": "NONE", "baseScore": 4.3, "vectorString": "AV:N/AC:M/Au:N/C:N/I:N/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "acInsufInfo": false, "impactScore": 2.9, "obtainUserPrivilege": false}, "cvelist": ["CVE-2018-6381"], "modified": "2021-03-05T19:15:00", "cpe": ["cpe:/o:canonical:ubuntu_linux:18.04", "cpe:/o:canonical:ubuntu_linux:17.10", "cpe:/o:canonical:ubuntu_linux:16.04", "cpe:/a:zziplib_project:zziplib:0.13.67", "cpe:/o:canonical:ubuntu_linux:14.04"], "id": "CVE-2018-6381", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-6381", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:N/A:P"}, "cpe23": ["cpe:2.3:o:canonical:ubuntu_linux:17.10:*:*:*:*:*:*:*", "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*", "cpe:2.3:a:zziplib_project:zziplib:0.13.67:*:*:*:*:*:*:*", "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*", "cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*"]}], "openvas": [{"lastseen": "2019-05-29T18:33:06", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-6381"], "description": "The remote host is missing an update for the ", "modified": "2019-03-15T00:00:00", "published": "2018-02-07T00:00:00", "id": "OPENVAS:1361412562310874092", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310874092", "type": "openvas", "title": "Fedora Update for zziplib FEDORA-2018-a24be2586d", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n# $Id: gb_fedora_2018_a24be2586d_zziplib_fc27.nasl 14223 2019-03-15 13:49:35Z cfischer $\n#\n# Fedora Update for zziplib FEDORA-2018-a24be2586d\n#\n# Authors:\n# System Generated Check\n#\n# Copyright:\n# Copyright (C) 2018 Greenbone Networks GmbH, http://www.greenbone.net\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\nif(description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.874092\");\n script_version(\"$Revision: 14223 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2019-03-15 14:49:35 +0100 (Fri, 15 Mar 2019) $\");\n script_tag(name:\"creation_date\", value:\"2018-02-07 08:07:21 +0100 (Wed, 07 Feb 2018)\");\n script_cve_id(\"CVE-2018-6381\");\n script_tag(name:\"cvss_base\", value:\"4.3\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:N/I:N/A:P\");\n script_tag(name:\"qod_type\", value:\"package\");\n script_name(\"Fedora Update for zziplib FEDORA-2018-a24be2586d\");\n script_tag(name:\"summary\", value:\"The remote host is missing an update for the 'zziplib'\n package(s) announced via the referenced advisory.\");\n script_tag(name:\"vuldetect\", value:\"Checks if a vulnerable version is present on the target host.\");\n script_tag(name:\"affected\", value:\"zziplib on Fedora 27\");\n script_tag(name:\"solution\", value:\"Please install the updated package(s).\");\n\n script_xref(name:\"FEDORA\", value:\"2018-a24be2586d\");\n script_xref(name:\"URL\", value:\"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R5NI6QBHJA6ZI7AYP4BYGADTML3F2LNO\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n script_category(ACT_GATHER_INFO);\n script_copyright(\"Copyright (C) 2018 Greenbone Networks GmbH\");\n script_family(\"Fedora Local Security Checks\");\n script_dependencies(\"gather-package-list.nasl\");\n script_mandatory_keys(\"ssh/login/fedora\", \"ssh/login/rpms\", re:\"ssh/login/release=FC27\");\n\n exit(0);\n}\n\ninclude(\"revisions-lib.inc\");\ninclude(\"pkg-lib-rpm.inc\");\n\nrelease = rpm_get_ssh_release();\nif(!release)\n exit(0);\n\nres = \"\";\n\nif(release == \"FC27\")\n{\n\n if ((res = isrpmvuln(pkg:\"zziplib\", rpm:\"zziplib~0.13.67~1.fc27\", rls:\"FC27\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if (__pkg_match) exit(99);\n exit(0);\n}\n", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:N/A:P"}}, {"lastseen": "2019-05-29T18:32:56", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-6381", "CVE-2018-6541", "CVE-2018-7725", "CVE-2018-7727", "CVE-2018-6484", "CVE-2018-6869"], "description": "The remote host is missing an update for the ", "modified": "2019-03-15T00:00:00", "published": "2018-09-14T00:00:00", "id": "OPENVAS:1361412562310875060", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310875060", "type": "openvas", "title": "Fedora Update for zziplib FEDORA-2018-45183aab17", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n# $Id: gb_fedora_2018_45183aab17_zziplib_fc27.nasl 14223 2019-03-15 13:49:35Z cfischer $\n#\n# Fedora Update for zziplib FEDORA-2018-45183aab17\n#\n# Authors:\n# System Generated Check\n#\n# Copyright:\n# Copyright (C) 2018 Greenbone Networks GmbH, http://www.greenbone.net\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\nif(description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.875060\");\n script_version(\"$Revision: 14223 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2019-03-15 14:49:35 +0100 (Fri, 15 Mar 2019) $\");\n script_tag(name:\"creation_date\", value:\"2018-09-14 07:47:34 +0200 (Fri, 14 Sep 2018)\");\n script_cve_id(\"CVE-2018-6869\", \"CVE-2018-6484\", \"CVE-2018-6541\", \"CVE-2018-7727\",\n \"CVE-2018-6381\", \"CVE-2018-7725\");\n script_tag(name:\"cvss_base\", value:\"4.3\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:N/I:N/A:P\");\n script_tag(name:\"qod_type\", value:\"package\");\n script_name(\"Fedora Update for zziplib FEDORA-2018-45183aab17\");\n script_tag(name:\"summary\", value:\"The remote host is missing an update for the 'zziplib'\n package(s) announced via the referenced advisory.\");\n script_tag(name:\"vuldetect\", value:\"Checks if a vulnerable version is present\n on the target host.\");\n script_tag(name:\"affected\", value:\"zziplib on Fedora 27\");\n script_tag(name:\"solution\", value:\"Please install the updated packages.\");\n\n script_xref(name:\"FEDORA\", value:\"2018-45183aab17\");\n script_xref(name:\"URL\", value:\"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MKVLTCQZTM4IO2OP63CRKPLX6NQKLQ2O\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n script_category(ACT_GATHER_INFO);\n script_copyright(\"Copyright (C) 2018 Greenbone Networks GmbH\");\n script_family(\"Fedora Local Security Checks\");\n script_dependencies(\"gather-package-list.nasl\");\n script_mandatory_keys(\"ssh/login/fedora\", \"ssh/login/rpms\", re:\"ssh/login/release=FC27\");\n\n exit(0);\n}\n\ninclude(\"revisions-lib.inc\");\ninclude(\"pkg-lib-rpm.inc\");\n\nrelease = rpm_get_ssh_release();\nif(!release)\n exit(0);\n\nres = \"\";\n\nif(release == \"FC27\")\n{\n\n if ((res = isrpmvuln(pkg:\"zziplib\", rpm:\"zziplib~0.13.69~1.fc27\", rls:\"FC27\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if (__pkg_match) exit(99);\n exit(0);\n}\n", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:N/A:P"}}, {"lastseen": "2019-05-29T18:33:22", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-6381", "CVE-2018-7726", "CVE-2018-6541", "CVE-2018-6540", "CVE-2018-7725", "CVE-2018-6484", "CVE-2018-6869"], "description": "The remote host is missing an update for the ", "modified": "2019-03-18T00:00:00", "published": "2018-07-04T00:00:00", "id": "OPENVAS:1361412562310843579", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310843579", "type": "openvas", "title": "Ubuntu Update for zziplib USN-3699-1", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n# $Id: gb_ubuntu_USN_3699_1.nasl 14288 2019-03-18 16:34:17Z cfischer $\n#\n# Ubuntu Update for zziplib USN-3699-1\n#\n# Authors:\n# System Generated Check\n#\n# Copyright:\n# Copyright (C) 2018 Greenbone Networks GmbH, http://www.greenbone.net\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\nif(description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.843579\");\n script_version(\"$Revision: 14288 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2019-03-18 17:34:17 +0100 (Mon, 18 Mar 2019) $\");\n script_tag(name:\"creation_date\", value:\"2018-07-04 05:56:39 +0200 (Wed, 04 Jul 2018)\");\n script_cve_id(\"CVE-2018-6381\", \"CVE-2018-6484\", \"CVE-2018-6540\", \"CVE-2018-6541\",\n \"CVE-2018-6869\", \"CVE-2018-7725\", \"CVE-2018-7726\");\n script_tag(name:\"cvss_base\", value:\"4.3\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:N/I:N/A:P\");\n script_tag(name:\"qod_type\", value:\"package\");\n script_name(\"Ubuntu Update for zziplib USN-3699-1\");\n script_tag(name:\"summary\", value:\"The remote host is missing an update for the 'zziplib'\n package(s) announced via the referenced advisory.\");\n script_tag(name:\"vuldetect\", value:\"Checks if a vulnerable version is present on the target host.\");\n script_tag(name:\"insight\", value:\"It was discovered that zziplib incorrectly handled certain malformed ZIP\nfiles. If a user or automated system were tricked into opening a specially\ncrafted ZIP file, a remote attacker could cause zziplib to crash, resulting\nin a denial of service, or possibly execute arbitrary code.\");\n script_tag(name:\"affected\", value:\"zziplib on Ubuntu 18.04 LTS,\n Ubuntu 17.10,\n Ubuntu 16.04 LTS,\n Ubuntu 14.04 LTS\");\n script_tag(name:\"solution\", value:\"Please install the updated packages.\");\n\n script_xref(name:\"USN\", value:\"3699-1\");\n script_xref(name:\"URL\", value:\"http://www.ubuntu.com/usn/usn-3699-1/\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n script_category(ACT_GATHER_INFO);\n script_copyright(\"Copyright (C) 2018 Greenbone Networks GmbH\");\n script_family(\"Ubuntu Local Security Checks\");\n script_dependencies(\"gather-package-list.nasl\");\n script_mandatory_keys(\"ssh/login/ubuntu_linux\", \"ssh/login/packages\", re:\"ssh/login/release=UBUNTU(14\\.04 LTS|17\\.10|18\\.04 LTS|16\\.04 LTS)\");\n\n exit(0);\n}\n\ninclude(\"revisions-lib.inc\");\ninclude(\"pkg-lib-deb.inc\");\n\nrelease = dpkg_get_ssh_release();\nif(!release)\n exit(0);\n\nres = \"\";\n\nif(release == \"UBUNTU14.04 LTS\")\n{\n\n if ((res = isdpkgvuln(pkg:\"libzzip-0-13\", ver:\"0.13.62-2ubuntu0.2\", rls:\"UBUNTU14.04 LTS\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if (__pkg_match) exit(99);\n exit(0);\n}\n\n\nif(release == \"UBUNTU17.10\")\n{\n\n if ((res = isdpkgvuln(pkg:\"libzzip-0-13\", ver:\"0.13.62-3.1ubuntu0.17.10.1\", rls:\"UBUNTU17.10\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if (__pkg_match) exit(99);\n exit(0);\n}\n\n\nif(release == \"UBUNTU18.04 LTS\")\n{\n\n if ((res = isdpkgvuln(pkg:\"libzzip-0-13\", ver:\"0.13.62-3.1ubuntu0.18.04.1\", rls:\"UBUNTU18.04 LTS\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if (__pkg_match) exit(99);\n exit(0);\n}\n\n\nif(release == \"UBUNTU16.04 LTS\")\n{\n\n if ((res = isdpkgvuln(pkg:\"libzzip-0-13\", ver:\"0.13.62-3ubuntu0.16.04.2\", rls:\"UBUNTU16.04 LTS\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if (__pkg_match) exit(99);\n exit(0);\n}\n", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:N/A:P"}}, {"lastseen": "2020-06-30T16:02:24", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-16548", "CVE-2018-6381", "CVE-2018-7726", "CVE-2018-6541", "CVE-2018-6540", "CVE-2018-7725", "CVE-2018-6484", "CVE-2018-6869"], "description": "The remote host is missing an update for the ", "modified": "2020-06-29T00:00:00", "published": "2020-06-29T00:00:00", "id": "OPENVAS:1361412562310892258", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310892258", "type": "openvas", "title": "Debian LTS: Security Advisory for zziplib (DLA-2258-1)", "sourceData": "# Copyright (C) 2020 Greenbone Networks GmbH\n# Some text descriptions might be excerpted from (a) referenced\n# source(s), and are Copyright (C) by the respective right holder(s).\n#\n# SPDX-License-Identifier: GPL-2.0-or-later\n#\n# This program is free software; you can redistribute it and/or\n# modify it under the terms of the GNU General Public License\n# as published by the Free Software Foundation; either version 2\n# of the License, or (at your option) any later version.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n\nif(description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.892258\");\n script_version(\"2020-06-29T03:00:20+0000\");\n script_cve_id(\"CVE-2018-16548\", \"CVE-2018-6381\", \"CVE-2018-6484\", \"CVE-2018-6540\", \"CVE-2018-6541\", \"CVE-2018-6869\", \"CVE-2018-7725\", \"CVE-2018-7726\");\n script_tag(name:\"cvss_base\", value:\"4.3\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:N/I:N/A:P\");\n script_tag(name:\"last_modification\", value:\"2020-06-29 03:00:20 +0000 (Mon, 29 Jun 2020)\");\n script_tag(name:\"creation_date\", value:\"2020-06-29 03:00:20 +0000 (Mon, 29 Jun 2020)\");\n script_name(\"Debian LTS: Security Advisory for zziplib (DLA-2258-1)\");\n script_category(ACT_GATHER_INFO);\n script_copyright(\"Copyright (C) 2020 Greenbone Networks GmbH\");\n script_family(\"Debian Local Security Checks\");\n script_dependencies(\"gather-package-list.nasl\");\n script_mandatory_keys(\"ssh/login/debian_linux\", \"ssh/login/packages\", re:\"ssh/login/release=DEB8\");\n\n script_xref(name:\"URL\", value:\"https://lists.debian.org/debian-lts-announce/2020/06/msg00029.html\");\n script_xref(name:\"URL\", value:\"https://security-tracker.debian.org/tracker/DLA-2258-1\");\n\n script_tag(name:\"summary\", value:\"The remote host is missing an update for the 'zziplib'\n package(s) announced via the DLA-2258-1 advisory.\");\n\n script_tag(name:\"vuldetect\", value:\"Checks if a vulnerable package version is present on the target host.\");\n\n script_tag(name:\"insight\", value:\"Several issues have been fixed in zziplib, a library providing read access\non ZIP-archives. They are basically all related to invalid memory access\nand resulting crash or memory leak.\");\n\n script_tag(name:\"affected\", value:\"'zziplib' package(s) on Debian Linux.\");\n\n script_tag(name:\"solution\", value:\"For Debian 8 'Jessie', these problems have been fixed in version\n0.13.62-3+deb8u2.\n\nWe recommend that you upgrade your zziplib packages.\");\n\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n script_tag(name:\"qod_type\", value:\"package\");\n\n exit(0);\n}\n\ninclude(\"revisions-lib.inc\");\ninclude(\"pkg-lib-deb.inc\");\n\nres = \"\";\nreport = \"\";\nif(!isnull(res = isdpkgvuln(pkg:\"libzzip-0-13\", ver:\"0.13.62-3+deb8u2\", rls:\"DEB8\"))) {\n report += res;\n}\nif(!isnull(res = isdpkgvuln(pkg:\"libzzip-dev\", ver:\"0.13.62-3+deb8u2\", rls:\"DEB8\"))) {\n report += res;\n}\nif(!isnull(res = isdpkgvuln(pkg:\"zziplib-bin\", ver:\"0.13.62-3+deb8u2\", rls:\"DEB8\"))) {\n report += res;\n}\n\nif(report != \"\") {\n security_message(data:report);\n} else if(__pkg_match) {\n exit(99);\n}\n\nexit(0);\n", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:N/A:P"}}, {"lastseen": "2020-01-27T18:38:31", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-16548", "CVE-2018-6381", "CVE-2017-5974", "CVE-2018-6541", "CVE-2017-5979", "CVE-2018-6540", "CVE-2017-5976", "CVE-2017-5975", "CVE-2017-5981", "CVE-2017-5978", "CVE-2018-6484", "CVE-2017-5977", "CVE-2018-6869"], "description": "The remote host is missing an update for the Huawei EulerOS\n ", "modified": "2020-01-23T00:00:00", "published": "2020-01-23T00:00:00", "id": "OPENVAS:1361412562311220192478", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562311220192478", "type": "openvas", "title": "Huawei EulerOS: Security Advisory for zziplib (EulerOS-SA-2019-2478)", "sourceData": "# Copyright (C) 2020 Greenbone Networks GmbH\n# Text descriptions are largely excerpted from the referenced\n# advisory, and are Copyright (C) the respective author(s)\n#\n# SPDX-License-Identifier: GPL-2.0-or-later\n#\n# This program is free software; you can redistribute it and/or\n# modify it under the terms of the GNU General Public License\n# as published by the Free Software Foundation; either version 2\n# of the License, or (at your option) any later version.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n\nif(description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.1.2.2019.2478\");\n script_version(\"2020-01-23T13:00:53+0000\");\n script_cve_id(\"CVE-2017-5974\", \"CVE-2017-5975\", \"CVE-2017-5976\", \"CVE-2017-5977\", \"CVE-2017-5978\", \"CVE-2017-5979\", \"CVE-2017-5981\", \"CVE-2018-16548\", \"CVE-2018-6381\", \"CVE-2018-6484\", \"CVE-2018-6540\", \"CVE-2018-6541\", \"CVE-2018-6869\");\n script_tag(name:\"cvss_base\", value:\"4.3\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:N/I:N/A:P\");\n script_tag(name:\"last_modification\", value:\"2020-01-23 13:00:53 +0000 (Thu, 23 Jan 2020)\");\n script_tag(name:\"creation_date\", value:\"2020-01-23 13:00:53 +0000 (Thu, 23 Jan 2020)\");\n script_name(\"Huawei EulerOS: Security Advisory for zziplib (EulerOS-SA-2019-2478)\");\n script_category(ACT_GATHER_INFO);\n script_copyright(\"Copyright (C) 2020 Greenbone Networks GmbH\");\n script_family(\"Huawei EulerOS Local Security Checks\");\n script_dependencies(\"gb_huawei_euleros_consolidation.nasl\");\n script_mandatory_keys(\"ssh/login/euleros\", \"ssh/login/rpms\", re:\"ssh/login/release=EULEROS-2\\.0SP2\");\n\n script_xref(name:\"EulerOS-SA\", value:\"2019-2478\");\n script_xref(name:\"URL\", value:\"https://developer.huaweicloud.com/ict/en/site-euleros/euleros/security-advisories/EulerOS-SA-2019-2478\");\n\n script_tag(name:\"summary\", value:\"The remote host is missing an update for the Huawei EulerOS\n 'zziplib' package(s) announced via the EulerOS-SA-2019-2478 advisory.\");\n\n script_tag(name:\"vuldetect\", value:\"Checks if a vulnerable package version is present on the target host.\");\n\n script_tag(name:\"insight\", value:\"An issue was discovered in ZZIPlib through 0.13.69. There is a memory leak triggered in the function __zzip_parse_root_directory in zip.c, which will lead to a denial of service attack.(CVE-2018-16548)\n\nIn ZZIPlib 0.13.67, there is a segmentation fault caused by invalid memory access in the zzip_disk_fread function (zzip/mmapped.c) because the size variable is not validated against the amount of file-stored data.(CVE-2018-6381)\n\nIn ZZIPlib 0.13.67, there is a memory alignment error and bus error in the __zzip_fetch_disk_trailer function of zzip/zip.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted zip file.(CVE-2018-6484)\n\nIn ZZIPlib 0.13.67, there is a bus error caused by loading of a misaligned address in the zzip_disk_findfirst function of zzip/mmapped.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted zip file.(CVE-2018-6540)\n\nIn ZZIPlib 0.13.67, there is a bus error caused by loading of a misaligned address (when handling disk64_trailer local entries) in __zzip_fetch_disk_trailer (zzip/zip.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted zip file.(CVE-2018-6541)\n\nIn ZZIPlib 0.13.68, there is an uncontrolled memory allocation and a crash in the __zzip_parse_root_directory function of zzip/zip.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted zip file.(CVE-2018-6869)\n\nThe prescan_entry function in fseeko.c in zziplib 0.13.62 allows remote attackers to cause a denial of service (NULL pointer dereference and crash) via a crafted ZIP file.(CVE-2017-5979)\n\nseeko.c in zziplib 0.13.62 allows remote attackers to cause a denial of service (assertion failure and crash) via a crafted ZIP file.(CVE-2017-5981)\n\nThe zzip_mem_entry_new function in memdisk.c in zziplib 0.13.62 allows remote attackers to cause a denial of service (out-of-bounds read and crash) via a crafted ZIP file.(CVE-2017-5978)\n\nHeap-based buffer overflow in the __zzip_get32 function in fetch.c in zziplib 0.13.62 allows remote attackers to cause a denial of service (crash) via a crafted ZIP file.(CVE-2017-5974)\n\nHeap-based buffer overflow in the zzip_mem_entry_extra_block function in memdisk.c in zziplib 0.13.62 allows remote attackers to cause a denial of service (crash) via a crafted ZIP file.(CVE-2017-5976)\n\nHeap-based buffer overflow in the __zzip_get64 function in fetch.c in zziplib 0.13.62 allows remote attackers to cause a denial of service (crash) via a crafted ZIP file.(CVE-2017-5975)\n\nThe zzip_mem_entry_extra_block function in memdisk.c in zziplib 0.13.62 allows remote attackers to cause a denial of service (invalid memory read and crash) via a crafted ZIP file.(CVE-2017-5977)\");\n\n script_tag(name:\"affected\", value:\"'zziplib' package(s) on Huawei EulerOS V2.0SP2.\");\n\n script_tag(name:\"solution\", value:\"Please install the updated package(s).\");\n\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n script_tag(name:\"qod_type\", value:\"package\");\n\n exit(0);\n}\n\ninclude(\"revisions-lib.inc\");\ninclude(\"pkg-lib-rpm.inc\");\n\nrelease = rpm_get_ssh_release();\nif(!release)\n exit(0);\n\nres = \"\";\nreport = \"\";\n\nif(release == \"EULEROS-2.0SP2\") {\n\n if(!isnull(res = isrpmvuln(pkg:\"zziplib\", rpm:\"zziplib~0.13.62~9.h3\", rls:\"EULEROS-2.0SP2\"))) {\n report += res;\n }\n\n if(report != \"\") {\n security_message(data:report);\n } else if (__pkg_match) {\n exit(99);\n }\n exit(0);\n}\n\nexit(0);", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:N/A:P"}}, {"lastseen": "2020-01-27T18:34:11", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-16548", "CVE-2018-6381", "CVE-2017-5974", "CVE-2018-6541", "CVE-2017-5979", "CVE-2018-6540", "CVE-2017-5976", "CVE-2017-5975", "CVE-2017-5981", "CVE-2017-5978", "CVE-2018-6484", "CVE-2017-5977", "CVE-2018-6869"], "description": "The remote host is missing an update for the Huawei EulerOS\n ", "modified": "2020-01-23T00:00:00", "published": "2020-01-23T00:00:00", "id": "OPENVAS:1361412562311220192685", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562311220192685", "type": "openvas", "title": "Huawei EulerOS: Security Advisory for zziplib (EulerOS-SA-2019-2685)", "sourceData": "# Copyright (C) 2020 Greenbone Networks GmbH\n# Text descriptions are largely excerpted from the referenced\n# advisory, and are Copyright (C) the respective author(s)\n#\n# SPDX-License-Identifier: GPL-2.0-or-later\n#\n# This program is free software; you can redistribute it and/or\n# modify it under the terms of the GNU General Public License\n# as published by the Free Software Foundation; either version 2\n# of the License, or (at your option) any later version.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n\nif(description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.1.2.2019.2685\");\n script_version(\"2020-01-23T13:13:55+0000\");\n script_cve_id(\"CVE-2017-5974\", \"CVE-2017-5975\", \"CVE-2017-5976\", \"CVE-2017-5977\", \"CVE-2017-5978\", \"CVE-2017-5979\", \"CVE-2017-5981\", \"CVE-2018-16548\", \"CVE-2018-6381\", \"CVE-2018-6484\", \"CVE-2018-6540\", \"CVE-2018-6541\", \"CVE-2018-6869\");\n script_tag(name:\"cvss_base\", value:\"4.3\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:M/Au:N/C:N/I:N/A:P\");\n script_tag(name:\"last_modification\", value:\"2020-01-23 13:13:55 +0000 (Thu, 23 Jan 2020)\");\n script_tag(name:\"creation_date\", value:\"2020-01-23 13:13:55 +0000 (Thu, 23 Jan 2020)\");\n script_name(\"Huawei EulerOS: Security Advisory for zziplib (EulerOS-SA-2019-2685)\");\n script_category(ACT_GATHER_INFO);\n script_copyright(\"Copyright (C) 2020 Greenbone Networks GmbH\");\n script_family(\"Huawei EulerOS Local Security Checks\");\n script_dependencies(\"gb_huawei_euleros_consolidation.nasl\");\n script_mandatory_keys(\"ssh/login/euleros\", \"ssh/login/rpms\", re:\"ssh/login/release=EULEROS-2\\.0SP3\");\n\n script_xref(name:\"EulerOS-SA\", value:\"2019-2685\");\n script_xref(name:\"URL\", value:\"https://developer.huaweicloud.com/ict/en/site-euleros/euleros/security-advisories/EulerOS-SA-2019-2685\");\n\n script_tag(name:\"summary\", value:\"The remote host is missing an update for the Huawei EulerOS\n 'zziplib' package(s) announced via the EulerOS-SA-2019-2685 advisory.\");\n\n script_tag(name:\"vuldetect\", value:\"Checks if a vulnerable package version is present on the target host.\");\n\n script_tag(name:\"insight\", value:\"An issue was discovered in ZZIPlib through 0.13.69. There is a memory leak triggered in the function __zzip_parse_root_directory in zip.c, which will lead to a denial of service attack.(CVE-2018-16548)\n\nHeap-based buffer overflow in the __zzip_get32 function in fetch.c in zziplib 0.13.62 allows remote attackers to cause a denial of service (crash) via a crafted ZIP file.(CVE-2017-5974)\n\nHeap-based buffer overflow in the __zzip_get64 function in fetch.c in zziplib 0.13.62 allows remote attackers to cause a denial of service (crash) via a crafted ZIP file.(CVE-2017-5975)\n\nHeap-based buffer overflow in the zzip_mem_entry_extra_block function in memdisk.c in zziplib 0.13.62 allows remote attackers to cause a denial of service (crash) via a crafted ZIP file.(CVE-2017-5976)\n\nIn ZZIPlib 0.13.67, there is a bus error caused by loading of a misaligned address (when handling disk64_trailer local entries) in __zzip_fetch_disk_trailer (zzip/zip.c). Remote attackers could leverage this vulnerability to cause a denial of service via a crafted zip file.(CVE-2018-6541)\n\nIn ZZIPlib 0.13.67, there is a bus error caused by loading of a misaligned address in the zzip_disk_findfirst function of zzip/mmapped.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted zip file.(CVE-2018-6540)\n\nIn ZZIPlib 0.13.67, there is a memory alignment error and bus error in the __zzip_fetch_disk_trailer function of zzip/zip.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted zip file.(CVE-2018-6484)\n\nIn ZZIPlib 0.13.67, there is a segmentation fault caused by invalid memory access in the zzip_disk_fread function (zzip/mmapped.c) because the size variable is not validated against the amount of file-stored data.(CVE-2018-6381)\n\nIn ZZIPlib 0.13.68, there is an uncontrolled memory allocation and a crash in the __zzip_parse_root_directory function of zzip/zip.c. Remote attackers could leverage this vulnerability to cause a denial of service via a crafted zip file.(CVE-2018-6869)\n\nseeko.c in zziplib 0.13.62 allows remote attackers to cause a denial of service (assertion failure and crash) via a crafted ZIP file.(CVE-2017-5981)\n\nThe prescan_entry function in fseeko.c in zziplib 0.13.62 allows remote attackers to cause a denial of service (NULL pointer dereference and crash) via a crafted ZIP file.(CVE-2017-5979)\n\nThe zzip_mem_entry_extra_block function in memdisk.c in zziplib 0.13.62 allows remote attackers to cause a denial of service (invalid memory read and crash) via a crafted ZIP file.(CVE-2017-5977)\n\nThe zzip_mem_entry_new function in memdisk.c in zziplib 0.13.62 allows remote attackers to cause a denial of service (out-of-bounds read and crash) via a crafted ZIP file.(CVE-2017-5978)\");\n\n script_tag(name:\"affected\", value:\"'zziplib' package(s) on Huawei EulerOS V2.0SP3.\");\n\n script_tag(name:\"solution\", value:\"Please install the updated package(s).\");\n\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n script_tag(name:\"qod_type\", value:\"package\");\n\n exit(0);\n}\n\ninclude(\"revisions-lib.inc\");\ninclude(\"pkg-lib-rpm.inc\");\n\nrelease = rpm_get_ssh_release();\nif(!release)\n exit(0);\n\nres = \"\";\nreport = \"\";\n\nif(release == \"EULEROS-2.0SP3\") {\n\n if(!isnull(res = isrpmvuln(pkg:\"zziplib\", rpm:\"zziplib~0.13.62~9.h3\", rls:\"EULEROS-2.0SP3\"))) {\n report += res;\n }\n\n if(report != \"\") {\n security_message(data:report);\n } else if (__pkg_match) {\n exit(99);\n }\n exit(0);\n}\n\nexit(0);", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:N/A:P"}}], "nessus": [{"lastseen": "2021-01-07T10:20:23", "description": "Security fix for CVE-2018-6381\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the Fedora update system website.\nTenable has attempted to automatically clean and format it as much as\npossible without introducing additional issues.", "edition": 18, "cvss3": {"score": 6.5, "vector": "AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}, "published": "2018-02-07T00:00:00", "title": "Fedora 27 : zziplib (2018-a24be2586d)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-6381"], "modified": "2018-02-07T00:00:00", "cpe": ["cpe:/o:fedoraproject:fedora:27", "p-cpe:/a:fedoraproject:fedora:zziplib"], "id": "FEDORA_2018-A24BE2586D.NASL", "href": "https://www.tenable.com/plugins/nessus/106642", "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were \n# extracted from Fedora Security Advisory FEDORA-2018-a24be2586d.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(106642);\n script_version(\"3.6\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/06\");\n\n script_cve_id(\"CVE-2018-6381\");\n script_xref(name:\"FEDORA\", value:\"2018-a24be2586d\");\n\n script_name(english:\"Fedora 27 : zziplib (2018-a24be2586d)\");\n script_summary(english:\"Checks rpm output for the updated package.\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote Fedora host is missing a security update.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"Security fix for CVE-2018-6381\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the Fedora update system website.\nTenable has attempted to automatically clean and format it as much as\npossible without introducing additional issues.\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bodhi.fedoraproject.org/updates/FEDORA-2018-a24be2586d\"\n );\n script_set_attribute(\n attribute:\"solution\", \n value:\"Update the affected zziplib package.\"\n );\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:fedoraproject:fedora:zziplib\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:fedoraproject:fedora:27\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2018/01/29\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2018/02/06\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2018/02/07\");\n script_set_attribute(attribute:\"generated_plugin\", value:\"current\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2018-2021 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n script_family(english:\"Fedora Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/RedHat/release\", \"Host/RedHat/rpm-list\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"rpm.inc\");\n\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nrelease = get_kb_item(\"Host/RedHat/release\");\nif (isnull(release) || \"Fedora\" >!< release) audit(AUDIT_OS_NOT, \"Fedora\");\nos_ver = pregmatch(pattern: \"Fedora.*release ([0-9]+)\", string:release);\nif (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, \"Fedora\");\nos_ver = os_ver[1];\nif (! preg(pattern:\"^27([^0-9]|$)\", string:os_ver)) audit(AUDIT_OS_NOT, \"Fedora 27\", \"Fedora \" + os_ver);\n\nif (!get_kb_item(\"Host/RedHat/rpm-list\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\n\ncpu = get_kb_item(\"Host/cpu\");\nif (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);\nif (\"x86_64\" >!< cpu && cpu !~ \"^i[3-6]86$\") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, \"Fedora\", cpu);\n\n\nflag = 0;\nif (rpm_check(release:\"FC27\", reference:\"zziplib-0.13.67-1.fc27\")) flag++;\n\n\nif (flag)\n{\n security_report_v4(\n port : 0,\n severity : SECURITY_WARNING,\n extra : rpm_report_get()\n );\n exit(0);\n}\nelse\n{\n tested = pkg_tests_get();\n if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);\n else audit(AUDIT_PACKAGE_NOT_INSTALLED, \"zziplib\");\n}\n", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:N/A:P"}}, {"lastseen": "2021-01-07T09:07:13", "description": "According to the versions of the zziplib package installed, the\nEulerOS installation on the remote host is affected by the following\nvulnerabilities :\n\n - In ZZIPlib 0.13.67, 0.13.66, 0.13.65, 0.13.64 and\n 0.13.63 there is a segmentation fault caused by invalid\n memory access in the zzip_disk_fread function\n (zzip/mmapped.c) because the size variable is not\n validated against the amount of file->stored\n data.(CVE-2018-6381)\n\n - In ZZIPlib 0.13.67, there is a bus error caused by\n loading of a misaligned address in the\n zzip_disk_findfirst function of zzip/mmapped.c. Remote\n attackers could leverage this vulnerability to cause a\n denial of service via a crafted zip\n file.(CVE-2018-6540)\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the EulerOS security advisory. Tenable\nhas attempted to automatically clean and format it as much as possible\nwithout introducing additional issues.", "edition": 3, "cvss3": {"score": 6.5, "vector": "AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}, "published": "2020-12-15T00:00:00", "title": "EulerOS 2.0 SP5 : zziplib (EulerOS-SA-2020-2571)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-6381", "CVE-2018-6540"], "modified": "2020-12-15T00:00:00", "cpe": ["p-cpe:/a:huawei:euleros:zziplib", "cpe:/o:huawei:euleros:2.0"], "id": "EULEROS_SA-2020-2571.NASL", "href": "https://www.tenable.com/plugins/nessus/144256", "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(144256);\n script_version(\"1.3\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/06\");\n\n script_cve_id(\n \"CVE-2018-6381\",\n \"CVE-2018-6540\"\n );\n\n script_name(english:\"EulerOS 2.0 SP5 : zziplib (EulerOS-SA-2020-2571)\");\n script_summary(english:\"Checks the rpm output for the updated packages.\");\n\n script_set_attribute(attribute:\"synopsis\", value:\n\"The remote EulerOS host is missing multiple security updates.\");\n script_set_attribute(attribute:\"description\", value:\n\"According to the versions of the zziplib package installed, the\nEulerOS installation on the remote host is affected by the following\nvulnerabilities :\n\n - In ZZIPlib 0.13.67, 0.13.66, 0.13.65, 0.13.64 and\n 0.13.63 there is a segmentation fault caused by invalid\n memory access in the zzip_disk_fread function\n (zzip/mmapped.c) because the size variable is not\n validated against the amount of file->stored\n data.(CVE-2018-6381)\n\n - In ZZIPlib 0.13.67, there is a bus error caused by\n loading of a misaligned address in the\n zzip_disk_findfirst function of zzip/mmapped.c. Remote\n attackers could leverage this vulnerability to cause a\n denial of service via a crafted zip\n file.(CVE-2018-6540)\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the EulerOS security advisory. Tenable\nhas attempted to automatically clean and format it as much as possible\nwithout introducing additional issues.\");\n # https://developer.huaweicloud.com/ict/en/site-euleros/euleros/security-advisories/EulerOS-SA-2020-2571\n script_set_attribute(attribute:\"see_also\", value:\"http://www.nessus.org/u?aa57131f\");\n script_set_attribute(attribute:\"solution\", value:\n\"Update the affected zziplib packages.\");\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P\");\n script_set_cvss_temporal_vector(\"CVSS2#E:U/RL:OF/RC:C\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H\");\n script_set_cvss3_temporal_vector(\"CVSS:3.0/E:U/RL:O/RC:C\");\n script_set_attribute(attribute:\"exploitability_ease\", value:\"No known exploits are available\");\n\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2020/12/15\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2020/12/15\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:huawei:euleros:zziplib\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:huawei:euleros:2.0\");\n script_set_attribute(attribute:\"generated_plugin\", value:\"current\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_family(english:\"Huawei Local Security Checks\");\n\n script_copyright(english:\"This script is Copyright (C) 2020-2021 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/EulerOS/release\", \"Host/EulerOS/rpm-list\", \"Host/EulerOS/sp\");\n script_exclude_keys(\"Host/EulerOS/uvp_version\");\n\n exit(0);\n}\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"rpm.inc\");\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\n\nrelease = get_kb_item(\"Host/EulerOS/release\");\nif (isnull(release) || release !~ \"^EulerOS\") audit(AUDIT_OS_NOT, \"EulerOS\");\nif (release !~ \"^EulerOS release 2\\.0(\\D|$)\") audit(AUDIT_OS_NOT, \"EulerOS 2.0\");\n\nsp = get_kb_item(\"Host/EulerOS/sp\");\nif (isnull(sp) || sp !~ \"^(5)$\") audit(AUDIT_OS_NOT, \"EulerOS 2.0 SP5\");\n\nuvp = get_kb_item(\"Host/EulerOS/uvp_version\");\nif (!empty_or_null(uvp)) audit(AUDIT_OS_NOT, \"EulerOS 2.0 SP5\", \"EulerOS UVP \" + uvp);\n\nif (!get_kb_item(\"Host/EulerOS/rpm-list\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\ncpu = get_kb_item(\"Host/cpu\");\nif (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);\nif (\"x86_64\" >!< cpu && cpu !~ \"^i[3-6]86$\" && \"aarch64\" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, \"EulerOS\", cpu);\nif (\"x86_64\" >!< cpu && cpu !~ \"^i[3-6]86$\") audit(AUDIT_ARCH_NOT, \"i686 / x86_64\", cpu);\n\nflag = 0;\n\npkgs = [\"zziplib-0.13.62-11.h1.eulerosv2r7\"];\n\nforeach (pkg in pkgs)\n if (rpm_check(release:\"EulerOS-2.0\", sp:\"5\", reference:pkg)) flag++;\n\nif (flag)\n{\n security_report_v4(\n port : 0,\n severity : SECURITY_WARNING,\n extra : rpm_report_get()\n );\n exit(0);\n}\nelse\n{\n tested = pkg_tests_get();\n if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);\n else audit(AUDIT_PACKAGE_NOT_INSTALLED, \"zziplib\");\n}\n", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:N/A:P"}}, {"lastseen": "2021-03-01T06:52:50", "description": "This update for zziplib fixes the following issues: Version update to\n0.13.67 contains lots of bug- and security fixes.\n\n - If an extension block is too small to hold an extension,\n do not use the information therein.\n\n - CVE-2018-6540: If the End of central directory record\n (EOCD) contains an Offset of start of central directory\n which is beyond the end of the file, reject the file.\n (bsc#1079096)\n\n - CVE-2018-6484: Reject the ZIP file and report it as\n corrupt if the size of the central directory and/or the\n offset of start of central directory point beyond the\n end of the ZIP file. (bsc#1078701)\n\n - CVE-2018-6381: If a file is uncompressed, compressed and\n uncompressed sizes should be identical. (bsc#1078497)\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the SUSE security advisory. Tenable\nhas attempted to automatically clean and format it as much as possible\nwithout introducing additional issues.", "edition": 25, "cvss3": {"score": 6.5, "vector": "AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}, "published": "2018-02-28T00:00:00", "title": "SUSE SLED12 Security Update : zziplib (SUSE-SU-2018:0548-1)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-6381", "CVE-2018-6540", "CVE-2018-6484"], "modified": "2021-03-02T00:00:00", "cpe": ["cpe:/o:novell:suse_linux:12", "p-cpe:/a:novell:suse_linux:zziplib-debugsource", "p-cpe:/a:novell:suse_linux:libzzip-0-13-debuginfo", "p-cpe:/a:novell:suse_linux:libzzip-0"], "id": "SUSE_SU-2018-0548-1.NASL", "href": "https://www.tenable.com/plugins/nessus/107054", "sourceData": "#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were\n# extracted from SUSE update advisory SUSE-SU-2018:0548-1.\n# The text itself is copyright (C) SUSE.\n#\n\ninclude(\"compat.inc\");\n\nif (description)\n{\n script_id(107054);\n script_version(\"3.4\");\n script_cvs_date(\"Date: 2019/09/10 13:51:47\");\n\n script_cve_id(\"CVE-2018-6381\", \"CVE-2018-6484\", \"CVE-2018-6540\");\n\n script_name(english:\"SUSE SLED12 Security Update : zziplib (SUSE-SU-2018:0548-1)\");\n script_summary(english:\"Checks rpm output for the updated packages.\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote SUSE host is missing one or more security updates.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"This update for zziplib fixes the following issues: Version update to\n0.13.67 contains lots of bug- and security fixes.\n\n - If an extension block is too small to hold an extension,\n do not use the information therein.\n\n - CVE-2018-6540: If the End of central directory record\n (EOCD) contains an Offset of start of central directory\n which is beyond the end of the file, reject the file.\n (bsc#1079096)\n\n - CVE-2018-6484: Reject the ZIP file and report it as\n corrupt if the size of the central directory and/or the\n offset of start of central directory point beyond the\n end of the ZIP file. (bsc#1078701)\n\n - CVE-2018-6381: If a file is uncompressed, compressed and\n uncompressed sizes should be identical. (bsc#1078497)\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the SUSE security advisory. Tenable\nhas attempted to automatically clean and format it as much as possible\nwithout introducing additional issues.\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.suse.com/show_bug.cgi?id=1024532\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.suse.com/show_bug.cgi?id=1024536\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.suse.com/show_bug.cgi?id=1034539\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.suse.com/show_bug.cgi?id=1078497\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.suse.com/show_bug.cgi?id=1078701\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.suse.com/show_bug.cgi?id=1079096\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://www.suse.com/security/cve/CVE-2018-6381/\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://www.suse.com/security/cve/CVE-2018-6484/\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://www.suse.com/security/cve/CVE-2018-6540/\"\n );\n # https://www.suse.com/support/update/announcement/2018/suse-su-20180548-1/\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?63fcebb6\"\n );\n script_set_attribute(\n attribute:\"solution\", \n value:\n\"To install this SUSE Security Update use YaST online_update.\nAlternatively you can run the command listed for your product :\n\nSUSE Linux Enterprise Workstation Extension 12-SP3:zypper in -t patch\nSUSE-SLE-WE-12-SP3-2018-357=1\n\nSUSE Linux Enterprise Workstation Extension 12-SP2:zypper in -t patch\nSUSE-SLE-WE-12-SP2-2018-357=1\n\nSUSE Linux Enterprise Software Development Kit 12-SP3:zypper in -t\npatch SUSE-SLE-SDK-12-SP3-2018-357=1\n\nSUSE Linux Enterprise Software Development Kit 12-SP2:zypper in -t\npatch SUSE-SLE-SDK-12-SP2-2018-357=1\n\nSUSE Linux Enterprise Desktop 12-SP3:zypper in -t patch\nSUSE-SLE-DESKTOP-12-SP3-2018-357=1\n\nSUSE Linux Enterprise Desktop 12-SP2:zypper in -t patch\nSUSE-SLE-DESKTOP-12-SP2-2018-357=1\n\nTo bring your system up-to-date, use 'zypper patch'.\"\n );\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P\");\n script_set_cvss_temporal_vector(\"CVSS2#E:U/RL:OF/RC:C\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H\");\n script_set_cvss3_temporal_vector(\"CVSS:3.0/E:U/RL:O/RC:C\");\n script_set_attribute(attribute:\"exploitability_ease\", value:\"No known exploits are available\");\n script_set_attribute(attribute:\"exploit_available\", value:\"false\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:suse_linux:libzzip-0\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:suse_linux:libzzip-0-13-debuginfo\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:suse_linux:zziplib-debugsource\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:novell:suse_linux:12\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2018/01/29\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2018/02/27\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2018/02/28\");\n script_set_attribute(attribute:\"generated_plugin\", value:\"current\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n script_family(english:\"SuSE Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/cpu\", \"Host/SuSE/release\", \"Host/SuSE/rpm-list\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"rpm.inc\");\n\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nrelease = get_kb_item(\"Host/SuSE/release\");\nif (isnull(release) || release !~ \"^(SLED|SLES)\") audit(AUDIT_OS_NOT, \"SUSE\");\nos_ver = pregmatch(pattern: \"^(SLE(S|D)\\d+)\", string:release);\nif (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, \"SUSE\");\nos_ver = os_ver[1];\nif (! preg(pattern:\"^(SLED12)$\", string:os_ver)) audit(AUDIT_OS_NOT, \"SUSE SLED12\", \"SUSE \" + os_ver);\n\nif (!get_kb_item(\"Host/SuSE/rpm-list\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\ncpu = get_kb_item(\"Host/cpu\");\nif (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);\nif (cpu !~ \"^i[3-6]86$\" && \"x86_64\" >!< cpu && \"s390x\" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, \"SUSE \" + os_ver, cpu);\nif (cpu >!< \"x86_64\") audit(AUDIT_ARCH_NOT, \"x86_64\", cpu);\n\n\nsp = get_kb_item(\"Host/SuSE/patchlevel\");\nif (isnull(sp)) sp = \"0\";\nif (os_ver == \"SLED12\" && (! preg(pattern:\"^(2|3)$\", string:sp))) audit(AUDIT_OS_NOT, \"SLED12 SP2/3\", os_ver + \" SP\" + sp);\n\n\nflag = 0;\nif (rpm_check(release:\"SLED12\", sp:\"3\", cpu:\"x86_64\", reference:\"libzzip-0-13-0.13.67-10.5.1\")) flag++;\nif (rpm_check(release:\"SLED12\", sp:\"3\", cpu:\"x86_64\", reference:\"libzzip-0-13-debuginfo-0.13.67-10.5.1\")) flag++;\nif (rpm_check(release:\"SLED12\", sp:\"3\", cpu:\"x86_64\", reference:\"zziplib-debugsource-0.13.67-10.5.1\")) flag++;\nif (rpm_check(release:\"SLED12\", sp:\"2\", cpu:\"x86_64\", reference:\"libzzip-0-13-0.13.67-10.5.1\")) flag++;\nif (rpm_check(release:\"SLED12\", sp:\"2\", cpu:\"x86_64\", reference:\"libzzip-0-13-debuginfo-0.13.67-10.5.1\")) flag++;\nif (rpm_check(release:\"SLED12\", sp:\"2\", cpu:\"x86_64\", reference:\"zziplib-debugsource-0.13.67-10.5.1\")) flag++;\n\n\nif (flag)\n{\n if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());\n else security_warning(0);\n exit(0);\n}\nelse\n{\n tested = pkg_tests_get();\n if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);\n else audit(AUDIT_PACKAGE_NOT_INSTALLED, \"zziplib\");\n}\n", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:N/A:P"}}, {"lastseen": "2021-01-20T12:36:10", "description": "This update for zziplib to 0.13.67 contains multiple bug and security\nfixes :\n\n - If an extension block is too small to hold an extension,\n do not use the information therein.\n\n - CVE-2018-6540: If the End of central directory record\n (EOCD) contains an Offset of start of central directory\n which is beyond the end of the file, reject the file.\n (bsc#1079096)\n\n - CVE-2018-6484: Reject the ZIP file and report it as\n corrupt if the size of the central directory and/or the\n offset of start of central directory point beyond the\n end of the ZIP file. (bsc#1078701)\n\n - CVE-2018-6381: If a file is uncompressed, compressed and\n uncompressed sizes should be identical. (bsc#1078497)\n\nThis update was imported from the SUSE:SLE-12:Update update project.", "edition": 16, "cvss3": {"score": 6.5, "vector": "AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}, "published": "2018-02-28T00:00:00", "title": "openSUSE Security Update : zziplib (openSUSE-2018-215)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-6381", "CVE-2018-6540", "CVE-2018-6484"], "modified": "2018-02-28T00:00:00", "cpe": ["p-cpe:/a:novell:opensuse:libzzip-0-13", "p-cpe:/a:novell:opensuse:zziplib-devel", "p-cpe:/a:novell:opensuse:libzzip-0-13-debuginfo", "p-cpe:/a:novell:opensuse:libzzip-0-13-debuginfo-32bit", "p-cpe:/a:novell:opensuse:zziplib-devel-32bit", "p-cpe:/a:novell:opensuse:zziplib-devel-debuginfo", "cpe:/o:novell:opensuse:42.3", "p-cpe:/a:novell:opensuse:zziplib-debugsource", "p-cpe:/a:novell:opensuse:zziplib-devel-debuginfo-32bit", "p-cpe:/a:novell:opensuse:libzzip-0-13-32bit"], "id": "OPENSUSE-2018-215.NASL", "href": "https://www.tenable.com/plugins/nessus/107049", "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were\n# extracted from openSUSE Security Update openSUSE-2018-215.\n#\n# The text description of this plugin is (C) SUSE LLC.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(107049);\n script_version(\"3.3\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/19\");\n\n script_cve_id(\"CVE-2018-6381\", \"CVE-2018-6484\", \"CVE-2018-6540\");\n\n script_name(english:\"openSUSE Security Update : zziplib (openSUSE-2018-215)\");\n script_summary(english:\"Check for the openSUSE-2018-215 patch\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote openSUSE host is missing a security update.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"This update for zziplib to 0.13.67 contains multiple bug and security\nfixes :\n\n - If an extension block is too small to hold an extension,\n do not use the information therein.\n\n - CVE-2018-6540: If the End of central directory record\n (EOCD) contains an Offset of start of central directory\n which is beyond the end of the file, reject the file.\n (bsc#1079096)\n\n - CVE-2018-6484: Reject the ZIP file and report it as\n corrupt if the size of the central directory and/or the\n offset of start of central directory point beyond the\n end of the ZIP file. (bsc#1078701)\n\n - CVE-2018-6381: If a file is uncompressed, compressed and\n uncompressed sizes should be identical. (bsc#1078497)\n\nThis update was imported from the SUSE:SLE-12:Update update project.\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.opensuse.org/show_bug.cgi?id=1024532\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.opensuse.org/show_bug.cgi?id=1024536\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.opensuse.org/show_bug.cgi?id=1034539\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.opensuse.org/show_bug.cgi?id=1078497\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.opensuse.org/show_bug.cgi?id=1078701\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.opensuse.org/show_bug.cgi?id=1079096\"\n );\n script_set_attribute(\n attribute:\"solution\", \n value:\"Update the affected zziplib packages.\"\n );\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:opensuse:libzzip-0-13\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:opensuse:libzzip-0-13-32bit\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:opensuse:libzzip-0-13-debuginfo\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:opensuse:libzzip-0-13-debuginfo-32bit\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:opensuse:zziplib-debugsource\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:opensuse:zziplib-devel\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:opensuse:zziplib-devel-32bit\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:opensuse:zziplib-devel-debuginfo\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:opensuse:zziplib-devel-debuginfo-32bit\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:novell:opensuse:42.3\");\n\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2018/02/27\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2018/02/28\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2018-2021 Tenable Network Security, Inc.\");\n script_family(english:\"SuSE Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/SuSE/release\", \"Host/SuSE/rpm-list\", \"Host/cpu\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"rpm.inc\");\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nrelease = get_kb_item(\"Host/SuSE/release\");\nif (isnull(release) || release =~ \"^(SLED|SLES)\") audit(AUDIT_OS_NOT, \"openSUSE\");\nif (release !~ \"^(SUSE42\\.3)$\") audit(AUDIT_OS_RELEASE_NOT, \"openSUSE\", \"42.3\", release);\nif (!get_kb_item(\"Host/SuSE/rpm-list\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\nourarch = get_kb_item(\"Host/cpu\");\nif (!ourarch) audit(AUDIT_UNKNOWN_ARCH);\nif (ourarch !~ \"^(i586|i686|x86_64)$\") audit(AUDIT_ARCH_NOT, \"i586 / i686 / x86_64\", ourarch);\n\nflag = 0;\n\nif ( rpm_check(release:\"SUSE42.3\", reference:\"libzzip-0-13-0.13.67-13.3.1\") ) flag++;\nif ( rpm_check(release:\"SUSE42.3\", reference:\"libzzip-0-13-debuginfo-0.13.67-13.3.1\") ) flag++;\nif ( rpm_check(release:\"SUSE42.3\", reference:\"zziplib-debugsource-0.13.67-13.3.1\") ) flag++;\nif ( rpm_check(release:\"SUSE42.3\", reference:\"zziplib-devel-0.13.67-13.3.1\") ) flag++;\nif ( rpm_check(release:\"SUSE42.3\", reference:\"zziplib-devel-debuginfo-0.13.67-13.3.1\") ) flag++;\nif ( rpm_check(release:\"SUSE42.3\", cpu:\"x86_64\", reference:\"libzzip-0-13-32bit-0.13.67-13.3.1\") ) flag++;\nif ( rpm_check(release:\"SUSE42.3\", cpu:\"x86_64\", reference:\"libzzip-0-13-debuginfo-32bit-0.13.67-13.3.1\") ) flag++;\nif ( rpm_check(release:\"SUSE42.3\", cpu:\"x86_64\", reference:\"zziplib-devel-32bit-0.13.67-13.3.1\") ) flag++;\nif ( rpm_check(release:\"SUSE42.3\", cpu:\"x86_64\", reference:\"zziplib-devel-debuginfo-32bit-0.13.67-13.3.1\") ) flag++;\n\nif (flag)\n{\n if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());\n else security_warning(0);\n exit(0);\n}\nelse\n{\n tested = pkg_tests_get();\n if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);\n else audit(AUDIT_PACKAGE_NOT_INSTALLED, \"libzzip-0-13 / libzzip-0-13-32bit / libzzip-0-13-debuginfo / etc\");\n}\n", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:N/A:P"}}, {"lastseen": "2021-03-01T07:36:16", "description": "It was discovered that zziplib incorrectly handled certain malformed\nZIP files. If a user or automated system were tricked into opening a\nspecially crafted ZIP file, a remote attacker could cause zziplib to\ncrash, resulting in a denial of service, or possibly execute arbitrary\ncode.\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the Ubuntu security advisory. Tenable\nhas attempted to automatically clean and format it as much as possible\nwithout introducing additional issues.", "edition": 24, "cvss3": {"score": 6.5, "vector": "AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}, "published": "2018-07-05T00:00:00", "title": "Ubuntu 14.04 LTS / 16.04 LTS / 17.10 / 18.04 LTS : zziplib vulnerabilities (USN-3699-1)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-6381", "CVE-2018-7726", "CVE-2018-6541", "CVE-2018-6540", "CVE-2018-7725", "CVE-2018-6484", "CVE-2018-6869"], "modified": "2021-03-02T00:00:00", "cpe": ["cpe:/o:canonical:ubuntu_linux:17.10", "p-cpe:/a:canonical:ubuntu_linux:libzzip-0-13", "cpe:/o:canonical:ubuntu_linux:16.04", "cpe:/o:canonical:ubuntu_linux:18.04:-:lts", "cpe:/o:canonical:ubuntu_linux:14.04"], "id": "UBUNTU_USN-3699-1.NASL", "href": "https://www.tenable.com/plugins/nessus/110921", "sourceData": "#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were\n# extracted from Ubuntu Security Notice USN-3699-1. The text \n# itself is copyright (C) Canonical, Inc. See \n# <http://www.ubuntu.com/usn/>. Ubuntu(R) is a registered \n# trademark of Canonical, Inc.\n#\n\ninclude(\"compat.inc\");\n\nif (description)\n{\n script_id(110921);\n script_version(\"1.3\");\n script_cvs_date(\"Date: 2019/09/18 12:31:48\");\n\n script_cve_id(\"CVE-2018-6381\", \"CVE-2018-6484\", \"CVE-2018-6540\", \"CVE-2018-6541\", \"CVE-2018-6869\", \"CVE-2018-7725\", \"CVE-2018-7726\");\n script_xref(name:\"USN\", value:\"3699-1\");\n\n script_name(english:\"Ubuntu 14.04 LTS / 16.04 LTS / 17.10 / 18.04 LTS : zziplib vulnerabilities (USN-3699-1)\");\n script_summary(english:\"Checks dpkg output for updated package.\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote Ubuntu host is missing a security-related patch.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"It was discovered that zziplib incorrectly handled certain malformed\nZIP files. If a user or automated system were tricked into opening a\nspecially crafted ZIP file, a remote attacker could cause zziplib to\ncrash, resulting in a denial of service, or possibly execute arbitrary\ncode.\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the Ubuntu security advisory. Tenable\nhas attempted to automatically clean and format it as much as possible\nwithout introducing additional issues.\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://usn.ubuntu.com/3699-1/\"\n );\n script_set_attribute(\n attribute:\"solution\", \n value:\"Update the affected libzzip-0-13 package.\"\n );\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:canonical:ubuntu_linux:libzzip-0-13\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:canonical:ubuntu_linux:14.04\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:canonical:ubuntu_linux:16.04\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:canonical:ubuntu_linux:17.10\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:canonical:ubuntu_linux:18.04:-:lts\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2018/01/29\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2018/07/03\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2018/07/05\");\n script_set_attribute(attribute:\"generated_plugin\", value:\"current\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"Ubuntu Security Notice (C) 2018-2019 Canonical, Inc. / NASL script (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n script_family(english:\"Ubuntu Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/cpu\", \"Host/Ubuntu\", \"Host/Ubuntu/release\", \"Host/Debian/dpkg-l\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"ubuntu.inc\");\ninclude(\"misc_func.inc\");\n\nif ( ! get_kb_item(\"Host/local_checks_enabled\") ) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nrelease = get_kb_item(\"Host/Ubuntu/release\");\nif ( isnull(release) ) audit(AUDIT_OS_NOT, \"Ubuntu\");\nrelease = chomp(release);\nif (! preg(pattern:\"^(14\\.04|16\\.04|17\\.10|18\\.04)$\", string:release)) audit(AUDIT_OS_NOT, \"Ubuntu 14.04 / 16.04 / 17.10 / 18.04\", \"Ubuntu \" + release);\nif ( ! get_kb_item(\"Host/Debian/dpkg-l\") ) audit(AUDIT_PACKAGE_LIST_MISSING);\n\ncpu = get_kb_item(\"Host/cpu\");\nif (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);\nif (\"x86_64\" >!< cpu && cpu !~ \"^i[3-6]86$\") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, \"Ubuntu\", cpu);\n\nflag = 0;\n\nif (ubuntu_check(osver:\"14.04\", pkgname:\"libzzip-0-13\", pkgver:\"0.13.62-2ubuntu0.2\")) flag++;\nif (ubuntu_check(osver:\"16.04\", pkgname:\"libzzip-0-13\", pkgver:\"0.13.62-3ubuntu0.16.04.2\")) flag++;\nif (ubuntu_check(osver:\"17.10\", pkgname:\"libzzip-0-13\", pkgver:\"0.13.62-3.1ubuntu0.17.10.1\")) flag++;\nif (ubuntu_check(osver:\"18.04\", pkgname:\"libzzip-0-13\", pkgver:\"0.13.62-3.1ubuntu0.18.04.1\")) flag++;\n\nif (flag)\n{\n security_report_v4(\n port : 0,\n severity : SECURITY_WARNING,\n extra : ubuntu_report_get()\n );\n exit(0);\n}\nelse\n{\n tested = ubuntu_pkg_tests_get();\n if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);\n else audit(AUDIT_PACKAGE_NOT_INSTALLED, \"libzzip-0-13\");\n}\n", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:N/A:P"}}, {"lastseen": "2021-01-12T09:42:48", "description": "Several issues have been fixed in zziplib, a library providing read\naccess on ZIP-archives. They are basically all related to invalid\nmemory access and resulting crash or memory leak.\n\nFor Debian 8 'Jessie', these problems have been fixed in version\n0.13.62-3+deb8u2.\n\nWe recommend that you upgrade your zziplib packages.\n\nNOTE: Tenable Network Security has extracted the preceding description\nblock directly from the DLA security advisory. Tenable has attempted\nto automatically clean and format it as much as possible without\nintroducing additional issues.", "edition": 5, "cvss3": {"score": 6.5, "vector": "AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}, "published": "2020-06-29T00:00:00", "title": "Debian DLA-2258-1 : zziplib security update", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-16548", "CVE-2018-6381", "CVE-2018-7726", "CVE-2018-6541", "CVE-2018-6540", "CVE-2018-7725", "CVE-2018-6484", "CVE-2018-6869"], "modified": "2020-06-29T00:00:00", "cpe": ["p-cpe:/a:debian:debian_linux:libzzip-dev", "cpe:/o:debian:debian_linux:8.0", "p-cpe:/a:debian:debian_linux:zziplib-bin", "p-cpe:/a:debian:debian_linux:libzzip-0-13"], "id": "DEBIAN_DLA-2258.NASL", "href": "https://www.tenable.com/plugins/nessus/137861", "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were\n# extracted from Debian Security Advisory DLA-2258-1. The text\n# itself is copyright (C) Software in the Public Interest, Inc.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(137861);\n script_version(\"1.4\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/11\");\n\n script_cve_id(\"CVE-2018-16548\", \"CVE-2018-6381\", \"CVE-2018-6484\", \"CVE-2018-6540\", \"CVE-2018-6541\", \"CVE-2018-6869\", \"CVE-2018-7725\", \"CVE-2018-7726\");\n\n script_name(english:\"Debian DLA-2258-1 : zziplib security update\");\n script_summary(english:\"Checks dpkg output for the updated packages.\");\n\n script_set_attribute(\n attribute:\"synopsis\",\n value:\"The remote Debian host is missing a security update.\"\n );\n script_set_attribute(\n attribute:\"description\",\n value:\n\"Several issues have been fixed in zziplib, a library providing read\naccess on ZIP-archives. They are basically all related to invalid\nmemory access and resulting crash or memory leak.\n\nFor Debian 8 'Jessie', these problems have been fixed in version\n0.13.62-3+deb8u2.\n\nWe recommend that you upgrade your zziplib packages.\n\nNOTE: Tenable Network Security has extracted the preceding description\nblock directly from the DLA security advisory. Tenable has attempted\nto automatically clean and format it as much as possible without\nintroducing additional issues.\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://lists.debian.org/debian-lts-announce/2020/06/msg00029.html\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://packages.debian.org/source/jessie/zziplib\"\n );\n script_set_attribute(attribute:\"solution\", value:\"Upgrade the affected packages.\");\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P\");\n script_set_cvss_temporal_vector(\"CVSS2#E:U/RL:OF/RC:C\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H\");\n script_set_cvss3_temporal_vector(\"CVSS:3.0/E:U/RL:O/RC:C\");\n script_set_attribute(attribute:\"exploitability_ease\", value:\"No known exploits are available\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:debian:debian_linux:libzzip-0-13\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:debian:debian_linux:libzzip-dev\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:debian:debian_linux:zziplib-bin\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:debian:debian_linux:8.0\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2018/01/29\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2020/06/28\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2020/06/29\");\n script_set_attribute(attribute:\"generated_plugin\", value:\"current\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2020-2021 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n script_family(english:\"Debian Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/Debian/release\", \"Host/Debian/dpkg-l\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"debian_package.inc\");\n\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nif (!get_kb_item(\"Host/Debian/release\")) audit(AUDIT_OS_NOT, \"Debian\");\nif (!get_kb_item(\"Host/Debian/dpkg-l\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\n\nflag = 0;\nif (deb_check(release:\"8.0\", prefix:\"libzzip-0-13\", reference:\"0.13.62-3+deb8u2\")) flag++;\nif (deb_check(release:\"8.0\", prefix:\"libzzip-dev\", reference:\"0.13.62-3+deb8u2\")) flag++;\nif (deb_check(release:\"8.0\", prefix:\"zziplib-bin\", reference:\"0.13.62-3+deb8u2\")) flag++;\n\nif (flag)\n{\n if (report_verbosity > 0) security_warning(port:0, extra:deb_report_get());\n else security_warning(0);\n exit(0);\n}\nelse audit(AUDIT_HOST_NOT, \"affected\");\n", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:N/A:P"}}, {"lastseen": "2021-01-07T09:01:12", "description": "According to the versions of the zziplib package installed, the\nEulerOS installation on the remote host is affected by the following\nvulnerabilities :\n\n - The zziplib is a lightweight library to easily extract\n data from zip files.Security Fix(es):An issue was\n discovered in ZZIPlib through 0.13.69. There is a\n memory leak triggered in the function\n __zzip_parse_root_directory in zip.c, which will lead\n to a denial of service attack.(CVE-2018-16548)In\n ZZIPlib 0.13.67, there is a segmentation fault caused\n by invalid memory access in the zzip_disk_fread\n function (zzip/mmapped.c) because the size variable is\n not validated against the amount of file->stored\n data.(CVE-2018-6381)In ZZIPlib 0.13.67, there is a\n memory alignment error and bus error in the\n __zzip_fetch_disk_trailer function of zzip/zip.c.\n Remote attackers could leverage this vulnerability to\n cause a denial of service via a crafted zip\n file.(CVE-2018-6484)In ZZIPlib 0.13.67, there is a bus\n error caused by loading of a misaligned address in the\n zzip_disk_findfirst function of zzip/mmapped.c. Remote\n attackers could leverage this vulnerability to cause a\n denial of service via a crafted zip\n file.(CVE-2018-6540)In ZZIPlib 0.13.67, there is a bus\n error caused by loading of a misaligned address (when\n handling disk64_trailer local entries) in\n __zzip_fetch_disk_trailer (zzip/zip.c). Remote\n attackers could leverage this vulnerability to cause a\n denial of service via a crafted zip\n file.(CVE-2018-6541)In ZZIPlib 0.13.68, there is an\n uncontrolled memory allocation and a crash in the\n __zzip_parse_root_directory function of zzip/zip.c.\n Remote attackers could leverage this vulnerability to\n cause a denial of service via a crafted zip\n file.(CVE-2018-6869)The prescan_entry function in\n fseeko.c in zziplib 0.13.62 allows remote attackers to\n cause a denial of service (NULL pointer dereference and\n crash) via a crafted ZIP file.(CVE-2017-5979)seeko.c in\n zziplib 0.13.62 allows remote attackers to cause a\n denial of service (assertion failure and crash) via a\n crafted ZIP file.(CVE-2017-5981)The zzip_mem_entry_new\n function in memdisk.c in zziplib 0.13.62 allows remote\n attackers to cause a denial of service (out-of-bounds\n read and crash) via a crafted ZIP\n file.(CVE-2017-5978)Heap-based buffer overflow in the\n __zzip_get32 function in fetch.c in zziplib 0.13.62\n allows remote attackers to cause a denial of service\n (crash) via a crafted ZIP\n file.(CVE-2017-5974)Heap-based buffer overflow in the\n zzip_mem_entry_extra_block function in memdisk.c in\n zziplib 0.13.62 allows remote attackers to cause a\n denial of service (crash) via a crafted ZIP\n file.(CVE-2017-5976)Heap-based buffer overflow in the\n __zzip_get64 function in fetch.c in zziplib 0.13.62\n allows remote attackers to cause a denial of service\n (crash) via a crafted ZIP file.(CVE-2017-5975)The\n zzip_mem_entry_extra_block function in memdisk.c in\n zziplib 0.13.62 allows remote attackers to cause a\n denial of service (invalid memory read and crash) via a\n crafted ZIP file.(CVE-2017-5977)\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the EulerOS security advisory. Tenable\nhas attempted to automatically clean and format it as much as possible\nwithout introducing additional issues.", "edition": 9, "cvss3": {"score": 6.5, "vector": "AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}, "published": "2019-12-04T00:00:00", "title": "EulerOS 2.0 SP2 : zziplib (EulerOS-SA-2019-2478)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-16548", "CVE-2018-6381", "CVE-2017-5974", "CVE-2018-6541", "CVE-2017-5979", "CVE-2018-6540", "CVE-2017-5976", "CVE-2017-5975", "CVE-2017-5981", "CVE-2017-5978", "CVE-2018-6484", "CVE-2017-5977", "CVE-2018-6869"], "modified": "2019-12-04T00:00:00", "cpe": ["p-cpe:/a:huawei:euleros:zziplib", "cpe:/o:huawei:euleros:2.0"], "id": "EULEROS_SA-2019-2478.NASL", "href": "https://www.tenable.com/plugins/nessus/131631", "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(131631);\n script_version(\"1.6\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/06\");\n\n script_cve_id(\n \"CVE-2017-5974\",\n \"CVE-2017-5975\",\n \"CVE-2017-5976\",\n \"CVE-2017-5977\",\n \"CVE-2017-5978\",\n \"CVE-2017-5979\",\n \"CVE-2017-5981\",\n \"CVE-2018-16548\",\n \"CVE-2018-6381\",\n \"CVE-2018-6484\",\n \"CVE-2018-6540\",\n \"CVE-2018-6541\",\n \"CVE-2018-6869\"\n );\n\n script_name(english:\"EulerOS 2.0 SP2 : zziplib (EulerOS-SA-2019-2478)\");\n script_summary(english:\"Checks the rpm output for the updated packages.\");\n\n script_set_attribute(attribute:\"synopsis\", value:\n\"The remote EulerOS host is missing multiple security updates.\");\n script_set_attribute(attribute:\"description\", value:\n\"According to the versions of the zziplib package installed, the\nEulerOS installation on the remote host is affected by the following\nvulnerabilities :\n\n - The zziplib is a lightweight library to easily extract\n data from zip files.Security Fix(es):An issue was\n discovered in ZZIPlib through 0.13.69. There is a\n memory leak triggered in the function\n __zzip_parse_root_directory in zip.c, which will lead\n to a denial of service attack.(CVE-2018-16548)In\n ZZIPlib 0.13.67, there is a segmentation fault caused\n by invalid memory access in the zzip_disk_fread\n function (zzip/mmapped.c) because the size variable is\n not validated against the amount of file->stored\n data.(CVE-2018-6381)In ZZIPlib 0.13.67, there is a\n memory alignment error and bus error in the\n __zzip_fetch_disk_trailer function of zzip/zip.c.\n Remote attackers could leverage this vulnerability to\n cause a denial of service via a crafted zip\n file.(CVE-2018-6484)In ZZIPlib 0.13.67, there is a bus\n error caused by loading of a misaligned address in the\n zzip_disk_findfirst function of zzip/mmapped.c. Remote\n attackers could leverage this vulnerability to cause a\n denial of service via a crafted zip\n file.(CVE-2018-6540)In ZZIPlib 0.13.67, there is a bus\n error caused by loading of a misaligned address (when\n handling disk64_trailer local entries) in\n __zzip_fetch_disk_trailer (zzip/zip.c). Remote\n attackers could leverage this vulnerability to cause a\n denial of service via a crafted zip\n file.(CVE-2018-6541)In ZZIPlib 0.13.68, there is an\n uncontrolled memory allocation and a crash in the\n __zzip_parse_root_directory function of zzip/zip.c.\n Remote attackers could leverage this vulnerability to\n cause a denial of service via a crafted zip\n file.(CVE-2018-6869)The prescan_entry function in\n fseeko.c in zziplib 0.13.62 allows remote attackers to\n cause a denial of service (NULL pointer dereference and\n crash) via a crafted ZIP file.(CVE-2017-5979)seeko.c in\n zziplib 0.13.62 allows remote attackers to cause a\n denial of service (assertion failure and crash) via a\n crafted ZIP file.(CVE-2017-5981)The zzip_mem_entry_new\n function in memdisk.c in zziplib 0.13.62 allows remote\n attackers to cause a denial of service (out-of-bounds\n read and crash) via a crafted ZIP\n file.(CVE-2017-5978)Heap-based buffer overflow in the\n __zzip_get32 function in fetch.c in zziplib 0.13.62\n allows remote attackers to cause a denial of service\n (crash) via a crafted ZIP\n file.(CVE-2017-5974)Heap-based buffer overflow in the\n zzip_mem_entry_extra_block function in memdisk.c in\n zziplib 0.13.62 allows remote attackers to cause a\n denial of service (crash) via a crafted ZIP\n file.(CVE-2017-5976)Heap-based buffer overflow in the\n __zzip_get64 function in fetch.c in zziplib 0.13.62\n allows remote attackers to cause a denial of service\n (crash) via a crafted ZIP file.(CVE-2017-5975)The\n zzip_mem_entry_extra_block function in memdisk.c in\n zziplib 0.13.62 allows remote attackers to cause a\n denial of service (invalid memory read and crash) via a\n crafted ZIP file.(CVE-2017-5977)\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the EulerOS security advisory. Tenable\nhas attempted to automatically clean and format it as much as possible\nwithout introducing additional issues.\");\n # https://developer.huaweicloud.com/ict/en/site-euleros/euleros/security-advisories/EulerOS-SA-2019-2478\n script_set_attribute(attribute:\"see_also\", value:\"http://www.nessus.org/u?ae1e7e31\");\n script_set_attribute(attribute:\"solution\", value:\n\"Update the affected zziplib packages.\");\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P\");\n script_set_cvss_temporal_vector(\"CVSS2#E:U/RL:OF/RC:C\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H\");\n script_set_cvss3_temporal_vector(\"CVSS:3.0/E:U/RL:O/RC:C\");\n script_set_attribute(attribute:\"cvss_score_source\", value:\"CVE-2018-6869\");\n script_set_attribute(attribute:\"exploitability_ease\", value:\"No known exploits are available\");\n\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2019/12/04\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2019/12/04\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:huawei:euleros:zziplib\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:huawei:euleros:2.0\");\n script_set_attribute(attribute:\"generated_plugin\", value:\"current\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_family(english:\"Huawei Local Security Checks\");\n\n script_copyright(english:\"This script is Copyright (C) 2019-2021 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/EulerOS/release\", \"Host/EulerOS/rpm-list\", \"Host/EulerOS/sp\");\n script_exclude_keys(\"Host/EulerOS/uvp_version\");\n\n exit(0);\n}\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"rpm.inc\");\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\n\nrelease = get_kb_item(\"Host/EulerOS/release\");\nif (isnull(release) || release !~ \"^EulerOS\") audit(AUDIT_OS_NOT, \"EulerOS\");\nif (release !~ \"^EulerOS release 2\\.0(\\D|$)\") audit(AUDIT_OS_NOT, \"EulerOS 2.0\");\n\nsp = get_kb_item(\"Host/EulerOS/sp\");\nif (isnull(sp) || sp !~ \"^(2)$\") audit(AUDIT_OS_NOT, \"EulerOS 2.0 SP2\");\n\nuvp = get_kb_item(\"Host/EulerOS/uvp_version\");\nif (!empty_or_null(uvp)) audit(AUDIT_OS_NOT, \"EulerOS 2.0 SP2\", \"EulerOS UVP \" + uvp);\n\nif (!get_kb_item(\"Host/EulerOS/rpm-list\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\ncpu = get_kb_item(\"Host/cpu\");\nif (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);\nif (\"x86_64\" >!< cpu && cpu !~ \"^i[3-6]86$\" && \"aarch64\" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, \"EulerOS\", cpu);\nif (\"x86_64\" >!< cpu && cpu !~ \"^i[3-6]86$\") audit(AUDIT_ARCH_NOT, \"i686 / x86_64\", cpu);\n\nflag = 0;\n\npkgs = [\"zziplib-0.13.62-9.h3\"];\n\nforeach (pkg in pkgs)\n if (rpm_check(release:\"EulerOS-2.0\", sp:\"2\", reference:pkg)) flag++;\n\nif (flag)\n{\n security_report_v4(\n port : 0,\n severity : SECURITY_WARNING,\n extra : rpm_report_get()\n );\n exit(0);\n}\nelse\n{\n tested = pkg_tests_get();\n if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);\n else audit(AUDIT_PACKAGE_NOT_INSTALLED, \"zziplib\");\n}\n", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:N/A:P"}}, {"lastseen": "2021-01-07T09:01:43", "description": "According to the versions of the zziplib package installed, the\nEulerOS installation on the remote host is affected by the following\nvulnerabilities :\n\n - An issue was discovered in ZZIPlib through 0.13.69.\n There is a memory leak triggered in the function\n __zzip_parse_root_directory in zip.c, which will lead\n to a denial of service attack.(CVE-2018-16548)\n\n - Heap-based buffer overflow in the __zzip_get32 function\n in fetch.c in zziplib 0.13.62 allows remote attackers\n to cause a denial of service (crash) via a crafted ZIP\n file.(CVE-2017-5974)\n\n - Heap-based buffer overflow in the __zzip_get64 function\n in fetch.c in zziplib 0.13.62 allows remote attackers\n to cause a denial of service (crash) via a crafted ZIP\n file.(CVE-2017-5975)\n\n - Heap-based buffer overflow in the\n zzip_mem_entry_extra_block function in memdisk.c in\n zziplib 0.13.62 allows remote attackers to cause a\n denial of service (crash) via a crafted ZIP\n file.(CVE-2017-5976)\n\n - In ZZIPlib 0.13.67, there is a bus error caused by\n loading of a misaligned address (when handling\n disk64_trailer local entries) in\n __zzip_fetch_disk_trailer (zzip/zip.c). Remote\n attackers could leverage this vulnerability to cause a\n denial of service via a crafted zip\n file.(CVE-2018-6541)\n\n - In ZZIPlib 0.13.67, there is a bus error caused by\n loading of a misaligned address in the\n zzip_disk_findfirst function of zzip/mmapped.c. Remote\n attackers could leverage this vulnerability to cause a\n denial of service via a crafted zip\n file.(CVE-2018-6540)\n\n - In ZZIPlib 0.13.67, there is a memory alignment error\n and bus error in the __zzip_fetch_disk_trailer function\n of zzip/zip.c. Remote attackers could leverage this\n vulnerability to cause a denial of service via a\n crafted zip file.(CVE-2018-6484)\n\n - In ZZIPlib 0.13.67, there is a segmentation fault\n caused by invalid memory access in the zzip_disk_fread\n function (zzip/mmapped.c) because the size variable is\n not validated against the amount of file->stored\n data.(CVE-2018-6381)\n\n - In ZZIPlib 0.13.68, there is an uncontrolled memory\n allocation and a crash in the\n __zzip_parse_root_directory function of zzip/zip.c.\n Remote attackers could leverage this vulnerability to\n cause a denial of service via a crafted zip\n file.(CVE-2018-6869)\n\n - seeko.c in zziplib 0.13.62 allows remote attackers to\n cause a denial of service (assertion failure and crash)\n via a crafted ZIP file.(CVE-2017-5981)\n\n - The prescan_entry function in fseeko.c in zziplib\n 0.13.62 allows remote attackers to cause a denial of\n service (NULL pointer dereference and crash) via a\n crafted ZIP file.(CVE-2017-5979)\n\n - The zzip_mem_entry_extra_block function in memdisk.c in\n zziplib 0.13.62 allows remote attackers to cause a\n denial of service (invalid memory read and crash) via a\n crafted ZIP file.(CVE-2017-5977)\n\n - The zzip_mem_entry_new function in memdisk.c in zziplib\n 0.13.62 allows remote attackers to cause a denial of\n service (out-of-bounds read and crash) via a crafted\n ZIP file.(CVE-2017-5978)\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the EulerOS security advisory. Tenable\nhas attempted to automatically clean and format it as much as possible\nwithout introducing additional issues.", "edition": 10, "cvss3": {"score": 6.5, "vector": "AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}, "published": "2019-12-18T00:00:00", "title": "EulerOS 2.0 SP3 : zziplib (EulerOS-SA-2019-2685)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-16548", "CVE-2018-6381", "CVE-2017-5974", "CVE-2018-6541", "CVE-2017-5979", "CVE-2018-6540", "CVE-2017-5976", "CVE-2017-5975", "CVE-2017-5981", "CVE-2017-5978", "CVE-2018-6484", "CVE-2017-5977", "CVE-2018-6869"], "modified": "2019-12-18T00:00:00", "cpe": ["p-cpe:/a:huawei:euleros:zziplib", "cpe:/o:huawei:euleros:2.0"], "id": "EULEROS_SA-2019-2685.NASL", "href": "https://www.tenable.com/plugins/nessus/132220", "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(132220);\n script_version(\"1.5\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/06\");\n\n script_cve_id(\n \"CVE-2017-5974\",\n \"CVE-2017-5975\",\n \"CVE-2017-5976\",\n \"CVE-2017-5977\",\n \"CVE-2017-5978\",\n \"CVE-2017-5979\",\n \"CVE-2017-5981\",\n \"CVE-2018-16548\",\n \"CVE-2018-6381\",\n \"CVE-2018-6484\",\n \"CVE-2018-6540\",\n \"CVE-2018-6541\",\n \"CVE-2018-6869\"\n );\n\n script_name(english:\"EulerOS 2.0 SP3 : zziplib (EulerOS-SA-2019-2685)\");\n script_summary(english:\"Checks the rpm output for the updated packages.\");\n\n script_set_attribute(attribute:\"synopsis\", value:\n\"The remote EulerOS host is missing multiple security updates.\");\n script_set_attribute(attribute:\"description\", value:\n\"According to the versions of the zziplib package installed, the\nEulerOS installation on the remote host is affected by the following\nvulnerabilities :\n\n - An issue was discovered in ZZIPlib through 0.13.69.\n There is a memory leak triggered in the function\n __zzip_parse_root_directory in zip.c, which will lead\n to a denial of service attack.(CVE-2018-16548)\n\n - Heap-based buffer overflow in the __zzip_get32 function\n in fetch.c in zziplib 0.13.62 allows remote attackers\n to cause a denial of service (crash) via a crafted ZIP\n file.(CVE-2017-5974)\n\n - Heap-based buffer overflow in the __zzip_get64 function\n in fetch.c in zziplib 0.13.62 allows remote attackers\n to cause a denial of service (crash) via a crafted ZIP\n file.(CVE-2017-5975)\n\n - Heap-based buffer overflow in the\n zzip_mem_entry_extra_block function in memdisk.c in\n zziplib 0.13.62 allows remote attackers to cause a\n denial of service (crash) via a crafted ZIP\n file.(CVE-2017-5976)\n\n - In ZZIPlib 0.13.67, there is a bus error caused by\n loading of a misaligned address (when handling\n disk64_trailer local entries) in\n __zzip_fetch_disk_trailer (zzip/zip.c). Remote\n attackers could leverage this vulnerability to cause a\n denial of service via a crafted zip\n file.(CVE-2018-6541)\n\n - In ZZIPlib 0.13.67, there is a bus error caused by\n loading of a misaligned address in the\n zzip_disk_findfirst function of zzip/mmapped.c. Remote\n attackers could leverage this vulnerability to cause a\n denial of service via a crafted zip\n file.(CVE-2018-6540)\n\n - In ZZIPlib 0.13.67, there is a memory alignment error\n and bus error in the __zzip_fetch_disk_trailer function\n of zzip/zip.c. Remote attackers could leverage this\n vulnerability to cause a denial of service via a\n crafted zip file.(CVE-2018-6484)\n\n - In ZZIPlib 0.13.67, there is a segmentation fault\n caused by invalid memory access in the zzip_disk_fread\n function (zzip/mmapped.c) because the size variable is\n not validated against the amount of file->stored\n data.(CVE-2018-6381)\n\n - In ZZIPlib 0.13.68, there is an uncontrolled memory\n allocation and a crash in the\n __zzip_parse_root_directory function of zzip/zip.c.\n Remote attackers could leverage this vulnerability to\n cause a denial of service via a crafted zip\n file.(CVE-2018-6869)\n\n - seeko.c in zziplib 0.13.62 allows remote attackers to\n cause a denial of service (assertion failure and crash)\n via a crafted ZIP file.(CVE-2017-5981)\n\n - The prescan_entry function in fseeko.c in zziplib\n 0.13.62 allows remote attackers to cause a denial of\n service (NULL pointer dereference and crash) via a\n crafted ZIP file.(CVE-2017-5979)\n\n - The zzip_mem_entry_extra_block function in memdisk.c in\n zziplib 0.13.62 allows remote attackers to cause a\n denial of service (invalid memory read and crash) via a\n crafted ZIP file.(CVE-2017-5977)\n\n - The zzip_mem_entry_new function in memdisk.c in zziplib\n 0.13.62 allows remote attackers to cause a denial of\n service (out-of-bounds read and crash) via a crafted\n ZIP file.(CVE-2017-5978)\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the EulerOS security advisory. Tenable\nhas attempted to automatically clean and format it as much as possible\nwithout introducing additional issues.\");\n # https://developer.huaweicloud.com/ict/en/site-euleros/euleros/security-advisories/EulerOS-SA-2019-2685\n script_set_attribute(attribute:\"see_also\", value:\"http://www.nessus.org/u?48c509bf\");\n script_set_attribute(attribute:\"solution\", value:\n\"Update the affected zziplib packages.\");\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P\");\n script_set_cvss_temporal_vector(\"CVSS2#E:U/RL:OF/RC:C\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H\");\n script_set_cvss3_temporal_vector(\"CVSS:3.0/E:U/RL:O/RC:C\");\n script_set_attribute(attribute:\"cvss_score_source\", value:\"CVE-2018-6869\");\n script_set_attribute(attribute:\"exploitability_ease\", value:\"No known exploits are available\");\n\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2019/12/18\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2019/12/18\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:huawei:euleros:zziplib\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:huawei:euleros:2.0\");\n script_set_attribute(attribute:\"generated_plugin\", value:\"current\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_family(english:\"Huawei Local Security Checks\");\n\n script_copyright(english:\"This script is Copyright (C) 2019-2021 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/EulerOS/release\", \"Host/EulerOS/rpm-list\", \"Host/EulerOS/sp\");\n script_exclude_keys(\"Host/EulerOS/uvp_version\");\n\n exit(0);\n}\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"rpm.inc\");\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\n\nrelease = get_kb_item(\"Host/EulerOS/release\");\nif (isnull(release) || release !~ \"^EulerOS\") audit(AUDIT_OS_NOT, \"EulerOS\");\nif (release !~ \"^EulerOS release 2\\.0(\\D|$)\") audit(AUDIT_OS_NOT, \"EulerOS 2.0\");\n\nsp = get_kb_item(\"Host/EulerOS/sp\");\nif (isnull(sp) || sp !~ \"^(3)$\") audit(AUDIT_OS_NOT, \"EulerOS 2.0 SP3\");\n\nuvp = get_kb_item(\"Host/EulerOS/uvp_version\");\nif (!empty_or_null(uvp)) audit(AUDIT_OS_NOT, \"EulerOS 2.0 SP3\", \"EulerOS UVP \" + uvp);\n\nif (!get_kb_item(\"Host/EulerOS/rpm-list\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\ncpu = get_kb_item(\"Host/cpu\");\nif (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);\nif (\"x86_64\" >!< cpu && cpu !~ \"^i[3-6]86$\" && \"aarch64\" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, \"EulerOS\", cpu);\nif (\"x86_64\" >!< cpu && cpu !~ \"^i[3-6]86$\") audit(AUDIT_ARCH_NOT, \"i686 / x86_64\", cpu);\n\nflag = 0;\n\npkgs = [\"zziplib-0.13.62-9.h3\"];\n\nforeach (pkg in pkgs)\n if (rpm_check(release:\"EulerOS-2.0\", sp:\"3\", reference:pkg)) flag++;\n\nif (flag)\n{\n security_report_v4(\n port : 0,\n severity : SECURITY_WARNING,\n extra : rpm_report_get()\n );\n exit(0);\n}\nelse\n{\n tested = pkg_tests_get();\n if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);\n else audit(AUDIT_PACKAGE_NOT_INSTALLED, \"zziplib\");\n}\n", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:N/A:P"}}, {"lastseen": "2020-04-23T00:29:49", "description": "NIST reports (by search in the range 2017/01/01 - 2018/07/06) :\n\n17 security fixes in this release :\n\n- Heap-based buffer overflow in the __zzip_get32 function in fetch.c.\n\n- Heap-based buffer overflow in the __zzip_get64 function in fetch.c.\n\n- Heap-based buffer overflow in the zzip_mem_entry_extra_block\nfunction in memdisk.c.\n\n- The zzip_mem_entry_new function in memdisk.c allows remote attackers\nto cause a denial of service (out-of-bounds read and crash) via a\ncrafted ZIP file.\n\n- The prescan_entry function in fseeko.c allows remote attackers to\ncause a denial of service (NULL pointer dereference and crash) via\ncrafted ZIP file.\n\n- The zzip_mem_entry_new function in memdisk.c cause a NULL pointer\ndereference and crash via a crafted ZIP file.\n\n- seeko.c cause a denial of service (assertion failure and crash) via\na crafted ZIP file.\n\n- A segmentation fault caused by invalid memory access in the\nzzip_disk_fread function because the size variable is not validated\nagainst the amount of file->stored data.\n\n- A memory alignment error and bus error in the\n__zzip_fetch_disk_trailer function of zzip/zip.c.\n\n- A bus error caused by loading of a misaligned address in the\nzzip_disk_findfirst function.\n\n- An uncontrolled memory allocation and a crash in the\n__zzip_parse_root_directory function.\n\n- An invalid memory address dereference was discovered in\nzzip_disk_fread in mmapped.c.\n\n- A memory leak triggered in the function zzip_mem_disk_new in\nmemdisk.c.", "edition": 14, "cvss3": {"score": 6.5, "vector": "AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}, "published": "2018-07-10T00:00:00", "title": "FreeBSD : zziplib - multiple vulnerabilities (7764b219-8148-11e8-aa4d-000e0cd7b374)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-6381", "CVE-2017-5974", "CVE-2018-7726", "CVE-2018-6541", "CVE-2017-5979", "CVE-2018-6540", "CVE-2017-5976", "CVE-2017-5975", "CVE-2017-5981", "CVE-2018-6542", "CVE-2017-5980", "CVE-2018-7725", "CVE-2018-7727", "CVE-2017-5978", "CVE-2018-6484", "CVE-2017-5977", "CVE-2018-6869"], "modified": "2018-07-10T00:00:00", "cpe": ["cpe:/o:freebsd:freebsd", "p-cpe:/a:freebsd:freebsd:zziplib"], "id": "FREEBSD_PKG_7764B219814811E8AA4D000E0CD7B374.NASL", "href": "https://www.tenable.com/plugins/nessus/110969", "sourceData": "#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were \n# extracted from the FreeBSD VuXML database :\n#\n# Copyright 2003-2020 Jacques Vidrine and contributors\n#\n# Redistribution and use in source (VuXML) and 'compiled' forms (SGML,\n# HTML, PDF, PostScript, RTF and so forth) with or without modification,\n# are permitted provided that the following conditions are met:\n# 1. Redistributions of source code (VuXML) must retain the above\n# copyright notice, this list of conditions and the following\n# disclaimer as the first lines of this file unmodified.\n# 2. Redistributions in compiled form (transformed to other DTDs,\n# published online in any format, converted to PDF, PostScript,\n# RTF and other formats) must reproduce the above copyright\n# notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n# \n# THIS DOCUMENTATION IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS \"AS IS\"\n# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\n# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS\n# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\n# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION,\n# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n#\n\ninclude(\"compat.inc\");\n\nif (description)\n{\n script_id(110969);\n script_version(\"1.4\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2020/04/21\");\n\n script_cve_id(\"CVE-2017-5974\", \"CVE-2017-5975\", \"CVE-2017-5976\", \"CVE-2017-5977\", \"CVE-2017-5978\", \"CVE-2017-5979\", \"CVE-2017-5980\", \"CVE-2017-5981\", \"CVE-2018-6381\", \"CVE-2018-6484\", \"CVE-2018-6540\", \"CVE-2018-6541\", \"CVE-2018-6542\", \"CVE-2018-6869\", \"CVE-2018-7725\", \"CVE-2018-7726\", \"CVE-2018-7727\");\n\n script_name(english:\"FreeBSD : zziplib - multiple vulnerabilities (7764b219-8148-11e8-aa4d-000e0cd7b374)\");\n script_summary(english:\"Checks for updated package in pkg_info output\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote FreeBSD host is missing a security-related update.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"NIST reports (by search in the range 2017/01/01 - 2018/07/06) :\n\n17 security fixes in this release :\n\n- Heap-based buffer overflow in the __zzip_get32 function in fetch.c.\n\n- Heap-based buffer overflow in the __zzip_get64 function in fetch.c.\n\n- Heap-based buffer overflow in the zzip_mem_entry_extra_block\nfunction in memdisk.c.\n\n- The zzip_mem_entry_new function in memdisk.c allows remote attackers\nto cause a denial of service (out-of-bounds read and crash) via a\ncrafted ZIP file.\n\n- The prescan_entry function in fseeko.c allows remote attackers to\ncause a denial of service (NULL pointer dereference and crash) via\ncrafted ZIP file.\n\n- The zzip_mem_entry_new function in memdisk.c cause a NULL pointer\ndereference and crash via a crafted ZIP file.\n\n- seeko.c cause a denial of service (assertion failure and crash) via\na crafted ZIP file.\n\n- A segmentation fault caused by invalid memory access in the\nzzip_disk_fread function because the size variable is not validated\nagainst the amount of file->stored data.\n\n- A memory alignment error and bus error in the\n__zzip_fetch_disk_trailer function of zzip/zip.c.\n\n- A bus error caused by loading of a misaligned address in the\nzzip_disk_findfirst function.\n\n- An uncontrolled memory allocation and a crash in the\n__zzip_parse_root_directory function.\n\n- An invalid memory address dereference was discovered in\nzzip_disk_fread in mmapped.c.\n\n- A memory leak triggered in the function zzip_mem_disk_new in\nmemdisk.c.\"\n );\n # https://nvd.nist.gov/vuln/search/results?form_type=Advanced&results_type=overview&query=zziplib&search_type=all&pub_start_date=01%2F01%2F2017&pub_end_date=07%2F06%2F2018\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?26fb49e6\"\n );\n # https://vuxml.freebsd.org/freebsd/7764b219-8148-11e8-aa4d-000e0cd7b374.html\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?eae19ef5\"\n );\n script_set_attribute(attribute:\"solution\", value:\"Update the affected package.\");\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:M/Au:N/C:N/I:N/A:P\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:freebsd:freebsd:zziplib\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:freebsd:freebsd\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2017/03/01\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2018/07/06\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2018/07/10\");\n script_set_attribute(attribute:\"generated_plugin\", value:\"current\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n script_family(english:\"FreeBSD Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/FreeBSD/release\", \"Host/FreeBSD/pkg_info\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"freebsd_package.inc\");\n\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nif (!get_kb_item(\"Host/FreeBSD/release\")) audit(AUDIT_OS_NOT, \"FreeBSD\");\nif (!get_kb_item(\"Host/FreeBSD/pkg_info\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\n\nflag = 0;\n\nif (pkg_test(save_report:TRUE, pkg:\"zziplib<0.13.68\")) flag++;\n\nif (flag)\n{\n if (report_verbosity > 0) security_warning(port:0, extra:pkg_report_get());\n else security_warning(0);\n exit(0);\n}\nelse audit(AUDIT_HOST_NOT, \"affected\");\n", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:N/A:P"}}], "fedora": [{"lastseen": "2020-12-21T08:17:55", "bulletinFamily": "unix", "cvelist": ["CVE-2018-6381", "CVE-2018-6484", "CVE-2018-6541", "CVE-2018-6869", "CVE-2018-7725", "CVE-2018-7727"], "description": "The zziplib library is intentionally lightweight, it offers the ability to easily extract data from files archived in a single zip file. Applications can bundle files into a single zip archive and access them. The implementat ion is based only on the (free) subset of compression with the zlib algorithm which is actually used by the zip/unzip tools. ", "modified": "2018-09-13T17:07:13", "published": "2018-09-13T17:07:13", "id": "FEDORA:D881A60A34FD", "href": "", "type": "fedora", "title": "[SECURITY] Fedora 27 Update: zziplib-0.13.69-1.fc27", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:N/A:P"}}], "ubuntu": [{"lastseen": "2020-07-02T11:43:57", "bulletinFamily": "unix", "cvelist": ["CVE-2018-6381", "CVE-2018-7726", "CVE-2018-6541", "CVE-2018-6540", "CVE-2018-7725", "CVE-2018-6484", "CVE-2018-6869"], "description": "It was discovered that zziplib incorrectly handled certain malformed ZIP \nfiles. If a user or automated system were tricked into opening a specially \ncrafted ZIP file, a remote attacker could cause zziplib to crash, resulting \nin a denial of service, or possibly execute arbitrary code.", "edition": 5, "modified": "2018-07-03T00:00:00", "published": "2018-07-03T00:00:00", "id": "USN-3699-1", "href": "https://ubuntu.com/security/notices/USN-3699-1", "title": "zziplib vulnerabilities", "type": "ubuntu", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:N/A:P"}}], "debian": [{"lastseen": "2021-01-26T01:21:46", "bulletinFamily": "unix", "cvelist": ["CVE-2018-16548", "CVE-2018-6381", "CVE-2018-7726", "CVE-2018-6541", "CVE-2018-6540", "CVE-2018-7725", "CVE-2018-6484", "CVE-2018-6869"], "description": "Package : zziplib\nVersion : 0.13.62-3+deb8u2\nCVE ID : CVE-2018-6381 CVE-2018-6484 CVE-2018-6540 CVE-2018-6541\n CVE-2018-6869 CVE-2018-7725 CVE-2018-7726 CVE-2018-16548\n\n\nSeveral issues have been fixed in zziplib, a library providing read access \non ZIP-archives. They are basically all related to invalid memory access \nand resulting crash or memory leak.\n\n\n\nFor Debian 8 "Jessie", these problems have been fixed in version\n0.13.62-3+deb8u2.\n\nWe recommend that you upgrade your zziplib packages.\n\nFurther information about Debian LTS security advisories, how to apply\nthese updates to your system and frequently asked questions can be\nfound at: https://wiki.debian.org/LTS\n\n", "edition": 9, "modified": "2020-06-28T12:40:28", "published": "2020-06-28T12:40:28", "id": "DEBIAN:DLA-2258-1:9269A", "href": "https://lists.debian.org/debian-lts-announce/2020/debian-lts-announce-202006/msg00029.html", "title": "[SECURITY] [DLA 2258-1] zziplib security update", "type": "debian", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:N/A:P"}}], "freebsd": [{"lastseen": "2019-05-29T18:31:54", "bulletinFamily": "unix", "cvelist": ["CVE-2018-6381", "CVE-2017-5974", "CVE-2018-7726", "CVE-2018-6541", "CVE-2017-5979", "CVE-2018-6540", "CVE-2017-5976", "CVE-2017-5975", "CVE-2017-5981", "CVE-2018-6542", "CVE-2017-5980", "CVE-2018-7725", "CVE-2018-7727", "CVE-2017-5978", "CVE-2018-6484", "CVE-2017-5977", "CVE-2018-6869"], "description": "\nNIST reports (by search in the range 2017/01/01 - 2018/07/06):\n\n17 security fixes in this release:\n\nHeap-based buffer overflow in the __zzip_get32 function in fetch.c.\nHeap-based buffer overflow in the __zzip_get64 function in fetch.c.\nHeap-based buffer overflow in the zzip_mem_entry_extra_block function\n\t in memdisk.c.\nThe zzip_mem_entry_new function in memdisk.c allows remote attackers\n\t to cause a denial of service (out-of-bounds read and crash) via a\n\t crafted ZIP file.\nThe prescan_entry function in fseeko.c allows remote attackers to cause\n\t a denial of service (NULL pointer dereference and crash) via crafted\n\t ZIP file.\nThe zzip_mem_entry_new function in memdisk.c cause a NULL pointer\n\t dereference and crash via a crafted ZIP file.\nseeko.c cause a denial of service (assertion failure and crash) via a\n\t crafted ZIP file.\nA segmentation fault caused by invalid memory access in the\n\t zzip_disk_fread function because the size variable is not validated\n\t against the amount of file->stored data.\nA memory alignment error and bus error in the __zzip_fetch_disk_trailer\n\t function of zzip/zip.c.\nA bus error caused by loading of a misaligned address in the\n\t zzip_disk_findfirst function.\nAn uncontrolled memory allocation and a crash in the __zzip_parse_root_directory\n\t function.\nAn invalid memory address dereference was discovered in zzip_disk_fread\n\t in mmapped.c.\nA memory leak triggered in the function zzip_mem_disk_new in\n\t memdisk.c.\n\n\n", "edition": 4, "modified": "2017-03-01T00:00:00", "published": "2017-03-01T00:00:00", "id": "7764B219-8148-11E8-AA4D-000E0CD7B374", "href": "https://vuxml.freebsd.org/freebsd/7764b219-8148-11e8-aa4d-000e0cd7b374.html", "title": "zziplib - multiple vulnerabilities", "type": "freebsd", "cvss": {"score": 4.3, "vector": "AV:N/AC:M/Au:N/C:N/I:N/A:P"}}]}