CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
COMPLETE
AV:N/AC:L/Au:N/C:N/I:N/A:C
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
AI Score
Confidence
Low
EPSS
Percentile
99.5%
The remote Redhat Enterprise Linux 6 / 7 host has packages installed that are affected by multiple vulnerabilities as referenced in the RHSA-2017:2886 advisory.
mariadb, mysql: Incorrect input validation allowing code execution via mysqldump (CVE-2016-5483, CVE-2017-3600)
mysql: Server: Replication unspecified vulnerability (CPU Jan 2017) (CVE-2016-8327, CVE-2017-3256)
mysql: Server: Optimizer unspecified vulnerability (CPU Jan 2017) (CVE-2017-3238)
mysql: Server: DML unspecified vulnerability (CPU Jan 2017) (CVE-2017-3244)
mysql: Server: Optimizer unspecified vulnerability (CPU Jan 2017) (CVE-2017-3251)
mysql: Server: InnoDB unspecified vulnerability (CPU Jan 2017) (CVE-2017-3257)
mysql: Server: DDL unspecified vulnerability (CPU Jan 2017) (CVE-2017-3258)
mysql: Server: DDL unspecified vulnerability (CPU Jan 2017) (CVE-2017-3273)
mysql: unrestricted mysqld_safe’s ledir (CPU Jan 2017) (CVE-2017-3291)
mysql: Server: DML unspecified vulnerability (CPU Apr 2017) (CVE-2017-3308, CVE-2017-3331, CVE-2017-3456, CVE-2017-3457, CVE-2017-3458)
mysql: Server: Optimizer unspecified vulnerability (CPU Apr 2017) (CVE-2017-3309, CVE-2017-3453, CVE-2017-3459)
mysql: insecure error log file handling in mysqld_safe, incomplete CVE-2016-6664 fix (CPU Jan 2017) (CVE-2017-3312)
mysql: Server: MyISAM unspecified vulnerability (CPU Jan 2017) (CVE-2017-3313)
mysql: Logging unspecified vulnerability (CPU Jan 2017) (CVE-2017-3317)
mysql: Server: Error Handling unspecified vulnerability (CPU Jan 2017) (CVE-2017-3318)
mysql: Server: X Plugin unspecified vulnerability (CPU Jan 2017) (CVE-2017-3319)
mysql: Server: Security: Encryption unspecified vulnerability (CPU Jan 2017) (CVE-2017-3320)
mysql: Server: Memcached unspecified vulnerability (CPU Apr 2017) (CVE-2017-3450)
mysql: Server: InnoDB unspecified vulnerability (CPU Apr 2017) (CVE-2017-3454)
mysql: Server: Security: Privileges unspecified vulnerability (CPU Apr 2017) (CVE-2017-3455, CVE-2017-3461, CVE-2017-3462, CVE-2017-3463, CVE-2017-3465)
mysql: Server: Audit Plug-in unspecified vulnerability (CPU Apr 2017) (CVE-2017-3460)
mysql: Server: DDL unspecified vulnerability (CPU Apr 2017) (CVE-2017-3464)
mysql: Server: C API unspecified vulnerability (CPU Apr 2017) (CVE-2017-3467)
mysql: Server: Security: Encryption unspecified vulnerability (CPU Apr 2017) (CVE-2017-3468)
mysql: Server: UDF unspecified vulnerability (CPU Jul 2017) (CVE-2017-3529)
mysql: integer underflow in get_56_lenc_string() leading to DoS (CPU Apr 2017) (CVE-2017-3599)
mysql: Server: Memcached unspecified vulnerability (CPU Jul 2017) (CVE-2017-3633)
mysql: Server: DML unspecified vulnerability (CPU Jul 2017) (CVE-2017-3634, CVE-2017-3639, CVE-2017-3640, CVE-2017-3641, CVE-2017-3643, CVE-2017-3644)
mysql: X Plugin unspecified vulnerability (CPU Jul 2017) (CVE-2017-3637, CVE-2017-3646)
mysql: Server: Optimizer unspecified vulnerability (CPU Jul 2017) (CVE-2017-3638, CVE-2017-3642, CVE-2017-3645)
mysql: Server: Replication unspecified vulnerability (CPU Jul 2017) (CVE-2017-3647, CVE-2017-3649)
mysql: Server: Charsets unspecified vulnerability (CPU Jul 2017) (CVE-2017-3648)
mysql: C API unspecified vulnerability (CPU Jul 2017) (CVE-2017-3650)
mysql: Client mysqldump unspecified vulnerability (CPU Jul 2017) (CVE-2017-3651)
mysql: Server: DDL unspecified vulnerability (CPU Jul 2017) (CVE-2017-3652, CVE-2017-3653)
mysql: Server: Security: Privileges unspecified vulnerability (CPU Jul 2019) (CVE-2019-2730)
Note that Nessus has not tested for these issues but has instead relied only on the application’s self-reported version number.
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
#
# The descriptive text and package checks in this plugin were
# extracted from Red Hat Security Advisory RHSA-2017:2886. The text
# itself is copyright (C) Red Hat, Inc.
##
include('compat.inc');
if (description)
{
script_id(194054);
script_version("1.0");
script_set_attribute(attribute:"plugin_modification_date", value:"2024/04/27");
script_cve_id(
"CVE-2016-5483",
"CVE-2016-8327",
"CVE-2017-3238",
"CVE-2017-3244",
"CVE-2017-3251",
"CVE-2017-3256",
"CVE-2017-3257",
"CVE-2017-3258",
"CVE-2017-3273",
"CVE-2017-3291",
"CVE-2017-3308",
"CVE-2017-3309",
"CVE-2017-3312",
"CVE-2017-3313",
"CVE-2017-3317",
"CVE-2017-3318",
"CVE-2017-3319",
"CVE-2017-3320",
"CVE-2017-3331",
"CVE-2017-3450",
"CVE-2017-3453",
"CVE-2017-3454",
"CVE-2017-3455",
"CVE-2017-3456",
"CVE-2017-3457",
"CVE-2017-3458",
"CVE-2017-3459",
"CVE-2017-3460",
"CVE-2017-3461",
"CVE-2017-3462",
"CVE-2017-3463",
"CVE-2017-3464",
"CVE-2017-3465",
"CVE-2017-3467",
"CVE-2017-3468",
"CVE-2017-3529",
"CVE-2017-3599",
"CVE-2017-3600",
"CVE-2017-3633",
"CVE-2017-3634",
"CVE-2017-3637",
"CVE-2017-3638",
"CVE-2017-3639",
"CVE-2017-3640",
"CVE-2017-3641",
"CVE-2017-3642",
"CVE-2017-3643",
"CVE-2017-3644",
"CVE-2017-3645",
"CVE-2017-3646",
"CVE-2017-3647",
"CVE-2017-3648",
"CVE-2017-3649",
"CVE-2017-3650",
"CVE-2017-3651",
"CVE-2017-3652",
"CVE-2017-3653",
"CVE-2019-2730"
);
script_xref(name:"RHSA", value:"2017:2886");
script_name(english:"RHEL 6 / 7 : rh-mysql57-mysql (RHSA-2017:2886)");
script_set_attribute(attribute:"synopsis", value:
"The remote Red Hat host is missing one or more security updates for rh-mysql57-mysql.");
script_set_attribute(attribute:"description", value:
"The remote Redhat Enterprise Linux 6 / 7 host has packages installed that are affected by multiple vulnerabilities as
referenced in the RHSA-2017:2886 advisory.
- mariadb, mysql: Incorrect input validation allowing code execution via mysqldump (CVE-2016-5483,
CVE-2017-3600)
- mysql: Server: Replication unspecified vulnerability (CPU Jan 2017) (CVE-2016-8327, CVE-2017-3256)
- mysql: Server: Optimizer unspecified vulnerability (CPU Jan 2017) (CVE-2017-3238)
- mysql: Server: DML unspecified vulnerability (CPU Jan 2017) (CVE-2017-3244)
- mysql: Server: Optimizer unspecified vulnerability (CPU Jan 2017) (CVE-2017-3251)
- mysql: Server: InnoDB unspecified vulnerability (CPU Jan 2017) (CVE-2017-3257)
- mysql: Server: DDL unspecified vulnerability (CPU Jan 2017) (CVE-2017-3258)
- mysql: Server: DDL unspecified vulnerability (CPU Jan 2017) (CVE-2017-3273)
- mysql: unrestricted mysqld_safe's ledir (CPU Jan 2017) (CVE-2017-3291)
- mysql: Server: DML unspecified vulnerability (CPU Apr 2017) (CVE-2017-3308, CVE-2017-3331, CVE-2017-3456,
CVE-2017-3457, CVE-2017-3458)
- mysql: Server: Optimizer unspecified vulnerability (CPU Apr 2017) (CVE-2017-3309, CVE-2017-3453,
CVE-2017-3459)
- mysql: insecure error log file handling in mysqld_safe, incomplete CVE-2016-6664 fix (CPU Jan 2017)
(CVE-2017-3312)
- mysql: Server: MyISAM unspecified vulnerability (CPU Jan 2017) (CVE-2017-3313)
- mysql: Logging unspecified vulnerability (CPU Jan 2017) (CVE-2017-3317)
- mysql: Server: Error Handling unspecified vulnerability (CPU Jan 2017) (CVE-2017-3318)
- mysql: Server: X Plugin unspecified vulnerability (CPU Jan 2017) (CVE-2017-3319)
- mysql: Server: Security: Encryption unspecified vulnerability (CPU Jan 2017) (CVE-2017-3320)
- mysql: Server: Memcached unspecified vulnerability (CPU Apr 2017) (CVE-2017-3450)
- mysql: Server: InnoDB unspecified vulnerability (CPU Apr 2017) (CVE-2017-3454)
- mysql: Server: Security: Privileges unspecified vulnerability (CPU Apr 2017) (CVE-2017-3455,
CVE-2017-3461, CVE-2017-3462, CVE-2017-3463, CVE-2017-3465)
- mysql: Server: Audit Plug-in unspecified vulnerability (CPU Apr 2017) (CVE-2017-3460)
- mysql: Server: DDL unspecified vulnerability (CPU Apr 2017) (CVE-2017-3464)
- mysql: Server: C API unspecified vulnerability (CPU Apr 2017) (CVE-2017-3467)
- mysql: Server: Security: Encryption unspecified vulnerability (CPU Apr 2017) (CVE-2017-3468)
- mysql: Server: UDF unspecified vulnerability (CPU Jul 2017) (CVE-2017-3529)
- mysql: integer underflow in get_56_lenc_string() leading to DoS (CPU Apr 2017) (CVE-2017-3599)
- mysql: Server: Memcached unspecified vulnerability (CPU Jul 2017) (CVE-2017-3633)
- mysql: Server: DML unspecified vulnerability (CPU Jul 2017) (CVE-2017-3634, CVE-2017-3639, CVE-2017-3640,
CVE-2017-3641, CVE-2017-3643, CVE-2017-3644)
- mysql: X Plugin unspecified vulnerability (CPU Jul 2017) (CVE-2017-3637, CVE-2017-3646)
- mysql: Server: Optimizer unspecified vulnerability (CPU Jul 2017) (CVE-2017-3638, CVE-2017-3642,
CVE-2017-3645)
- mysql: Server: Replication unspecified vulnerability (CPU Jul 2017) (CVE-2017-3647, CVE-2017-3649)
- mysql: Server: Charsets unspecified vulnerability (CPU Jul 2017) (CVE-2017-3648)
- mysql: C API unspecified vulnerability (CPU Jul 2017) (CVE-2017-3650)
- mysql: Client mysqldump unspecified vulnerability (CPU Jul 2017) (CVE-2017-3651)
- mysql: Server: DDL unspecified vulnerability (CPU Jul 2017) (CVE-2017-3652, CVE-2017-3653)
- mysql: Server: Security: Privileges unspecified vulnerability (CPU Jul 2019) (CVE-2019-2730)
Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/security/updates/classification/#important");
# http://www.oracle.com/technetwork/security-advisory/cpujan2017-2881727.html#AppendixMSQL
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?a1c38e52");
# http://www.oracle.com/technetwork/security-advisory/cpuapr2017-3236618.html#AppendixMSQL
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?54d9438d");
# http://www.oracle.com/technetwork/security-advisory/cpujul2017-3236622.html#AppendixMSQL
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?50229a1a");
script_set_attribute(attribute:"see_also", value:"https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-17.html");
script_set_attribute(attribute:"see_also", value:"https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-18.html");
script_set_attribute(attribute:"see_also", value:"https://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-19.html");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1414133");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1414337");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1414338");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1414342");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1414343");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1414345");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1414350");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1414351");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1414352");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1414353");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1414355");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1414357");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1414358");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1414360");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1414429");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1433010");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1443358");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1443359");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1443362");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1443363");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1443365");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1443366");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1443368");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1443369");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1443371");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1443372");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1443374");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1443375");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1443376");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1443377");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1443378");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1443379");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1443380");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1443382");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1443385");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1443386");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1472682");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1472683");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1472684");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1472687");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1472688");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1472689");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1472692");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1472693");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1472695");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1472697");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1472698");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1472700");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1472701");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1472703");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1472704");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1472705");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1472706");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1472708");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1472710");
script_set_attribute(attribute:"see_also", value:"https://bugzilla.redhat.com/show_bug.cgi?id=1472711");
# https://access.redhat.com/security/data/csaf/v2/advisories/2017/rhsa-2017_2886.json
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?1b0299c6");
script_set_attribute(attribute:"see_also", value:"https://access.redhat.com/errata/RHSA-2017:2886");
script_set_attribute(attribute:"solution", value:
"Update the RHEL rh-mysql57-mysql package based on the guidance in RHSA-2017:2886.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:S/C:P/I:P/A:P");
script_set_cvss_temporal_vector("CVSS2#E:POC/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H");
script_set_cvss3_temporal_vector("CVSS:3.0/E:P/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2017-3600");
script_set_attribute(attribute:"cvss3_score_source", value:"CVE-2017-3312");
script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
script_set_attribute(attribute:"exploit_available", value:"true");
script_cwe_id(77, 190, 426);
script_set_attribute(attribute:"vendor_severity", value:"Important");
script_set_attribute(attribute:"vuln_publication_date", value:"2017/01/17");
script_set_attribute(attribute:"patch_publication_date", value:"2017/10/12");
script_set_attribute(attribute:"plugin_publication_date", value:"2024/04/27");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:6");
script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:7");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-mysql57-mysql");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-mysql57-mysql-common");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-mysql57-mysql-config");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-mysql57-mysql-devel");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-mysql57-mysql-errmsg");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-mysql57-mysql-server");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:rh-mysql57-mysql-test");
script_set_attribute(attribute:"generated_plugin", value:"current");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Red Hat Local Security Checks");
script_copyright(english:"This script is Copyright (C) 2024 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("ssh_get_info.nasl", "redhat_repos.nasl");
script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list", "Host/cpu");
exit(0);
}
include('rpm.inc');
include('rhel.inc');
if (!get_kb_item('Host/local_checks_enabled')) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
var os_release = get_kb_item('Host/RedHat/release');
if (isnull(os_release) || 'Red Hat' >!< os_release) audit(AUDIT_OS_NOT, 'Red Hat');
var os_ver = pregmatch(pattern: "Red Hat Enterprise Linux.*release ([0-9]+(\.[0-9]+)?)", string:os_release);
if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, 'Red Hat');
os_ver = os_ver[1];
if (!rhel_check_release_list(operator: 'ge', os_version: os_ver, rhel_versions: ['6','7'])) audit(AUDIT_OS_NOT, 'Red Hat 6.x / 7.x', 'Red Hat ' + os_ver);
if (!get_kb_item('Host/RedHat/rpm-list')) audit(AUDIT_PACKAGE_LIST_MISSING);
var cpu = get_kb_item('Host/cpu');
if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
if ('x86_64' >!< cpu && cpu !~ "^i[3-6]86$" && 's390' >!< cpu && 'aarch64' >!< cpu && 'ppc' >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, 'Red Hat', cpu);
var constraints = [
{
'repo_relative_urls': [
'content/dist/rhel/server/6/6Server/x86_64/rhscl/1/debug',
'content/dist/rhel/server/6/6Server/x86_64/rhscl/1/os',
'content/dist/rhel/server/6/6Server/x86_64/rhscl/1/source/SRPMS',
'content/dist/rhel/workstation/6/6Workstation/x86_64/rhscl/1/debug',
'content/dist/rhel/workstation/6/6Workstation/x86_64/rhscl/1/os',
'content/dist/rhel/workstation/6/6Workstation/x86_64/rhscl/1/source/SRPMS'
],
'pkgs': [
{'reference':'rh-mysql57-mysql-5.7.19-6.el6', 'cpu':'x86_64', 'release':'6', 'rpm_spec_vers_cmp':TRUE},
{'reference':'rh-mysql57-mysql-common-5.7.19-6.el6', 'cpu':'x86_64', 'release':'6', 'rpm_spec_vers_cmp':TRUE},
{'reference':'rh-mysql57-mysql-config-5.7.19-6.el6', 'cpu':'x86_64', 'release':'6', 'rpm_spec_vers_cmp':TRUE},
{'reference':'rh-mysql57-mysql-devel-5.7.19-6.el6', 'cpu':'x86_64', 'release':'6', 'rpm_spec_vers_cmp':TRUE},
{'reference':'rh-mysql57-mysql-errmsg-5.7.19-6.el6', 'cpu':'x86_64', 'release':'6', 'rpm_spec_vers_cmp':TRUE},
{'reference':'rh-mysql57-mysql-server-5.7.19-6.el6', 'cpu':'x86_64', 'release':'6', 'rpm_spec_vers_cmp':TRUE},
{'reference':'rh-mysql57-mysql-test-5.7.19-6.el6', 'cpu':'x86_64', 'release':'6', 'rpm_spec_vers_cmp':TRUE}
]
},
{
'repo_relative_urls': [
'content/dist/rhel/server/7/7Server/x86_64/rhscl/1/debug',
'content/dist/rhel/server/7/7Server/x86_64/rhscl/1/os',
'content/dist/rhel/server/7/7Server/x86_64/rhscl/1/source/SRPMS',
'content/dist/rhel/workstation/7/7Workstation/x86_64/rhscl/1/debug',
'content/dist/rhel/workstation/7/7Workstation/x86_64/rhscl/1/os',
'content/dist/rhel/workstation/7/7Workstation/x86_64/rhscl/1/source/SRPMS'
],
'pkgs': [
{'reference':'rh-mysql57-mysql-5.7.19-6.el7', 'cpu':'x86_64', 'release':'7', 'rpm_spec_vers_cmp':TRUE},
{'reference':'rh-mysql57-mysql-common-5.7.19-6.el7', 'cpu':'x86_64', 'release':'7', 'rpm_spec_vers_cmp':TRUE},
{'reference':'rh-mysql57-mysql-config-5.7.19-6.el7', 'cpu':'x86_64', 'release':'7', 'rpm_spec_vers_cmp':TRUE},
{'reference':'rh-mysql57-mysql-devel-5.7.19-6.el7', 'cpu':'x86_64', 'release':'7', 'rpm_spec_vers_cmp':TRUE},
{'reference':'rh-mysql57-mysql-errmsg-5.7.19-6.el7', 'cpu':'x86_64', 'release':'7', 'rpm_spec_vers_cmp':TRUE},
{'reference':'rh-mysql57-mysql-server-5.7.19-6.el7', 'cpu':'x86_64', 'release':'7', 'rpm_spec_vers_cmp':TRUE},
{'reference':'rh-mysql57-mysql-test-5.7.19-6.el7', 'cpu':'x86_64', 'release':'7', 'rpm_spec_vers_cmp':TRUE}
]
}
];
var applicable_repo_urls = rhel_determine_applicable_repository_urls(constraints:constraints);
if(applicable_repo_urls == RHEL_REPOS_NO_OVERLAP_MESSAGE) exit(0, RHEL_REPO_NOT_ENABLED);
var flag = 0;
foreach var constraint_array ( constraints ) {
var repo_relative_urls = NULL;
if (!empty_or_null(constraint_array['repo_relative_urls'])) repo_relative_urls = constraint_array['repo_relative_urls'];
foreach var pkg ( constraint_array['pkgs'] ) {
var reference = NULL;
var _release = NULL;
var sp = NULL;
var _cpu = NULL;
var el_string = NULL;
var rpm_spec_vers_cmp = NULL;
var epoch = NULL;
var allowmaj = NULL;
var exists_check = NULL;
var cves = NULL;
if (!empty_or_null(pkg['reference'])) reference = pkg['reference'];
if (!empty_or_null(pkg['release'])) _release = 'RHEL' + pkg['release'];
if (!empty_or_null(pkg['sp'])) sp = pkg['sp'];
if (!empty_or_null(pkg['cpu'])) _cpu = pkg['cpu'];
if (!empty_or_null(pkg['el_string'])) el_string = pkg['el_string'];
if (!empty_or_null(pkg['rpm_spec_vers_cmp'])) rpm_spec_vers_cmp = pkg['rpm_spec_vers_cmp'];
if (!empty_or_null(pkg['epoch'])) epoch = pkg['epoch'];
if (!empty_or_null(pkg['allowmaj'])) allowmaj = pkg['allowmaj'];
if (!empty_or_null(pkg['exists_check'])) exists_check = pkg['exists_check'];
if (!empty_or_null(pkg['cves'])) cves = pkg['cves'];
if (reference &&
_release &&
rhel_decide_repo_relative_url_check(required_repo_url_list:repo_relative_urls) &&
(applicable_repo_urls || (!exists_check || rpm_exists(release:_release, rpm:exists_check))) &&
rpm_check(release:_release, sp:sp, cpu:_cpu, reference:reference, epoch:epoch, el_string:el_string, rpm_spec_vers_cmp:rpm_spec_vers_cmp, allowmaj:allowmaj, cves:cves)) flag++;
}
}
if (flag)
{
var extra = NULL;
if (isnull(applicable_repo_urls) || !applicable_repo_urls) extra = rpm_report_get() + redhat_report_repo_caveat();
else extra = rpm_report_get();
security_report_v4(
port : 0,
severity : SECURITY_WARNING,
extra : extra
);
exit(0);
}
else
{
var tested = pkg_tests_get();
if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);
else audit(AUDIT_PACKAGE_NOT_INSTALLED, 'rh-mysql57-mysql / rh-mysql57-mysql-common / etc');
}
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-5483
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-8327
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3238
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3244
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3251
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3256
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3257
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3258
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3273
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3291
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3308
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3309
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3312
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3313
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3317
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3318
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3319
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3320
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3331
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3450
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3453
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3454
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3455
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3456
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3457
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3458
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3459
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3460
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3461
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3462
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3463
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3464
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3465
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3467
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3468
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3529
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3599
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3600
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3633
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3634
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3637
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3638
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3639
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3640
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3641
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3642
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3643
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3644
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3645
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3646
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3647
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3648
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3649
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3650
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3651
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3652
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-3653
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-2730
www.nessus.org/u?1b0299c6
www.nessus.org/u?50229a1a
www.nessus.org/u?54d9438d
www.nessus.org/u?a1c38e52
access.redhat.com/errata/RHSA-2017:2886
access.redhat.com/security/updates/classification/#important
bugzilla.redhat.com/show_bug.cgi?id=1414133
bugzilla.redhat.com/show_bug.cgi?id=1414337
bugzilla.redhat.com/show_bug.cgi?id=1414338
bugzilla.redhat.com/show_bug.cgi?id=1414342
bugzilla.redhat.com/show_bug.cgi?id=1414343
bugzilla.redhat.com/show_bug.cgi?id=1414345
bugzilla.redhat.com/show_bug.cgi?id=1414350
bugzilla.redhat.com/show_bug.cgi?id=1414351
bugzilla.redhat.com/show_bug.cgi?id=1414352
bugzilla.redhat.com/show_bug.cgi?id=1414353
bugzilla.redhat.com/show_bug.cgi?id=1414355
bugzilla.redhat.com/show_bug.cgi?id=1414357
bugzilla.redhat.com/show_bug.cgi?id=1414358
bugzilla.redhat.com/show_bug.cgi?id=1414360
bugzilla.redhat.com/show_bug.cgi?id=1414429
bugzilla.redhat.com/show_bug.cgi?id=1433010
bugzilla.redhat.com/show_bug.cgi?id=1443358
bugzilla.redhat.com/show_bug.cgi?id=1443359
bugzilla.redhat.com/show_bug.cgi?id=1443362
bugzilla.redhat.com/show_bug.cgi?id=1443363
bugzilla.redhat.com/show_bug.cgi?id=1443365
bugzilla.redhat.com/show_bug.cgi?id=1443366
bugzilla.redhat.com/show_bug.cgi?id=1443368
bugzilla.redhat.com/show_bug.cgi?id=1443369
bugzilla.redhat.com/show_bug.cgi?id=1443371
bugzilla.redhat.com/show_bug.cgi?id=1443372
bugzilla.redhat.com/show_bug.cgi?id=1443374
bugzilla.redhat.com/show_bug.cgi?id=1443375
bugzilla.redhat.com/show_bug.cgi?id=1443376
bugzilla.redhat.com/show_bug.cgi?id=1443377
bugzilla.redhat.com/show_bug.cgi?id=1443378
bugzilla.redhat.com/show_bug.cgi?id=1443379
bugzilla.redhat.com/show_bug.cgi?id=1443380
bugzilla.redhat.com/show_bug.cgi?id=1443382
bugzilla.redhat.com/show_bug.cgi?id=1443385
bugzilla.redhat.com/show_bug.cgi?id=1443386
bugzilla.redhat.com/show_bug.cgi?id=1472682
bugzilla.redhat.com/show_bug.cgi?id=1472683
bugzilla.redhat.com/show_bug.cgi?id=1472684
bugzilla.redhat.com/show_bug.cgi?id=1472687
bugzilla.redhat.com/show_bug.cgi?id=1472688
bugzilla.redhat.com/show_bug.cgi?id=1472689
bugzilla.redhat.com/show_bug.cgi?id=1472692
bugzilla.redhat.com/show_bug.cgi?id=1472693
bugzilla.redhat.com/show_bug.cgi?id=1472695
bugzilla.redhat.com/show_bug.cgi?id=1472697
bugzilla.redhat.com/show_bug.cgi?id=1472698
bugzilla.redhat.com/show_bug.cgi?id=1472700
bugzilla.redhat.com/show_bug.cgi?id=1472701
bugzilla.redhat.com/show_bug.cgi?id=1472703
bugzilla.redhat.com/show_bug.cgi?id=1472704
bugzilla.redhat.com/show_bug.cgi?id=1472705
bugzilla.redhat.com/show_bug.cgi?id=1472706
bugzilla.redhat.com/show_bug.cgi?id=1472708
bugzilla.redhat.com/show_bug.cgi?id=1472710
bugzilla.redhat.com/show_bug.cgi?id=1472711
dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-17.html
dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-18.html
dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-19.html
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
COMPLETE
AV:N/AC:L/Au:N/C:N/I:N/A:C
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality Impact
NONE
Integrity Impact
NONE
Availability Impact
HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:N/A:H
AI Score
Confidence
Low
EPSS
Percentile
99.5%