ID OPENSUSE-2018-417.NASL Type nessus Reporter This script is Copyright (C) 2018-2021 and is owned by Tenable, Inc. or an Affiliate thereof. Modified 2018-05-03T00:00:00
Description
This update for corosync fixes the following issues :
CVE-2018-1084: Integer overflow in
totemcrypto:authenticate_nss_2_3() could lead to command
execution (bsc#1089346)
Providing an empty uid or gid results in coroparse
adding uid 0. (bsc#1066585)
Fix a problem with configuration file incompatibilities
that was causing corosync to not work after upgrading
from SLE-11-SP4-HA to SLE-12/15-HA. (bsc#1083561)
This update was imported from the SUSE:SLE-12-SP3:Update update
project.
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
# The descriptive text and package checks in this plugin were
# extracted from openSUSE Security Update openSUSE-2018-417.
#
# The text description of this plugin is (C) SUSE LLC.
#
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(109541);
script_version("1.7");
script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");
script_cve_id("CVE-2018-1084");
script_xref(name:"IAVA", value:"2018-A-0127");
script_name(english:"openSUSE Security Update : corosync (openSUSE-2018-417)");
script_summary(english:"Check for the openSUSE-2018-417 patch");
script_set_attribute(
attribute:"synopsis",
value:"The remote openSUSE host is missing a security update."
);
script_set_attribute(
attribute:"description",
value:
"This update for corosync fixes the following issues :
- CVE-2018-1084: Integer overflow in
totemcrypto:authenticate_nss_2_3() could lead to command
execution (bsc#1089346)
- Providing an empty uid or gid results in coroparse
adding uid 0. (bsc#1066585)
- Fix a problem with configuration file incompatibilities
that was causing corosync to not work after upgrading
from SLE-11-SP4-HA to SLE-12/15-HA. (bsc#1083561)
This update was imported from the SUSE:SLE-12-SP3:Update update
project."
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1066585"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1083561"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1089346"
);
script_set_attribute(
attribute:"solution",
value:"Update the affected corosync packages."
);
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:corosync");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:corosync-debuginfo");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:corosync-debugsource");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:corosync-testagents");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:corosync-testagents-debuginfo");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcorosync-devel");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcorosync4");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcorosync4-32bit");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcorosync4-debuginfo");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:libcorosync4-debuginfo-32bit");
script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:42.3");
script_set_attribute(attribute:"patch_publication_date", value:"2018/05/03");
script_set_attribute(attribute:"plugin_publication_date", value:"2018/05/03");
script_set_attribute(attribute:"stig_severity", value:"I");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_copyright(english:"This script is Copyright (C) 2018-2021 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_family(english:"SuSE Local Security Checks");
script_dependencies("ssh_get_info.nasl");
script_require_keys("Host/local_checks_enabled", "Host/SuSE/release", "Host/SuSE/rpm-list", "Host/cpu");
exit(0);
}
include("audit.inc");
include("global_settings.inc");
include("rpm.inc");
if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
release = get_kb_item("Host/SuSE/release");
if (isnull(release) || release =~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "openSUSE");
if (release !~ "^(SUSE42\.3)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "42.3", release);
if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
ourarch = get_kb_item("Host/cpu");
if (!ourarch) audit(AUDIT_UNKNOWN_ARCH);
if (ourarch !~ "^(i586|i686|x86_64)$") audit(AUDIT_ARCH_NOT, "i586 / i686 / x86_64", ourarch);
flag = 0;
if ( rpm_check(release:"SUSE42.3", reference:"corosync-2.3.6-10.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"corosync-debuginfo-2.3.6-10.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"corosync-debugsource-2.3.6-10.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"corosync-testagents-2.3.6-10.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"corosync-testagents-debuginfo-2.3.6-10.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"libcorosync-devel-2.3.6-10.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"libcorosync4-2.3.6-10.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"libcorosync4-debuginfo-2.3.6-10.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", cpu:"x86_64", reference:"libcorosync4-32bit-2.3.6-10.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", cpu:"x86_64", reference:"libcorosync4-debuginfo-32bit-2.3.6-10.1") ) flag++;
if (flag)
{
if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());
else security_hole(0);
exit(0);
}
else
{
tested = pkg_tests_get();
if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
else audit(AUDIT_PACKAGE_NOT_INSTALLED, "corosync / corosync-debuginfo / corosync-debugsource / etc");
}
{"id": "OPENSUSE-2018-417.NASL", "bulletinFamily": "scanner", "title": "openSUSE Security Update : corosync (openSUSE-2018-417)", "description": "This update for corosync fixes the following issues :\n\n - CVE-2018-1084: Integer overflow in\n totemcrypto:authenticate_nss_2_3() could lead to command\n execution (bsc#1089346)\n\n - Providing an empty uid or gid results in coroparse\n adding uid 0. (bsc#1066585)\n\n - Fix a problem with configuration file incompatibilities\n that was causing corosync to not work after upgrading\n from SLE-11-SP4-HA to SLE-12/15-HA. (bsc#1083561)\n\nThis update was imported from the SUSE:SLE-12-SP3:Update update\nproject.", "published": "2018-05-03T00:00:00", "modified": "2018-05-03T00:00:00", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}, "href": "https://www.tenable.com/plugins/nessus/109541", "reporter": "This script is Copyright (C) 2018-2021 and is owned by Tenable, Inc. or an Affiliate thereof.", "references": ["https://bugzilla.opensuse.org/show_bug.cgi?id=1066585", "https://bugzilla.opensuse.org/show_bug.cgi?id=1089346", "https://bugzilla.opensuse.org/show_bug.cgi?id=1083561"], "cvelist": ["CVE-2018-1084"], "type": "nessus", "lastseen": "2021-01-20T12:37:27", "edition": 21, "viewCount": 1, "enchantments": {"dependencies": {"references": [{"type": "cve", "idList": ["CVE-2018-1084"]}, {"type": "amazon", "idList": ["ALAS2-2018-1014"]}, {"type": "openvas", "idList": ["OPENVAS:1361412562310851738", "OPENVAS:1361412562310704174", "OPENVAS:1361412562310844028", "OPENVAS:1361412562310874372", "OPENVAS:1361412562310874370", "OPENVAS:1361412562310882901"]}, {"type": "ubuntu", "idList": ["USN-4000-1"]}, {"type": "fedora", "idList": ["FEDORA:06F2D6014767", "FEDORA:F3949601B8F0", "FEDORA:8AFB160BA788"]}, {"type": "nessus", "idList": ["SL_20180417_COROSYNC_ON_SL7_X.NASL", "AL2_ALAS-2018-1014.NASL", "ORACLELINUX_ELSA-2018-1169.NASL", "DEBIAN_DSA-4174.NASL", "FEDORA_2018-B0253649BE.NASL", "FEDORA_2018-12DA088117.NASL", "REDHAT-RHSA-2018-1169.NASL", "FEDORA_2018-D87E29047D.NASL", "UBUNTU_USN-4000-1.NASL", "CENTOS_RHSA-2018-1169.NASL"]}, {"type": "oraclelinux", "idList": ["ELSA-2018-1169"]}, {"type": "centos", "idList": ["CESA-2018:1169"]}, {"type": "suse", "idList": ["SUSE-SU-2018:1121-1", "SUSE-SU-2018:1130-1", "OPENSUSE-SU-2018:1136-1"]}, {"type": "debian", "idList": ["DEBIAN:DSA-4174-1:39E20"]}, {"type": "redhat", "idList": ["RHSA-2018:1169"]}], "modified": "2021-01-20T12:37:27", "rev": 2}, "score": {"value": 6.7, "vector": "NONE", "modified": "2021-01-20T12:37:27", "rev": 2}, "vulnersScore": 6.7}, "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-417.\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(109541);\n script_version(\"1.7\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/19\");\n\n script_cve_id(\"CVE-2018-1084\");\n script_xref(name:\"IAVA\", value:\"2018-A-0127\");\n\n script_name(english:\"openSUSE Security Update : corosync (openSUSE-2018-417)\");\n script_summary(english:\"Check for the openSUSE-2018-417 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 corosync fixes the following issues :\n\n - CVE-2018-1084: Integer overflow in\n totemcrypto:authenticate_nss_2_3() could lead to command\n execution (bsc#1089346)\n\n - Providing an empty uid or gid results in coroparse\n adding uid 0. (bsc#1066585)\n\n - Fix a problem with configuration file incompatibilities\n that was causing corosync to not work after upgrading\n from SLE-11-SP4-HA to SLE-12/15-HA. (bsc#1083561)\n\nThis update was imported from the SUSE:SLE-12-SP3:Update update\nproject.\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.opensuse.org/show_bug.cgi?id=1066585\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.opensuse.org/show_bug.cgi?id=1083561\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.opensuse.org/show_bug.cgi?id=1089346\"\n );\n script_set_attribute(\n attribute:\"solution\", \n value:\"Update the affected corosync packages.\"\n );\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:opensuse:corosync\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:opensuse:corosync-debuginfo\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:opensuse:corosync-debugsource\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:opensuse:corosync-testagents\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:opensuse:corosync-testagents-debuginfo\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:opensuse:libcorosync-devel\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:opensuse:libcorosync4\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:opensuse:libcorosync4-32bit\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:opensuse:libcorosync4-debuginfo\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:opensuse:libcorosync4-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/05/03\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2018/05/03\");\n script_set_attribute(attribute:\"stig_severity\", value:\"I\");\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:\"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:\"corosync-2.3.6-10.1\") ) flag++;\nif ( rpm_check(release:\"SUSE42.3\", reference:\"corosync-debuginfo-2.3.6-10.1\") ) flag++;\nif ( rpm_check(release:\"SUSE42.3\", reference:\"corosync-debugsource-2.3.6-10.1\") ) flag++;\nif ( rpm_check(release:\"SUSE42.3\", reference:\"corosync-testagents-2.3.6-10.1\") ) flag++;\nif ( rpm_check(release:\"SUSE42.3\", reference:\"corosync-testagents-debuginfo-2.3.6-10.1\") ) flag++;\nif ( rpm_check(release:\"SUSE42.3\", reference:\"libcorosync-devel-2.3.6-10.1\") ) flag++;\nif ( rpm_check(release:\"SUSE42.3\", reference:\"libcorosync4-2.3.6-10.1\") ) flag++;\nif ( rpm_check(release:\"SUSE42.3\", reference:\"libcorosync4-debuginfo-2.3.6-10.1\") ) flag++;\nif ( rpm_check(release:\"SUSE42.3\", cpu:\"x86_64\", reference:\"libcorosync4-32bit-2.3.6-10.1\") ) flag++;\nif ( rpm_check(release:\"SUSE42.3\", cpu:\"x86_64\", reference:\"libcorosync4-debuginfo-32bit-2.3.6-10.1\") ) flag++;\n\nif (flag)\n{\n if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());\n else security_hole(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, \"corosync / corosync-debuginfo / corosync-debugsource / etc\");\n}\n", "naslFamily": "SuSE Local Security Checks", "pluginID": "109541", "cpe": ["p-cpe:/a:novell:opensuse:libcorosync4-32bit", "p-cpe:/a:novell:opensuse:corosync-debugsource", "p-cpe:/a:novell:opensuse:libcorosync4-debuginfo-32bit", "p-cpe:/a:novell:opensuse:corosync-testagents-debuginfo", "p-cpe:/a:novell:opensuse:libcorosync-devel", "p-cpe:/a:novell:opensuse:corosync-testagents", "p-cpe:/a:novell:opensuse:corosync", "cpe:/o:novell:opensuse:42.3", "p-cpe:/a:novell:opensuse:libcorosync4-debuginfo", "p-cpe:/a:novell:opensuse:corosync-debuginfo", "p-cpe:/a:novell:opensuse:libcorosync4"], "scheme": null, "cvss3": {"score": 9.8, "vector": "AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}}
{"cve": [{"lastseen": "2021-02-02T06:52:24", "description": "corosync before version 2.4.4 is vulnerable to an integer overflow in exec/totemcrypto.c.", "edition": 11, "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "CRITICAL", "confidentialityImpact": "HIGH", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "HIGH", "integrityImpact": "HIGH", "baseScore": 9.8, "privilegesRequired": "NONE", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H", "userInteraction": "NONE", "version": "3.0"}, "impactScore": 5.9}, "published": "2018-04-12T17:29:00", "title": "CVE-2018-1084", "type": "cve", "cwe": ["CWE-190"], "bulletinFamily": "NVD", "cvss2": {"severity": "HIGH", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "baseScore": 7.5, "vectorString": "AV:N/AC:L/Au:N/C:P/I:P/A:P", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 6.4, "obtainUserPrivilege": false}, "cvelist": ["CVE-2018-1084"], "modified": "2019-10-09T23:38:00", "cpe": ["cpe:/o:canonical:ubuntu_linux:18.04", "cpe:/o:canonical:ubuntu_linux:16.04", "cpe:/o:redhat:enterprise_linux_server:7.0", "cpe:/o:debian:debian_linux:9.0"], "id": "CVE-2018-1084", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2018-1084", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}, "cpe23": ["cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*", "cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*", "cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*", "cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:*"]}], "amazon": [{"lastseen": "2020-11-10T12:36:08", "bulletinFamily": "unix", "cvelist": ["CVE-2018-1084"], "description": "**Issue Overview:**\n\nInteger overflow in exec/totemcrypto.c:authenticate_nss_2_3() function \nAn integer overflow leading to an out-of-bound read was found in authenticate_nss_2_3() in Corosync. An attacker could craft a malicious packet that would lead to a denial of service.([CVE-2018-1084 __](<https://access.redhat.com/security/cve/CVE-2018-1084>))\n\n \n**Affected Packages:** \n\n\ncorosync\n\n \n**Issue Correction:** \nRun _yum update corosync_ to update your system. \n\n\n \n\n\n**New Packages:**\n \n \n src: \n corosync-2.4.3-2.amzn2.1.src \n \n x86_64: \n corosync-2.4.3-2.amzn2.1.x86_64 \n corosync-debuginfo-2.4.3-2.amzn2.1.x86_64 \n corosynclib-2.4.3-2.amzn2.1.x86_64 \n corosynclib-devel-2.4.3-2.amzn2.1.x86_64 \n corosync-qdevice-2.4.3-2.amzn2.1.x86_64 \n corosync-qnetd-2.4.3-2.amzn2.1.x86_64 \n \n \n", "edition": 1, "modified": "2018-05-10T17:24:00", "published": "2018-05-10T17:24:00", "id": "ALAS2-2018-1014", "href": "https://alas.aws.amazon.com/AL2/ALAS-2018-1014.html", "title": "Important: corosync", "type": "amazon", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}], "openvas": [{"lastseen": "2019-06-05T01:41:04", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-1084"], "description": "The remote host is missing an update for the ", "modified": "2019-06-04T00:00:00", "published": "2019-05-31T00:00:00", "id": "OPENVAS:1361412562310844028", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310844028", "type": "openvas", "title": "Ubuntu Update for corosync USN-4000-1", "sourceData": "# Copyright (C) 2019 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.0.844028\");\n script_version(\"2019-06-04T07:02:10+0000\");\n script_cve_id(\"CVE-2018-1084\");\n script_tag(name:\"cvss_base\", value:\"7.5\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:L/Au:N/C:P/I:P/A:P\");\n script_tag(name:\"last_modification\", value:\"2019-06-04 07:02:10 +0000 (Tue, 04 Jun 2019)\");\n script_tag(name:\"creation_date\", value:\"2019-05-31 02:00:32 +0000 (Fri, 31 May 2019)\");\n script_name(\"Ubuntu Update for corosync USN-4000-1\");\n script_category(ACT_GATHER_INFO);\n script_copyright(\"Copyright (C) 2019 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=(UBUNTU18\\.04 LTS|UBUNTU16\\.04 LTS)\");\n\n script_xref(name:\"USN\", value:\"4000-1\");\n script_xref(name:\"URL\", value:\"https://lists.ubuntu.com/archives/ubuntu-security-announce/2019-May/004929.html\");\n\n script_tag(name:\"summary\", value:\"The remote host is missing an update for the 'corosync'\n package(s) announced via the USN-4000-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:\"It was discovered that Corosync incorrectly handled certain requests.\nAn attacker could possibly use this issue to cause a denial of service\nor execute arbitrary code.\");\n\n script_tag(name:\"affected\", value:\"'corosync' package(s) on Ubuntu 18.04 LTS, Ubuntu 16.04 LTS.\");\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-deb.inc\");\n\nrelease = dpkg_get_ssh_release();\nif(!release)\n exit(0);\n\nres = \"\";\nreport = \"\";\n\nif(release == \"UBUNTU18.04 LTS\") {\n\n if(!isnull(res = isdpkgvuln(pkg:\"corosync\", ver:\"2.4.3-0ubuntu1.1\", rls:\"UBUNTU18.04 LTS\"))) {\n report += res;\n }\n\n if(!isnull(res = isdpkgvuln(pkg:\"libtotem-pg5\", ver:\"2.4.3-0ubuntu1.1\", rls:\"UBUNTU18.04 LTS\"))) {\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\nif(release == \"UBUNTU16.04 LTS\") {\n\n if(!isnull(res = isdpkgvuln(pkg:\"corosync\", ver:\"2.3.5-3ubuntu2.3\", rls:\"UBUNTU16.04 LTS\"))) {\n report += res;\n }\n\n if(!isnull(res = isdpkgvuln(pkg:\"libtotem-pg5\", ver:\"2.3.5-3ubuntu2.3\", rls:\"UBUNTU16.04 LTS\"))) {\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);\n", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}, {"lastseen": "2019-05-29T18:33:00", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-1084"], "description": "The remote host is missing an update for the ", "modified": "2019-03-15T00:00:00", "published": "2018-04-19T00:00:00", "id": "OPENVAS:1361412562310874370", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310874370", "type": "openvas", "title": "Fedora Update for corosync FEDORA-2018-b0253649be", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n# $Id: gb_fedora_2018_b0253649be_corosync_fc27.nasl 14223 2019-03-15 13:49:35Z cfischer $\n#\n# Fedora Update for corosync FEDORA-2018-b0253649be\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.874370\");\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-04-19 08:55:15 +0200 (Thu, 19 Apr 2018)\");\n script_cve_id(\"CVE-2018-1084\");\n script_tag(name:\"cvss_base\", value:\"7.5\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:L/Au:N/C:P/I:P/A:P\");\n script_tag(name:\"qod_type\", value:\"package\");\n script_name(\"Fedora Update for corosync FEDORA-2018-b0253649be\");\n script_tag(name:\"summary\", value:\"The remote host is missing an update for the 'corosync'\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:\"corosync on Fedora 27\");\n script_tag(name:\"solution\", value:\"Please install the updated package(s).\");\n\n script_xref(name:\"FEDORA\", value:\"2018-b0253649be\");\n script_xref(name:\"URL\", value:\"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ELDGTWNP5KSVMGJTIHZ3JSS4RNJRKNCB\");\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:\"corosync\", rpm:\"corosync~2.4.4~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": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}, {"lastseen": "2019-05-29T18:33:25", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-1084"], "description": "Check the version of corosync", "modified": "2019-03-08T00:00:00", "published": "2018-06-05T00:00:00", "id": "OPENVAS:1361412562310882901", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310882901", "type": "openvas", "title": "CentOS Update for corosync CESA-2018:1169 centos7", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n# $Id: gb_CESA-2018_1169_corosync_centos7.nasl 14058 2019-03-08 13:25:52Z cfischer $\n#\n# CentOS Update for corosync CESA-2018:1169 centos7\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.882901\");\n script_version(\"$Revision: 14058 $\");\n script_tag(name:\"last_modification\", value:\"$Date: 2019-03-08 14:25:52 +0100 (Fri, 08 Mar 2019) $\");\n script_tag(name:\"creation_date\", value:\"2018-06-05 14:03:08 +0530 (Tue, 05 Jun 2018)\");\n script_cve_id(\"CVE-2018-1084\");\n script_tag(name:\"cvss_base\", value:\"7.5\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:L/Au:N/C:P/I:P/A:P\");\n script_tag(name:\"qod_type\", value:\"package\");\n script_name(\"CentOS Update for corosync CESA-2018:1169 centos7\");\n script_tag(name:\"summary\", value:\"Check the version of corosync\");\n script_tag(name:\"vuldetect\", value:\"Checks if a vulnerable version is present on the target host.\");\n script_tag(name:\"insight\", value:\"The corosync packages provide the Corosync Cluster Engine and C APIs for\nRed Hat Enterprise Linux cluster software.\n\nSecurity Fix(es):\n\n * corosync: Integer overflow in exec/totemcrypto.c:authenticate_nss_2_3()\nfunction (CVE-2018-1084)\n\nFor more details about the security issue(s), including the impact, a CVSS\nscore, and other related information, refer to the CVE page(s) listed in\nthe References section.\n\nRed Hat would like to thank Citrix Security Response Team for reporting\nthis issue.\");\n script_tag(name:\"affected\", value:\"corosync on CentOS 7\");\n script_tag(name:\"solution\", value:\"Please install the updated packages.\");\n\n script_xref(name:\"CESA\", value:\"2018:1169\");\n script_xref(name:\"URL\", value:\"http://lists.centos.org/pipermail/centos-announce/2018-May/022855.html\");\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(\"CentOS Local Security Checks\");\n script_dependencies(\"gather-package-list.nasl\");\n script_mandatory_keys(\"ssh/login/centos\", \"ssh/login/rpms\", re:\"ssh/login/release=CentOS7\");\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 == \"CentOS7\")\n{\n\n if ((res = isrpmvuln(pkg:\"corosync\", rpm:\"corosync~2.4.3~2.el7_5.1\", rls:\"CentOS7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"corosynclib\", rpm:\"corosynclib~2.4.3~2.el7_5.1\", rls:\"CentOS7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"corosynclib-devel\", rpm:\"corosynclib-devel~2.4.3~2.el7_5.1\", rls:\"CentOS7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"corosync-qdevice\", rpm:\"corosync-qdevice~2.4.3~2.el7_5.1\", rls:\"CentOS7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if ((res = isrpmvuln(pkg:\"corosync-qnetd\", rpm:\"corosync-qnetd~2.4.3~2.el7_5.1\", rls:\"CentOS7\")) != NULL)\n {\n security_message(data:res);\n exit(0);\n }\n\n if (__pkg_match) exit(99);\n exit(0);\n}", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}, {"lastseen": "2019-05-29T18:33:08", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-1084"], "description": "The remote host is missing an update for the ", "modified": "2019-03-15T00:00:00", "published": "2018-04-20T00:00:00", "id": "OPENVAS:1361412562310874372", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310874372", "type": "openvas", "title": "Fedora Update for corosync FEDORA-2018-d87e29047d", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n# $Id: gb_fedora_2018_d87e29047d_corosync_fc26.nasl 14223 2019-03-15 13:49:35Z cfischer $\n#\n# Fedora Update for corosync FEDORA-2018-d87e29047d\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.874372\");\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-04-20 09:29:01 +0200 (Fri, 20 Apr 2018)\");\n script_cve_id(\"CVE-2018-1084\");\n script_tag(name:\"cvss_base\", value:\"7.5\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:L/Au:N/C:P/I:P/A:P\");\n script_tag(name:\"qod_type\", value:\"package\");\n script_name(\"Fedora Update for corosync FEDORA-2018-d87e29047d\");\n script_tag(name:\"summary\", value:\"The remote host is missing an update for the 'corosync'\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:\"corosync on Fedora 26\");\n script_tag(name:\"solution\", value:\"Please install the updated package(s).\");\n\n script_xref(name:\"FEDORA\", value:\"2018-d87e29047d\");\n script_xref(name:\"URL\", value:\"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GVHRXXQPXGIRL2EMLLXWAX7BAJICOOI3\");\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=FC26\");\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 == \"FC26\")\n{\n\n if ((res = isrpmvuln(pkg:\"corosync\", rpm:\"corosync~2.4.4~1.fc26\", rls:\"FC26\")) != 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": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}, {"lastseen": "2019-07-04T18:56:03", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-1084"], "description": "The Citrix Security Response Team discovered that corosync, a cluster\nengine implementation, allowed an unauthenticated user to cause a\ndenial-of-service by application crash.", "modified": "2019-07-04T00:00:00", "published": "2018-04-17T00:00:00", "id": "OPENVAS:1361412562310704174", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310704174", "type": "openvas", "title": "Debian Security Advisory DSA 4174-1 (corosync - security update)", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n#\n# Auto-generated from advisory DSA 4174-1 using nvtgen 1.0\n# Script version: 1.0\n#\n# Author:\n# Greenbone Networks\n#\n# Copyright:\n# Copyright (c) 2018 Greenbone Networks GmbH http://greenbone.net\n# Text descriptions are largely excerpted from the referenced\n# advisory, and are Copyright (c) the respective author(s)\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 as published by\n# the Free Software Foundation; either version 2 of the License, or\n# (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###############################################################################\n\nif(description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.704174\");\n script_version(\"2019-07-04T09:25:28+0000\");\n script_cve_id(\"CVE-2018-1084\");\n script_name(\"Debian Security Advisory DSA 4174-1 (corosync - security update)\");\n script_tag(name:\"last_modification\", value:\"2019-07-04 09:25:28 +0000 (Thu, 04 Jul 2019)\");\n script_tag(name:\"creation_date\", value:\"2018-04-17 00:00:00 +0200 (Tue, 17 Apr 2018)\");\n script_tag(name:\"cvss_base\", value:\"7.5\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:L/Au:N/C:P/I:P/A:P\");\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n script_tag(name:\"qod_type\", value:\"package\");\n\n script_xref(name:\"URL\", value:\"https://www.debian.org/security/2018/dsa-4174.html\");\n\n script_category(ACT_GATHER_INFO);\n\n script_copyright(\"Copyright (c) 2018 Greenbone Networks GmbH http://greenbone.net\");\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=DEB9\");\n script_tag(name:\"affected\", value:\"corosync on Debian Linux\");\n script_tag(name:\"solution\", value:\"For the stable distribution (stretch), this problem has been fixed in\nversion 2.4.2-3+deb9u1.\n\nWe recommend that you upgrade your corosync packages.\");\n\n script_xref(name:\"URL\", value:\"https://security-tracker.debian.org/tracker/corosync\");\n script_tag(name:\"summary\", value:\"The Citrix Security Response Team discovered that corosync, a cluster\nengine implementation, allowed an unauthenticated user to cause a\ndenial-of-service by application crash.\");\n script_tag(name:\"vuldetect\", value:\"This check tests the installed software version using the apt package manager.\");\n\n exit(0);\n}\n\ninclude(\"revisions-lib.inc\");\ninclude(\"pkg-lib-deb.inc\");\n\nres = \"\";\nreport = \"\";\nif(!isnull(res = isdpkgvuln(pkg:\"corosync\", ver:\"2.4.2-3+deb9u1\", rls:\"DEB9\"))) {\n report += res;\n}\nif(!isnull(res = isdpkgvuln(pkg:\"corosync-dev\", ver:\"2.4.2-3+deb9u1\", rls:\"DEB9\"))) {\n report += res;\n}\nif(!isnull(res = isdpkgvuln(pkg:\"corosync-doc\", ver:\"2.4.2-3+deb9u1\", rls:\"DEB9\"))) {\n report += res;\n}\nif(!isnull(res = isdpkgvuln(pkg:\"corosync-notifyd\", ver:\"2.4.2-3+deb9u1\", rls:\"DEB9\"))) {\n report += res;\n}\nif(!isnull(res = isdpkgvuln(pkg:\"corosync-qdevice\", ver:\"2.4.2-3+deb9u1\", rls:\"DEB9\"))) {\n report += res;\n}\nif(!isnull(res = isdpkgvuln(pkg:\"corosync-qnetd\", ver:\"2.4.2-3+deb9u1\", rls:\"DEB9\"))) {\n report += res;\n}\nif(!isnull(res = isdpkgvuln(pkg:\"libcfg-dev\", ver:\"2.4.2-3+deb9u1\", rls:\"DEB9\"))) {\n report += res;\n}\nif(!isnull(res = isdpkgvuln(pkg:\"libcfg6\", ver:\"2.4.2-3+deb9u1\", rls:\"DEB9\"))) {\n report += res;\n}\nif(!isnull(res = isdpkgvuln(pkg:\"libcmap-dev\", ver:\"2.4.2-3+deb9u1\", rls:\"DEB9\"))) {\n report += res;\n}\nif(!isnull(res = isdpkgvuln(pkg:\"libcmap4\", ver:\"2.4.2-3+deb9u1\", rls:\"DEB9\"))) {\n report += res;\n}\nif(!isnull(res = isdpkgvuln(pkg:\"libcorosync-common-dev\", ver:\"2.4.2-3+deb9u1\", rls:\"DEB9\"))) {\n report += res;\n}\nif(!isnull(res = isdpkgvuln(pkg:\"libcorosync-common4\", ver:\"2.4.2-3+deb9u1\", rls:\"DEB9\"))) {\n report += res;\n}\nif(!isnull(res = isdpkgvuln(pkg:\"libcpg-dev\", ver:\"2.4.2-3+deb9u1\", rls:\"DEB9\"))) {\n report += res;\n}\nif(!isnull(res = isdpkgvuln(pkg:\"libcpg4\", ver:\"2.4.2-3+deb9u1\", rls:\"DEB9\"))) {\n report += res;\n}\nif(!isnull(res = isdpkgvuln(pkg:\"libquorum-dev\", ver:\"2.4.2-3+deb9u1\", rls:\"DEB9\"))) {\n report += res;\n}\nif(!isnull(res = isdpkgvuln(pkg:\"libquorum5\", ver:\"2.4.2-3+deb9u1\", rls:\"DEB9\"))) {\n report += res;\n}\nif(!isnull(res = isdpkgvuln(pkg:\"libsam-dev\", ver:\"2.4.2-3+deb9u1\", rls:\"DEB9\"))) {\n report += res;\n}\nif(!isnull(res = isdpkgvuln(pkg:\"libsam4\", ver:\"2.4.2-3+deb9u1\", rls:\"DEB9\"))) {\n report += res;\n}\nif(!isnull(res = isdpkgvuln(pkg:\"libtotem-pg-dev\", ver:\"2.4.2-3+deb9u1\", rls:\"DEB9\"))) {\n report += res;\n}\nif(!isnull(res = isdpkgvuln(pkg:\"libtotem-pg5\", ver:\"2.4.2-3+deb9u1\", rls:\"DEB9\"))) {\n report += res;\n}\nif(!isnull(res = isdpkgvuln(pkg:\"libvotequorum-dev\", ver:\"2.4.2-3+deb9u1\", rls:\"DEB9\"))) {\n report += res;\n}\nif(!isnull(res = isdpkgvuln(pkg:\"libvotequorum8\", ver:\"2.4.2-3+deb9u1\", rls:\"DEB9\"))) {\n report += res;\n}\n\nif(report != \"\") {\n security_message(data:report);\n} else if(__pkg_match) {\n exit(99);\n}", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}, {"lastseen": "2020-06-04T16:42:22", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-1084"], "description": "The remote host is missing an update for the ", "modified": "2020-06-03T00:00:00", "published": "2018-05-04T00:00:00", "id": "OPENVAS:1361412562310851738", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310851738", "type": "openvas", "title": "openSUSE: Security Advisory for corosync (openSUSE-SU-2018:1136-1)", "sourceData": "# Copyright (C) 2018 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.851738\");\n script_version(\"2020-06-03T08:38:58+0000\");\n script_tag(name:\"last_modification\", value:\"2020-06-03 08:38:58 +0000 (Wed, 03 Jun 2020)\");\n script_tag(name:\"creation_date\", value:\"2018-05-04 05:36:42 +0200 (Fri, 04 May 2018)\");\n script_cve_id(\"CVE-2018-1084\");\n script_tag(name:\"cvss_base\", value:\"7.5\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:L/Au:N/C:P/I:P/A:P\");\n script_tag(name:\"qod_type\", value:\"package\");\n script_name(\"openSUSE: Security Advisory for corosync (openSUSE-SU-2018:1136-1)\");\n\n script_tag(name:\"summary\", value:\"The remote host is missing an update for the 'corosync'\n package(s) announced via the referenced 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:\"This update for corosync fixes the following issues:\n\n - CVE-2018-1084: Integer overflow in totemcrypto:authenticate_nss_2_3()\n could lead to command execution (bsc#1089346)\n\n - Providing an empty uid or gid results in coroparse adding uid 0.\n (bsc#1066585)\n\n - Fix a problem with configuration file incompatibilities that was causing\n corosync to not work after upgrading from SLE-11-SP4-HA to SLE-12/15-HA.\n (bsc#1083561)\n\n This update was imported from the SUSE:SLE-12-SP3:Update update project.\n\n Patch Instructions:\n\n To install this openSUSE Security Update use the SUSE recommended\n installation methods\n like YaST online_update or 'zypper patch'.\n\n Alternatively you can run the command listed for your product:\n\n - openSUSE Leap 42.3:\n\n zypper in -t patch openSUSE-2018-417=1\");\n\n script_tag(name:\"affected\", value:\"corosync on openSUSE Leap 42.3\");\n\n script_tag(name:\"solution\", value:\"Please install the updated package(s).\");\n\n script_xref(name:\"openSUSE-SU\", value:\"2018:1136-1\");\n script_xref(name:\"URL\", value:\"https://lists.opensuse.org/opensuse-security-announce/2018-05/msg00003.html\");\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(\"SuSE Local Security Checks\");\n script_dependencies(\"gather-package-list.nasl\");\n script_mandatory_keys(\"ssh/login/suse\", \"ssh/login/rpms\", re:\"ssh/login/release=openSUSELeap42\\.3\");\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 == \"openSUSELeap42.3\") {\n if(!isnull(res = isrpmvuln(pkg:\"corosync\", rpm:\"corosync~2.3.6~10.1\", rls:\"openSUSELeap42.3\"))) {\n report += res;\n }\n\n if(!isnull(res = isrpmvuln(pkg:\"corosync-debuginfo\", rpm:\"corosync-debuginfo~2.3.6~10.1\", rls:\"openSUSELeap42.3\"))) {\n report += res;\n }\n\n if(!isnull(res = isrpmvuln(pkg:\"corosync-debugsource\", rpm:\"corosync-debugsource~2.3.6~10.1\", rls:\"openSUSELeap42.3\"))) {\n report += res;\n }\n\n if(!isnull(res = isrpmvuln(pkg:\"corosync-testagents\", rpm:\"corosync-testagents~2.3.6~10.1\", rls:\"openSUSELeap42.3\"))) {\n report += res;\n }\n\n if(!isnull(res = isrpmvuln(pkg:\"corosync-testagents-debuginfo\", rpm:\"corosync-testagents-debuginfo~2.3.6~10.1\", rls:\"openSUSELeap42.3\"))) {\n report += res;\n }\n\n if(!isnull(res = isrpmvuln(pkg:\"libcorosync-devel\", rpm:\"libcorosync-devel~2.3.6~10.1\", rls:\"openSUSELeap42.3\"))) {\n report += res;\n }\n\n if(!isnull(res = isrpmvuln(pkg:\"libcorosync4\", rpm:\"libcorosync4~2.3.6~10.1\", rls:\"openSUSELeap42.3\"))) {\n report += res;\n }\n\n if(!isnull(res = isrpmvuln(pkg:\"libcorosync4-debuginfo\", rpm:\"libcorosync4-debuginfo~2.3.6~10.1\", rls:\"openSUSELeap42.3\"))) {\n report += res;\n }\n\n if(!isnull(res = isrpmvuln(pkg:\"libcorosync4-32bit\", rpm:\"libcorosync4-32bit~2.3.6~10.1\", rls:\"openSUSELeap42.3\"))) {\n report += res;\n }\n\n if(!isnull(res = isrpmvuln(pkg:\"libcorosync4-debuginfo-32bit\", rpm:\"libcorosync4-debuginfo-32bit~2.3.6~10.1\", rls:\"openSUSELeap42.3\"))) {\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);\n", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}], "ubuntu": [{"lastseen": "2020-07-02T11:37:21", "bulletinFamily": "unix", "cvelist": ["CVE-2018-1084"], "description": "It was discovered that Corosync incorrectly handled certain requests. \nAn attacker could possibly use this issue to cause a denial of service \nor execute arbitrary code.", "edition": 2, "modified": "2019-05-30T00:00:00", "published": "2019-05-30T00:00:00", "id": "USN-4000-1", "href": "https://ubuntu.com/security/notices/USN-4000-1", "title": "Corosync vulnerability", "type": "ubuntu", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}], "fedora": [{"lastseen": "2020-12-21T08:17:54", "bulletinFamily": "unix", "cvelist": ["CVE-2018-1084"], "description": "This package contains the Corosync Cluster Engine Executive, several default APIs and libraries, default configuration files, and an init script. ", "modified": "2018-04-19T00:32:19", "published": "2018-04-19T00:32:19", "id": "FEDORA:F3949601B8F0", "href": "", "type": "fedora", "title": "[SECURITY] Fedora 27 Update: corosync-2.4.4-1.fc27", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}, {"lastseen": "2020-12-21T08:17:54", "bulletinFamily": "unix", "cvelist": ["CVE-2018-1084"], "description": "This package contains the Corosync Cluster Engine Executive, several default APIs and libraries, default configuration files, and an init script. ", "modified": "2018-04-19T16:23:51", "published": "2018-04-19T16:23:51", "id": "FEDORA:8AFB160BA788", "href": "", "type": "fedora", "title": "[SECURITY] Fedora 26 Update: corosync-2.4.4-1.fc26", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}, {"lastseen": "2020-12-21T08:17:54", "bulletinFamily": "unix", "cvelist": ["CVE-2018-1084"], "description": "This package contains the Corosync Cluster Engine Executive, several default APIs and libraries, default configuration files, and an init script. ", "modified": "2018-04-17T00:25:35", "published": "2018-04-17T00:25:35", "id": "FEDORA:06F2D6014767", "href": "", "type": "fedora", "title": "[SECURITY] Fedora 28 Update: corosync-2.4.4-1.fc28", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}], "nessus": [{"lastseen": "2021-01-07T10:16:08", "description": "New upstream release with security fix for CVE-2018-1084\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": 11, "cvss3": {"score": 9.8, "vector": "AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}, "published": "2019-01-03T00:00:00", "title": "Fedora 28 : corosync (2018-12da088117)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-1084"], "modified": "2019-01-03T00:00:00", "cpe": ["p-cpe:/a:fedoraproject:fedora:corosync", "cpe:/o:fedoraproject:fedora:28"], "id": "FEDORA_2018-12DA088117.NASL", "href": "https://www.tenable.com/plugins/nessus/120244", "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-12da088117.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(120244);\n script_version(\"1.5\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/06\");\n\n script_cve_id(\"CVE-2018-1084\");\n script_xref(name:\"FEDORA\", value:\"2018-12da088117\");\n\n script_name(english:\"Fedora 28 : corosync (2018-12da088117)\");\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\"New upstream release with security fix for CVE-2018-1084\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-12da088117\"\n );\n script_set_attribute(\n attribute:\"solution\", \n value:\"Update the affected corosync package.\"\n );\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:P/I:P/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:N/S:U/C:H/I:H/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:fedoraproject:fedora:corosync\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:fedoraproject:fedora:28\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2018/04/12\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2018/04/17\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2019/01/03\");\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) 2019-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:\"^28([^0-9]|$)\", string:os_ver)) audit(AUDIT_OS_NOT, \"Fedora 28\", \"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:\"FC28\", reference:\"corosync-2.4.4-1.fc28\")) flag++;\n\n\nif (flag)\n{\n security_report_v4(\n port : 0,\n severity : SECURITY_HOLE,\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, \"corosync\");\n}\n", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}, {"lastseen": "2021-01-07T10:21:49", "description": "New upstream release with security fix for CVE-2018-1084\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": 21, "cvss3": {"score": 9.8, "vector": "AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}, "published": "2018-04-20T00:00:00", "title": "Fedora 26 : corosync (2018-d87e29047d)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-1084"], "modified": "2018-04-20T00:00:00", "cpe": ["p-cpe:/a:fedoraproject:fedora:corosync", "cpe:/o:fedoraproject:fedora:26"], "id": "FEDORA_2018-D87E29047D.NASL", "href": "https://www.tenable.com/plugins/nessus/109189", "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-d87e29047d.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(109189);\n script_version(\"1.8\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/06\");\n\n script_cve_id(\"CVE-2018-1084\");\n script_xref(name:\"FEDORA\", value:\"2018-d87e29047d\");\n script_xref(name:\"IAVA\", value:\"2018-A-0127\");\n\n script_name(english:\"Fedora 26 : corosync (2018-d87e29047d)\");\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\"New upstream release with security fix for CVE-2018-1084\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-d87e29047d\"\n );\n script_set_attribute(\n attribute:\"solution\", \n value:\"Update the affected corosync package.\"\n );\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:fedoraproject:fedora:corosync\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:fedoraproject:fedora:26\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2018/04/12\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2018/04/19\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2018/04/20\");\n script_set_attribute(attribute:\"generated_plugin\", value:\"current\");\n script_set_attribute(attribute:\"stig_severity\", value:\"I\");\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:\"^26([^0-9]|$)\", string:os_ver)) audit(AUDIT_OS_NOT, \"Fedora 26\", \"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:\"FC26\", reference:\"corosync-2.4.4-1.fc26\")) flag++;\n\n\nif (flag)\n{\n security_report_v4(\n port : 0,\n severity : SECURITY_HOLE,\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, \"corosync\");\n}\n", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}, {"lastseen": "2021-01-07T10:20:44", "description": "New upstream release with security fix for CVE-2018-1084\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": 20, "cvss3": {"score": 9.8, "vector": "AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}, "published": "2018-04-19T00:00:00", "title": "Fedora 27 : corosync (2018-b0253649be)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-1084"], "modified": "2018-04-19T00:00:00", "cpe": ["cpe:/o:fedoraproject:fedora:27", "p-cpe:/a:fedoraproject:fedora:corosync"], "id": "FEDORA_2018-B0253649BE.NASL", "href": "https://www.tenable.com/plugins/nessus/109151", "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-b0253649be.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(109151);\n script_version(\"1.8\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/06\");\n\n script_cve_id(\"CVE-2018-1084\");\n script_xref(name:\"FEDORA\", value:\"2018-b0253649be\");\n\n script_name(english:\"Fedora 27 : corosync (2018-b0253649be)\");\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\"New upstream release with security fix for CVE-2018-1084\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-b0253649be\"\n );\n script_set_attribute(\n attribute:\"solution\", \n value:\"Update the affected corosync package.\"\n );\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:fedoraproject:fedora:corosync\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:fedoraproject:fedora:27\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2018/04/12\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2018/04/19\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2018/04/19\");\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:\"corosync-2.4.4-1.fc27\")) flag++;\n\n\nif (flag)\n{\n security_report_v4(\n port : 0,\n severity : SECURITY_HOLE,\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, \"corosync\");\n}\n", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}, {"lastseen": "2020-03-18T02:48:28", "description": "Security Fix(es) :\n\n - corosync: Integer overflow in\n exec/totemcrypto.c:authenticate_nss_2_3() function\n (CVE-2018-1084)", "edition": 16, "cvss3": {"score": 9.8, "vector": "AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}, "published": "2018-05-01T00:00:00", "title": "Scientific Linux Security Update : corosync on SL7.x x86_64 (20180417)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-1084"], "modified": "2018-05-01T00:00:00", "cpe": ["p-cpe:/a:fermilab:scientific_linux:corosynclib-devel", "p-cpe:/a:fermilab:scientific_linux:corosynclib", "p-cpe:/a:fermilab:scientific_linux:corosync-debuginfo", "p-cpe:/a:fermilab:scientific_linux:corosync-qnetd", "p-cpe:/a:fermilab:scientific_linux:corosync-qdevice", "x-cpe:/o:fermilab:scientific_linux", "p-cpe:/a:fermilab:scientific_linux:corosync"], "id": "SL_20180417_COROSYNC_ON_SL7_X.NASL", "href": "https://www.tenable.com/plugins/nessus/109460", "sourceData": "#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text is (C) Scientific Linux.\n#\n\ninclude(\"compat.inc\");\n\nif (description)\n{\n script_id(109460);\n script_version(\"1.7\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2020/02/24\");\n\n script_cve_id(\"CVE-2018-1084\");\n script_xref(name:\"IAVA\", value:\"2018-A-0127\");\n\n script_name(english:\"Scientific Linux Security Update : corosync on SL7.x x86_64 (20180417)\");\n script_summary(english:\"Checks rpm output for the updated packages\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\n\"The remote Scientific Linux host is missing one or more security\nupdates.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"Security Fix(es) :\n\n - corosync: Integer overflow in\n exec/totemcrypto.c:authenticate_nss_2_3() function\n (CVE-2018-1084)\"\n );\n # https://listserv.fnal.gov/scripts/wa.exe?A2=ind1804&L=scientific-linux-errata&F=&S=&P=8205\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?32d15bbc\"\n );\n script_set_attribute(attribute:\"solution\", value:\"Update the affected packages.\");\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:fermilab:scientific_linux:corosync\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:fermilab:scientific_linux:corosync-debuginfo\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:fermilab:scientific_linux:corosync-qdevice\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:fermilab:scientific_linux:corosync-qnetd\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:fermilab:scientific_linux:corosynclib\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:fermilab:scientific_linux:corosynclib-devel\");\n script_set_attribute(attribute:\"cpe\", value:\"x-cpe:/o:fermilab:scientific_linux\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2018/04/12\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2018/04/17\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2018/05/01\");\n script_set_attribute(attribute:\"generated_plugin\", value:\"current\");\n script_set_attribute(attribute:\"stig_severity\", value:\"I\");\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:\"Scientific Linux Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/cpu\", \"Host/RedHat/release\", \"Host/RedHat/rpm-list\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"misc_func.inc\");\ninclude(\"rpm.inc\");\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) || \"Scientific Linux \" >!< release) audit(AUDIT_HOST_NOT, \"running Scientific Linux\");\nos_ver = pregmatch(pattern: \"Scientific Linux.*release ([0-9]+(\\.[0-9]+)?)\", string:release);\nif (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, \"Scientific Linux\");\nos_ver = os_ver[1];\nif (! preg(pattern:\"^7([^0-9]|$)\", string:os_ver)) audit(AUDIT_OS_NOT, \"Scientific Linux 7.x\", \"Scientific Linux \" + os_ver);\nif (!get_kb_item(\"Host/RedHat/rpm-list\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\ncpu = get_kb_item(\"Host/cpu\");\nif (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);\nif (cpu >!< \"x86_64\" && cpu !~ \"^i[3-6]86$\") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, \"Scientific Linux\", cpu);\nif (\"x86_64\" >!< cpu) audit(AUDIT_ARCH_NOT, \"x86_64\", cpu);\n\n\nflag = 0;\nif (rpm_check(release:\"SL7\", cpu:\"x86_64\", reference:\"corosync-2.4.3-2.el7_5.1\")) flag++;\nif (rpm_check(release:\"SL7\", cpu:\"x86_64\", reference:\"corosync-debuginfo-2.4.3-2.el7_5.1\")) flag++;\nif (rpm_check(release:\"SL7\", cpu:\"x86_64\", reference:\"corosync-qdevice-2.4.3-2.el7_5.1\")) flag++;\nif (rpm_check(release:\"SL7\", cpu:\"x86_64\", reference:\"corosync-qnetd-2.4.3-2.el7_5.1\")) flag++;\nif (rpm_check(release:\"SL7\", cpu:\"x86_64\", reference:\"corosynclib-2.4.3-2.el7_5.1\")) flag++;\nif (rpm_check(release:\"SL7\", cpu:\"x86_64\", reference:\"corosynclib-devel-2.4.3-2.el7_5.1\")) flag++;\n\n\nif (flag)\n{\n security_report_v4(\n port : 0,\n severity : SECURITY_HOLE,\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, \"corosync / corosync-debuginfo / corosync-qdevice / corosync-qnetd / etc\");\n}\n", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}, {"lastseen": "2021-02-01T01:18:16", "description": "Integer overflow in exec/totemcrypto.c:authenticate_nss_2_3() function\n\nAn integer overflow leading to an out-of-bound read was found in\nauthenticate_nss_2_3() in Corosync. An attacker could craft a\nmalicious packet that would lead to a denial of\nservice.(CVE-2018-1084)", "edition": 26, "cvss3": {"score": 9.8, "vector": "AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}, "published": "2018-05-11T00:00:00", "title": "Amazon Linux 2 : corosync (ALAS-2018-1014)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-1084"], "modified": "2021-02-02T00:00:00", "cpe": ["p-cpe:/a:amazon:linux:corosync-qnetd", "p-cpe:/a:amazon:linux:corosync-qdevice", "cpe:/o:amazon:linux:2", "p-cpe:/a:amazon:linux:corosynclib", "p-cpe:/a:amazon:linux:corosync-debuginfo", "p-cpe:/a:amazon:linux:corosync", "p-cpe:/a:amazon:linux:corosynclib-devel"], "id": "AL2_ALAS-2018-1014.NASL", "href": "https://www.tenable.com/plugins/nessus/109693", "sourceData": "#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were\n# extracted from Amazon Linux 2 Security Advisory ALAS-2018-1014.\n#\n\ninclude(\"compat.inc\");\n\nif (description)\n{\n script_id(109693);\n script_version(\"1.5\");\n script_cvs_date(\"Date: 2018/08/31 12:25:00\");\n\n script_cve_id(\"CVE-2018-1084\");\n script_xref(name:\"ALAS\", value:\"2018-1014\");\n script_xref(name:\"IAVA\", value:\"2018-A-0127\");\n\n script_name(english:\"Amazon Linux 2 : corosync (ALAS-2018-1014)\");\n script_summary(english:\"Checks rpm output for the updated packages\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote Amazon Linux 2 host is missing a security update.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"Integer overflow in exec/totemcrypto.c:authenticate_nss_2_3() function\n\nAn integer overflow leading to an out-of-bound read was found in\nauthenticate_nss_2_3() in Corosync. An attacker could craft a\nmalicious packet that would lead to a denial of\nservice.(CVE-2018-1084)\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://alas.aws.amazon.com/AL2/ALAS-2018-1014.html\"\n );\n script_set_attribute(\n attribute:\"solution\", \n value:\"Run 'yum update corosync' to update your system.\"\n );\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:amazon:linux:corosync\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:amazon:linux:corosync-debuginfo\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:amazon:linux:corosync-qdevice\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:amazon:linux:corosync-qnetd\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:amazon:linux:corosynclib\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:amazon:linux:corosynclib-devel\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:amazon:linux:2\");\n\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2018/05/10\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2018/05/11\");\n script_set_attribute(attribute:\"stig_severity\", value:\"I\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2018 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n script_family(english:\"Amazon Linux Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/AmazonLinux/release\", \"Host/AmazonLinux/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);\n\nrelease = get_kb_item(\"Host/AmazonLinux/release\");\nif (isnull(release) || !strlen(release)) audit(AUDIT_OS_NOT, \"Amazon Linux\");\nos_ver = pregmatch(pattern: \"^AL(A|\\d)\", string:release);\nif (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, \"Amazon Linux\");\nos_ver = os_ver[1];\nif (os_ver != \"2\")\n{\n if (os_ver == 'A') os_ver = 'AMI';\n audit(AUDIT_OS_NOT, \"Amazon Linux 2\", \"Amazon Linux \" + os_ver);\n}\n\nif (!get_kb_item(\"Host/AmazonLinux/rpm-list\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\n\nflag = 0;\nif (rpm_check(release:\"AL2\", cpu:\"x86_64\", reference:\"corosync-2.4.3-2.amzn2.1\")) flag++;\nif (rpm_check(release:\"AL2\", cpu:\"x86_64\", reference:\"corosync-debuginfo-2.4.3-2.amzn2.1\")) flag++;\nif (rpm_check(release:\"AL2\", cpu:\"x86_64\", reference:\"corosync-qdevice-2.4.3-2.amzn2.1\")) flag++;\nif (rpm_check(release:\"AL2\", cpu:\"x86_64\", reference:\"corosync-qnetd-2.4.3-2.amzn2.1\")) flag++;\nif (rpm_check(release:\"AL2\", cpu:\"x86_64\", reference:\"corosynclib-2.4.3-2.amzn2.1\")) flag++;\nif (rpm_check(release:\"AL2\", cpu:\"x86_64\", reference:\"corosynclib-devel-2.4.3-2.amzn2.1\")) flag++;\n\nif (flag)\n{\n if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());\n else security_hole(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, \"corosync / corosync-debuginfo / corosync-qdevice / corosync-qnetd / etc\");\n}\n", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}, {"lastseen": "2021-02-01T01:32:30", "description": "An update for corosync is now available for Red Hat Enterprise Linux\n7.\n\nRed Hat Product Security has rated this update as having a security\nimpact of Important. A Common Vulnerability Scoring System (CVSS) base\nscore, which gives a detailed severity rating, is available for each\nvulnerability from the CVE link(s) in the References section.\n\nThe corosync packages provide the Corosync Cluster Engine and C APIs\nfor Red Hat Enterprise Linux cluster software.\n\nSecurity Fix(es) :\n\n* corosync: Integer overflow in\nexec/totemcrypto.c:authenticate_nss_2_3() function (CVE-2018-1084)\n\nFor more details about the security issue(s), including the impact, a\nCVSS score, and other related information, refer to the CVE page(s)\nlisted in the References section.\n\nRed Hat would like to thank Citrix Security Response Team for\nreporting this issue.", "edition": 25, "cvss3": {"score": 9.8, "vector": "AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}, "published": "2018-05-31T00:00:00", "title": "CentOS 7 : corosync (CESA-2018:1169)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-1084"], "modified": "2021-02-02T00:00:00", "cpe": ["p-cpe:/a:centos:centos:corosync-qnetd", "p-cpe:/a:centos:centos:corosync-qdevice", "p-cpe:/a:centos:centos:corosynclib", "p-cpe:/a:centos:centos:corosync", "cpe:/o:centos:centos:7", "p-cpe:/a:centos:centos:corosynclib-devel"], "id": "CENTOS_RHSA-2018-1169.NASL", "href": "https://www.tenable.com/plugins/nessus/110239", "sourceData": "#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were \n# extracted from Red Hat Security Advisory RHSA-2018:1169 and \n# CentOS Errata and Security Advisory 2018:1169 respectively.\n#\n\ninclude(\"compat.inc\");\n\nif (description)\n{\n script_id(110239);\n script_version(\"1.6\");\n script_cvs_date(\"Date: 2019/12/31\");\n\n script_cve_id(\"CVE-2018-1084\");\n script_xref(name:\"RHSA\", value:\"2018:1169\");\n script_xref(name:\"IAVA\", value:\"2018-A-0127\");\n\n script_name(english:\"CentOS 7 : corosync (CESA-2018:1169)\");\n script_summary(english:\"Checks rpm output for the updated packages\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote CentOS host is missing one or more security updates.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"An update for corosync is now available for Red Hat Enterprise Linux\n7.\n\nRed Hat Product Security has rated this update as having a security\nimpact of Important. A Common Vulnerability Scoring System (CVSS) base\nscore, which gives a detailed severity rating, is available for each\nvulnerability from the CVE link(s) in the References section.\n\nThe corosync packages provide the Corosync Cluster Engine and C APIs\nfor Red Hat Enterprise Linux cluster software.\n\nSecurity Fix(es) :\n\n* corosync: Integer overflow in\nexec/totemcrypto.c:authenticate_nss_2_3() function (CVE-2018-1084)\n\nFor more details about the security issue(s), including the impact, a\nCVSS score, and other related information, refer to the CVE page(s)\nlisted in the References section.\n\nRed Hat would like to thank Citrix Security Response Team for\nreporting this issue.\"\n );\n # https://lists.centos.org/pipermail/centos-announce/2018-May/022855.html\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?348bc1f7\"\n );\n script_set_attribute(\n attribute:\"solution\", \n value:\"Update the affected corosync packages.\"\n );\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\");\n script_set_attribute(attribute:\"cvss_score_source\", value:\"CVE-2018-1084\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:centos:centos:corosync\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:centos:centos:corosync-qdevice\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:centos:centos:corosync-qnetd\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:centos:centos:corosynclib\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:centos:centos:corosynclib-devel\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:centos:centos:7\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2018/04/12\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2018/05/30\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2018/05/31\");\n script_set_attribute(attribute:\"generated_plugin\", value:\"current\");\n script_set_attribute(attribute:\"stig_severity\", value:\"I\");\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:\"CentOS Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/CentOS/release\", \"Host/CentOS/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/CentOS/release\");\nif (isnull(release) || \"CentOS\" >!< release) audit(AUDIT_OS_NOT, \"CentOS\");\nos_ver = pregmatch(pattern: \"CentOS(?: Linux)? release ([0-9]+)\", string:release);\nif (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, \"CentOS\");\nos_ver = os_ver[1];\nif (! preg(pattern:\"^7([^0-9]|$)\", string:os_ver)) audit(AUDIT_OS_NOT, \"CentOS 7.x\", \"CentOS \" + os_ver);\n\nif (!get_kb_item(\"Host/CentOS/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, \"CentOS\", cpu);\n\n\nflag = 0;\nif (rpm_check(release:\"CentOS-7\", cpu:\"x86_64\", reference:\"corosync-2.4.3-2.el7_5.1\")) flag++;\nif (rpm_check(release:\"CentOS-7\", cpu:\"x86_64\", reference:\"corosync-qdevice-2.4.3-2.el7_5.1\")) flag++;\nif (rpm_check(release:\"CentOS-7\", cpu:\"x86_64\", reference:\"corosync-qnetd-2.4.3-2.el7_5.1\")) flag++;\nif (rpm_check(release:\"CentOS-7\", cpu:\"x86_64\", reference:\"corosynclib-2.4.3-2.el7_5.1\")) flag++;\nif (rpm_check(release:\"CentOS-7\", cpu:\"x86_64\", reference:\"corosynclib-devel-2.4.3-2.el7_5.1\")) flag++;\n\n\nif (flag)\n{\n security_report_v4(\n port : 0,\n severity : SECURITY_HOLE,\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, \"corosync / corosync-qdevice / corosync-qnetd / corosynclib / etc\");\n}\n", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}, {"lastseen": "2021-02-01T01:52:13", "description": "The Citrix Security Response Team discovered that corosync, a cluster\nengine implementation, allowed an unauthenticated user to cause a\ndenial-of-service by application crash.", "edition": 28, "cvss3": {"score": 9.8, "vector": "AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}, "published": "2018-04-18T00:00:00", "title": "Debian DSA-4174-1 : corosync - security update", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-1084"], "modified": "2021-02-02T00:00:00", "cpe": ["p-cpe:/a:debian:debian_linux:corosync", "cpe:/o:debian:debian_linux:9.0"], "id": "DEBIAN_DSA-4174.NASL", "href": "https://www.tenable.com/plugins/nessus/109092", "sourceData": "#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were \n# extracted from Debian Security Advisory DSA-4174. The text \n# itself is copyright (C) Software in the Public Interest, Inc.\n#\n\ninclude(\"compat.inc\");\n\nif (description)\n{\n script_id(109092);\n script_version(\"1.7\");\n script_cvs_date(\"Date: 2018/11/13 12:30:46\");\n\n script_cve_id(\"CVE-2018-1084\");\n script_xref(name:\"DSA\", value:\"4174\");\n\n script_name(english:\"Debian DSA-4174-1 : corosync - security update\");\n script_summary(english:\"Checks dpkg output for the updated package\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote Debian host is missing a security-related update.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"The Citrix Security Response Team discovered that corosync, a cluster\nengine implementation, allowed an unauthenticated user to cause a\ndenial-of-service by application crash.\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895653\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://security-tracker.debian.org/tracker/source-package/corosync\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://packages.debian.org/source/stretch/corosync\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://www.debian.org/security/2018/dsa-4174\"\n );\n script_set_attribute(\n attribute:\"solution\", \n value:\n\"Upgrade the corosync packages.\n\nFor the stable distribution (stretch), this problem has been fixed in\nversion 2.4.2-3+deb9u1.\"\n );\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:debian:debian_linux:corosync\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:debian:debian_linux:9.0\");\n\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2018/04/17\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2018/04/18\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2018 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:\"9.0\", prefix:\"corosync\", reference:\"2.4.2-3+deb9u1\")) flag++;\nif (deb_check(release:\"9.0\", prefix:\"corosync-dev\", reference:\"2.4.2-3+deb9u1\")) flag++;\nif (deb_check(release:\"9.0\", prefix:\"corosync-doc\", reference:\"2.4.2-3+deb9u1\")) flag++;\nif (deb_check(release:\"9.0\", prefix:\"corosync-notifyd\", reference:\"2.4.2-3+deb9u1\")) flag++;\nif (deb_check(release:\"9.0\", prefix:\"corosync-qdevice\", reference:\"2.4.2-3+deb9u1\")) flag++;\nif (deb_check(release:\"9.0\", prefix:\"corosync-qnetd\", reference:\"2.4.2-3+deb9u1\")) flag++;\nif (deb_check(release:\"9.0\", prefix:\"libcfg-dev\", reference:\"2.4.2-3+deb9u1\")) flag++;\nif (deb_check(release:\"9.0\", prefix:\"libcfg6\", reference:\"2.4.2-3+deb9u1\")) flag++;\nif (deb_check(release:\"9.0\", prefix:\"libcmap-dev\", reference:\"2.4.2-3+deb9u1\")) flag++;\nif (deb_check(release:\"9.0\", prefix:\"libcmap4\", reference:\"2.4.2-3+deb9u1\")) flag++;\nif (deb_check(release:\"9.0\", prefix:\"libcorosync-common-dev\", reference:\"2.4.2-3+deb9u1\")) flag++;\nif (deb_check(release:\"9.0\", prefix:\"libcorosync-common4\", reference:\"2.4.2-3+deb9u1\")) flag++;\nif (deb_check(release:\"9.0\", prefix:\"libcpg-dev\", reference:\"2.4.2-3+deb9u1\")) flag++;\nif (deb_check(release:\"9.0\", prefix:\"libcpg4\", reference:\"2.4.2-3+deb9u1\")) flag++;\nif (deb_check(release:\"9.0\", prefix:\"libquorum-dev\", reference:\"2.4.2-3+deb9u1\")) flag++;\nif (deb_check(release:\"9.0\", prefix:\"libquorum5\", reference:\"2.4.2-3+deb9u1\")) flag++;\nif (deb_check(release:\"9.0\", prefix:\"libsam-dev\", reference:\"2.4.2-3+deb9u1\")) flag++;\nif (deb_check(release:\"9.0\", prefix:\"libsam4\", reference:\"2.4.2-3+deb9u1\")) flag++;\nif (deb_check(release:\"9.0\", prefix:\"libtotem-pg-dev\", reference:\"2.4.2-3+deb9u1\")) flag++;\nif (deb_check(release:\"9.0\", prefix:\"libtotem-pg5\", reference:\"2.4.2-3+deb9u1\")) flag++;\nif (deb_check(release:\"9.0\", prefix:\"libvotequorum-dev\", reference:\"2.4.2-3+deb9u1\")) flag++;\nif (deb_check(release:\"9.0\", prefix:\"libvotequorum8\", reference:\"2.4.2-3+deb9u1\")) flag++;\n\nif (flag)\n{\n if (report_verbosity > 0) security_hole(port:0, extra:deb_report_get());\n else security_hole(0);\n exit(0);\n}\nelse audit(AUDIT_HOST_NOT, \"affected\");\n", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}, {"lastseen": "2021-01-17T12:02:15", "description": "The remote NewStart CGSL host, running version CORE 5.04 / MAIN 5.04, has corosync packages installed that are affected\nby a vulnerability:\n\n - An integer overflow leading to an out-of-bound read was\n found in authenticate_nss_2_3() in Corosync. An attacker\n could craft a malicious packet that would lead to a\n denial of service. (CVE-2018-1084)\n\nNote that Nessus has not tested for this issue but has instead relied only on the application's self-reported version\nnumber.", "edition": 17, "cvss3": {"score": 9.8, "vector": "AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}, "published": "2019-08-12T00:00:00", "title": "NewStart CGSL CORE 5.04 / MAIN 5.04 : corosync Vulnerability (NS-SA-2019-0046)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-1084"], "modified": "2019-08-12T00:00:00", "cpe": [], "id": "NEWSTART_CGSL_NS-SA-2019-0046_COROSYNC.NASL", "href": "https://www.tenable.com/plugins/nessus/127226", "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n\n# The descriptive text and package checks in this plugin were\n# extracted from ZTE advisory NS-SA-2019-0046. The text\n# itself is copyright (C) ZTE, Inc.\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(127226);\n script_version(\"1.4\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/14\");\n\n script_cve_id(\"CVE-2018-1084\");\n\n script_name(english:\"NewStart CGSL CORE 5.04 / MAIN 5.04 : corosync Vulnerability (NS-SA-2019-0046)\");\n\n script_set_attribute(attribute:\"synopsis\", value:\n\"The remote machine is affected by a vulnerability.\");\n script_set_attribute(attribute:\"description\", value:\n\"The remote NewStart CGSL host, running version CORE 5.04 / MAIN 5.04, has corosync packages installed that are affected\nby a vulnerability:\n\n - An integer overflow leading to an out-of-bound read was\n found in authenticate_nss_2_3() in Corosync. An attacker\n could craft a malicious packet that would lead to a\n denial of service. (CVE-2018-1084)\n\nNote that Nessus has not tested for this issue but has instead relied only on the application's self-reported version\nnumber.\");\n script_set_attribute(attribute:\"see_also\", value:\"http://security.gd-linux.com/notice/NS-SA-2019-0046\");\n script_set_attribute(attribute:\"solution\", value:\n\"Upgrade the vulnerable CGSL corosync packages. Note that updated packages may not be available yet. Please contact ZTE\nfor more information.\");\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:P/I:P/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:N/S:U/C:H/I:H/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-1084\");\n\n script_set_attribute(attribute:\"exploitability_ease\", value:\"No known exploits are available\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2018/04/12\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2019/07/17\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2019/08/12\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_family(english:\"NewStart CGSL 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/ZTE-CGSL/release\", \"Host/ZTE-CGSL/rpm-list\", \"Host/cpu\");\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/ZTE-CGSL/release\");\nif (isnull(release) || release !~ \"^CGSL (MAIN|CORE)\") audit(AUDIT_OS_NOT, \"NewStart Carrier Grade Server Linux\");\n\nif (release !~ \"CGSL CORE 5.04\" &&\n release !~ \"CGSL MAIN 5.04\")\n audit(AUDIT_OS_NOT, 'NewStart CGSL CORE 5.04 / NewStart CGSL MAIN 5.04');\n\nif (!get_kb_item(\"Host/ZTE-CGSL/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$\") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, \"NewStart Carrier Grade Server Linux\", cpu);\n\nflag = 0;\n\npkgs = {\n \"CGSL CORE 5.04\": [\n \"corosync-2.4.3-4.el7\",\n \"corosync-debuginfo-2.4.3-4.el7\",\n \"corosync-qdevice-2.4.3-4.el7\",\n \"corosync-qnetd-2.4.3-4.el7\",\n \"corosynclib-2.4.3-4.el7\",\n \"corosynclib-devel-2.4.3-4.el7\"\n ],\n \"CGSL MAIN 5.04\": [\n \"corosync-2.4.3-4.el7\",\n \"corosync-debuginfo-2.4.3-4.el7\",\n \"corosync-qdevice-2.4.3-4.el7\",\n \"corosync-qnetd-2.4.3-4.el7\",\n \"corosynclib-2.4.3-4.el7\",\n \"corosynclib-devel-2.4.3-4.el7\"\n ]\n};\npkg_list = pkgs[release];\n\nforeach (pkg in pkg_list)\n if (rpm_check(release:\"ZTE \" + release, reference:pkg)) flag++;\n\nif (flag)\n{\n security_report_v4(\n port : 0,\n severity : SECURITY_HOLE,\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, \"corosync\");\n}\n", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}, {"lastseen": "2020-09-18T10:59:36", "description": "It was discovered that Corosync incorrectly handled certain requests.\nAn attacker could possibly use this issue to cause a denial of service\nor execute arbitrary code.\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": 14, "cvss3": {"score": 9.8, "vector": "AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}, "published": "2019-05-31T00:00:00", "title": "Ubuntu 16.04 LTS / 18.04 LTS : Corosync vulnerability (USN-4000-1)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-1084"], "modified": "2019-05-31T00:00:00", "cpe": ["p-cpe:/a:canonical:ubuntu_linux:libtotem-pg5", "p-cpe:/a:canonical:ubuntu_linux:corosync", "cpe:/o:canonical:ubuntu_linux:16.04", "cpe:/o:canonical:ubuntu_linux:18.04:-:lts"], "id": "UBUNTU_USN-4000-1.NASL", "href": "https://www.tenable.com/plugins/nessus/125623", "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-4000-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(125623);\n script_version(\"1.4\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2020/09/17\");\n\n script_cve_id(\"CVE-2018-1084\");\n script_xref(name:\"USN\", value:\"4000-1\");\n\n script_name(english:\"Ubuntu 16.04 LTS / 18.04 LTS : Corosync vulnerability (USN-4000-1)\");\n script_summary(english:\"Checks dpkg output for updated packages.\");\n\n script_set_attribute(\n attribute:\"synopsis\",\n value:\n\"The remote Ubuntu host is missing one or more security-related\npatches.\"\n );\n script_set_attribute(\n attribute:\"description\",\n value:\n\"It was discovered that Corosync incorrectly handled certain requests.\nAn attacker could possibly use this issue to cause a denial of service\nor execute arbitrary code.\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/4000-1/\"\n );\n script_set_attribute(\n attribute:\"solution\",\n value:\"Update the affected corosync and / or libtotem-pg5 packages.\"\n );\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:P/I:P/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:N/S:U/C:H/I:H/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:canonical:ubuntu_linux:corosync\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:canonical:ubuntu_linux:libtotem-pg5\");\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:18.04:-:lts\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2018/04/12\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2019/05/30\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2019/05/31\");\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) 2019-2020 Canonical, Inc. / NASL script (C) 2019-2020 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:\"^(16\\.04|18\\.04)$\", string:release)) audit(AUDIT_OS_NOT, \"Ubuntu 16.04 / 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:\"16.04\", pkgname:\"corosync\", pkgver:\"2.3.5-3ubuntu2.3\")) flag++;\nif (ubuntu_check(osver:\"16.04\", pkgname:\"libtotem-pg5\", pkgver:\"2.3.5-3ubuntu2.3\")) flag++;\nif (ubuntu_check(osver:\"18.04\", pkgname:\"corosync\", pkgver:\"2.4.3-0ubuntu1.1\")) flag++;\nif (ubuntu_check(osver:\"18.04\", pkgname:\"libtotem-pg5\", pkgver:\"2.4.3-0ubuntu1.1\")) flag++;\n\nif (flag)\n{\n security_report_v4(\n port : 0,\n severity : SECURITY_HOLE,\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, \"corosync / libtotem-pg5\");\n}\n", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}, {"lastseen": "2021-02-01T05:07:28", "description": "From Red Hat Security Advisory 2018:1169 :\n\nAn update for corosync is now available for Red Hat Enterprise Linux\n7.\n\nRed Hat Product Security has rated this update as having a security\nimpact of Important. A Common Vulnerability Scoring System (CVSS) base\nscore, which gives a detailed severity rating, is available for each\nvulnerability from the CVE link(s) in the References section.\n\nThe corosync packages provide the Corosync Cluster Engine and C APIs\nfor Red Hat Enterprise Linux cluster software.\n\nSecurity Fix(es) :\n\n* corosync: Integer overflow in\nexec/totemcrypto.c:authenticate_nss_2_3() function (CVE-2018-1084)\n\nFor more details about the security issue(s), including the impact, a\nCVSS score, and other related information, refer to the CVE page(s)\nlisted in the References section.\n\nRed Hat would like to thank Citrix Security Response Team for\nreporting this issue.", "edition": 26, "cvss3": {"score": 9.8, "vector": "AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}, "published": "2018-05-01T00:00:00", "title": "Oracle Linux 7 : corosync (ELSA-2018-1169)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2018-1084"], "modified": "2021-02-02T00:00:00", "cpe": ["p-cpe:/a:oracle:linux:corosync", "p-cpe:/a:oracle:linux:corosynclib-devel", "p-cpe:/a:oracle:linux:corosynclib", "p-cpe:/a:oracle:linux:corosync-qnetd", "p-cpe:/a:oracle:linux:corosync-qdevice", "cpe:/o:oracle:linux:7"], "id": "ORACLELINUX_ELSA-2018-1169.NASL", "href": "https://www.tenable.com/plugins/nessus/109439", "sourceData": "#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were\n# extracted from Red Hat Security Advisory RHSA-2018:1169 and \n# Oracle Linux Security Advisory ELSA-2018-1169 respectively.\n#\n\ninclude(\"compat.inc\");\n\nif (description)\n{\n script_id(109439);\n script_version(\"1.6\");\n script_cvs_date(\"Date: 2019/09/27 13:00:38\");\n\n script_cve_id(\"CVE-2018-1084\");\n script_xref(name:\"RHSA\", value:\"2018:1169\");\n script_xref(name:\"IAVA\", value:\"2018-A-0127\");\n\n script_name(english:\"Oracle Linux 7 : corosync (ELSA-2018-1169)\");\n script_summary(english:\"Checks rpm output for the updated packages\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote Oracle Linux host is missing one or more security updates.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"From Red Hat Security Advisory 2018:1169 :\n\nAn update for corosync is now available for Red Hat Enterprise Linux\n7.\n\nRed Hat Product Security has rated this update as having a security\nimpact of Important. A Common Vulnerability Scoring System (CVSS) base\nscore, which gives a detailed severity rating, is available for each\nvulnerability from the CVE link(s) in the References section.\n\nThe corosync packages provide the Corosync Cluster Engine and C APIs\nfor Red Hat Enterprise Linux cluster software.\n\nSecurity Fix(es) :\n\n* corosync: Integer overflow in\nexec/totemcrypto.c:authenticate_nss_2_3() function (CVE-2018-1084)\n\nFor more details about the security issue(s), including the impact, a\nCVSS score, and other related information, refer to the CVE page(s)\nlisted in the References section.\n\nRed Hat would like to thank Citrix Security Response Team for\nreporting this issue.\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://oss.oracle.com/pipermail/el-errata/2018-April/007653.html\"\n );\n script_set_attribute(\n attribute:\"solution\", \n value:\"Update the affected corosync packages.\"\n );\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:oracle:linux:corosync\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:oracle:linux:corosync-qdevice\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:oracle:linux:corosync-qnetd\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:oracle:linux:corosynclib\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:oracle:linux:corosynclib-devel\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:oracle:linux:7\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2018/04/12\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2018/04/30\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2018/05/01\");\n script_set_attribute(attribute:\"generated_plugin\", value:\"current\");\n script_set_attribute(attribute:\"stig_severity\", value:\"I\");\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:\"Oracle Linux Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/OracleLinux\", \"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);\nif (!get_kb_item(\"Host/OracleLinux\")) audit(AUDIT_OS_NOT, \"Oracle Linux\");\nrelease = get_kb_item(\"Host/RedHat/release\");\nif (isnull(release) || !pregmatch(pattern: \"Oracle (?:Linux Server|Enterprise Linux)\", string:release)) audit(AUDIT_OS_NOT, \"Oracle Linux\");\nos_ver = pregmatch(pattern: \"Oracle (?:Linux Server|Enterprise Linux) .*release ([0-9]+(\\.[0-9]+)?)\", string:release);\nif (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, \"Oracle Linux\");\nos_ver = os_ver[1];\nif (! preg(pattern:\"^7([^0-9]|$)\", string:os_ver)) audit(AUDIT_OS_NOT, \"Oracle Linux 7\", \"Oracle Linux \" + os_ver);\n\nif (!get_kb_item(\"Host/RedHat/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$\") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, \"Oracle Linux\", cpu);\nif (\"x86_64\" >!< cpu) audit(AUDIT_ARCH_NOT, \"x86_64\", cpu);\n\nflag = 0;\nif (rpm_check(release:\"EL7\", cpu:\"x86_64\", reference:\"corosync-2.4.3-2.el7_5.1\")) flag++;\nif (rpm_check(release:\"EL7\", cpu:\"x86_64\", reference:\"corosync-qdevice-2.4.3-2.el7_5.1\")) flag++;\nif (rpm_check(release:\"EL7\", cpu:\"x86_64\", reference:\"corosync-qnetd-2.4.3-2.el7_5.1\")) flag++;\nif (rpm_check(release:\"EL7\", cpu:\"x86_64\", reference:\"corosynclib-2.4.3-2.el7_5.1\")) flag++;\nif (rpm_check(release:\"EL7\", cpu:\"x86_64\", reference:\"corosynclib-devel-2.4.3-2.el7_5.1\")) flag++;\n\n\nif (flag)\n{\n if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());\n else security_hole(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, \"corosync / corosync-qdevice / corosync-qnetd / corosynclib / etc\");\n}\n", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}], "oraclelinux": [{"lastseen": "2019-05-29T18:36:08", "bulletinFamily": "unix", "cvelist": ["CVE-2018-1084"], "description": "[2.4.3-2.1]\n- Resolves: rhbz#1560467\n- totemcrypto: Check length of the packet", "edition": 5, "modified": "2018-04-30T00:00:00", "published": "2018-04-30T00:00:00", "id": "ELSA-2018-1169", "href": "http://linux.oracle.com/errata/ELSA-2018-1169.html", "title": "corosync security update", "type": "oraclelinux", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}], "suse": [{"lastseen": "2018-05-06T21:58:35", "bulletinFamily": "unix", "cvelist": ["CVE-2018-1084"], "description": "This update for corosync provides the following fixes:\n\n - CVE-2018-1084: Integer overflow in totemcrypto:authenticate_nss_2_3()\n could lead to command execution (bsc#1089346)\n - Providing an empty uid or gid results in coroparse adding uid 0.\n (bsc#1066585)\n - Fix a problem that was causing corosync memory to increase on ring\n breakup. (bsc#1083030)\n - Fix a problem with configuration file incompatibilities that was causing\n corosync to not work after upgrading from SLE-11-SP4-HA to SLE-12/15-HA.\n (bsc#1083561)\n\n", "edition": 1, "modified": "2018-05-02T21:10:07", "published": "2018-05-02T21:10:07", "id": "SUSE-SU-2018:1130-1", "href": "http://lists.opensuse.org/opensuse-security-announce/2018-05/msg00002.html", "title": "Security update for corosync (important)", "type": "suse", "cvss": {"score": 0.0, "vector": "NONE"}}, {"lastseen": "2018-05-06T21:58:35", "bulletinFamily": "unix", "cvelist": ["CVE-2018-1084"], "description": "This update for corosync fixes the following issues:\n\n - CVE-2018-1084: Integer overflow in totemcrypto:authenticate_nss_2_3()\n could lead to command execution (bsc#1089346)\n - Providing an empty uid or gid results in coroparse adding uid 0.\n (bsc#1066585)\n - Fix a problem with configuration file incompatibilities that was causing\n corosync to not work after upgrading from SLE-11-SP4-HA to SLE-12/15-HA.\n (bsc#1083561)\n\n This update was imported from the SUSE:SLE-12-SP3:Update update project.\n\n", "edition": 1, "modified": "2018-05-03T12:07:39", "published": "2018-05-03T12:07:39", "id": "OPENSUSE-SU-2018:1136-1", "href": "http://lists.opensuse.org/opensuse-security-announce/2018-05/msg00003.html", "title": "Security update for corosync (important)", "type": "suse", "cvss": {"score": 0.0, "vector": "NONE"}}, {"lastseen": "2018-05-06T21:58:35", "bulletinFamily": "unix", "cvelist": ["CVE-2018-1084"], "description": "This update for corosync fixes the following issue:\n - CVE-2018-1084: Integer overflow in totemcrypto:authenticate_nss_2_3()\n could lead to command execution (bsc#1089346)\n - Providing an empty uid or gid results in coroparse adding uid 0.\n (bsc#1066585)\n - Fix a problem with configuration file incompatibilities that was causing\n corosync to not work after upgrading from SLE-11-SP4-HA to SLE-12/15-HA.\n (bsc#1083561)\n\n", "edition": 1, "modified": "2018-05-02T12:11:36", "published": "2018-05-02T12:11:36", "id": "SUSE-SU-2018:1121-1", "href": "http://lists.opensuse.org/opensuse-security-announce/2018-05/msg00000.html", "title": "Security update for corosync (important)", "type": "suse", "cvss": {"score": 0.0, "vector": "NONE"}}], "debian": [{"lastseen": "2020-12-20T01:21:48", "bulletinFamily": "unix", "cvelist": ["CVE-2018-1084"], "description": "- -------------------------------------------------------------------------\nDebian Security Advisory DSA-4174-1 security@debian.org\nhttps://www.debian.org/security/ Sebastien Delafond\nApril 17, 2018 https://www.debian.org/security/faq\n- -------------------------------------------------------------------------\n\nPackage : corosync\nCVE ID : CVE-2018-1084\nDebian Bug : 895653\n\nThe Citrix Security Response Team discovered that corosync, a cluster\nengine implementation, allowed an unauthenticated user to cause a\ndenial-of-service by application crash.\n\nFor the stable distribution (stretch), this problem has been fixed in\nversion 2.4.2-3+deb9u1.\n\nWe recommend that you upgrade your corosync packages.\n\nFor the detailed security status of corosync please refer to\nits security tracker page at:\nhttps://security-tracker.debian.org/tracker/corosync\n\nFurther information about Debian Security Advisories, how to apply\nthese updates to your system and frequently asked questions can be\nfound at: https://www.debian.org/security/\n\nMailing list: debian-security-announce@lists.debian.org\n", "edition": 10, "modified": "2018-04-17T07:36:09", "published": "2018-04-17T07:36:09", "id": "DEBIAN:DSA-4174-1:39E20", "href": "https://lists.debian.org/debian-security-announce/debian-security-announce-2018/msg00101.html", "title": "[SECURITY] [DSA 4174-1] corosync security update", "type": "debian", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}], "redhat": [{"lastseen": "2019-08-13T18:46:09", "bulletinFamily": "unix", "cvelist": ["CVE-2018-1084"], "description": "The corosync packages provide the Corosync Cluster Engine and C APIs for Red Hat Enterprise Linux cluster software.\n\nSecurity Fix(es):\n\n* corosync: Integer overflow in exec/totemcrypto.c:authenticate_nss_2_3() function (CVE-2018-1084)\n\nFor more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section.\n\nRed Hat would like to thank Citrix Security Response Team for reporting this issue.", "modified": "2018-04-17T19:02:43", "published": "2018-04-17T18:53:11", "id": "RHSA-2018:1169", "href": "https://access.redhat.com/errata/RHSA-2018:1169", "type": "redhat", "title": "(RHSA-2018:1169) Important: corosync security update", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}], "centos": [{"lastseen": "2020-12-08T03:38:03", "bulletinFamily": "unix", "cvelist": ["CVE-2018-1084"], "description": "**CentOS Errata and Security Advisory** CESA-2018:1169\n\n\nThe corosync packages provide the Corosync Cluster Engine and C APIs for Red Hat Enterprise Linux cluster software.\n\nSecurity Fix(es):\n\n* corosync: Integer overflow in exec/totemcrypto.c:authenticate_nss_2_3() function (CVE-2018-1084)\n\nFor more details about the security issue(s), including the impact, a CVSS score, and other related information, refer to the CVE page(s) listed in the References section.\n\nRed Hat would like to thank Citrix Security Response Team for reporting this issue.\n\n**Merged security bulletin from advisories:**\nhttp://lists.centos.org/pipermail/centos-announce/2018-May/034893.html\n\n**Affected packages:**\ncorosync\ncorosync-qdevice\ncorosync-qnetd\ncorosynclib\ncorosynclib-devel\n\n**Upstream details at:**\n", "edition": 4, "modified": "2018-05-30T18:22:33", "published": "2018-05-30T18:22:33", "id": "CESA-2018:1169", "href": "http://lists.centos.org/pipermail/centos-announce/2018-May/034893.html", "title": "corosync, corosynclib security update", "type": "centos", "cvss": {"score": 7.5, "vector": "AV:N/AC:L/Au:N/C:P/I:P/A:P"}}]}