CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
Percentile
91.4%
Salt was updated to 2017.7.2 and also to fix various bugs and security issues.
See https://docs.saltstack.com/en/develop/topics/releases/2017.7.2.html for full changelog.
Security issues fixed :
CVE-2017-14695: A directory traversal during minion id validation was fixed. (boo#1062462)
CVE-2017-14696: A remote denial of service attack with a specially crafted authentication request was fixed.
(boo#1062464)
Non security issues fixed :
Add possibility to generate _version.py at the build time for raw builds:
https://github.com/saltstack/salt/pull/43955
Fix salt target-type field returns ‘String’ for existing jids but an empty ‘Array’ for non existing jids. (issue #1711)
Fixed minion resource exhaustion when many functions are being executed in parallel (boo#1059758)
Remove ‘TasksTask’ attribute from salt-master.service in older versions of systemd (boo#985112)
Provide custom SUSE salt-master.service file.
Fix wrong version reported by Salt (boo#1061407)
list_pkgs: add parameter for returned attribute selection (boo#1052264)
Adding the leftover for zypper and yum list_pkgs functionality.
Use $HOME to get the user home directory instead using ‘~’ char (boo#1042749)
#%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-2017-1182.
#
# The text description of this plugin is (C) SUSE LLC.
#
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(104086);
script_version("3.5");
script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");
script_cve_id("CVE-2017-14695", "CVE-2017-14696");
script_name(english:"openSUSE Security Update : salt (openSUSE-2017-1182)");
script_summary(english:"Check for the openSUSE-2017-1182 patch");
script_set_attribute(
attribute:"synopsis",
value:"The remote openSUSE host is missing a security update."
);
script_set_attribute(
attribute:"description",
value:
"Salt was updated to 2017.7.2 and also to fix various bugs and security
issues.
See
https://docs.saltstack.com/en/develop/topics/releases/2017.7.2.html
for full changelog.
Security issues fixed :
- CVE-2017-14695: A directory traversal during minion id
validation was fixed. (boo#1062462)
- CVE-2017-14696: A remote denial of service attack with a
specially crafted authentication request was fixed.
(boo#1062464)
Non security issues fixed :
- Add possibility to generate _version.py at the build
time for raw builds:
https://github.com/saltstack/salt/pull/43955
- Fix salt target-type field returns 'String' for existing
jids but an empty 'Array' for non existing jids. (issue
#1711)
- Fixed minion resource exhaustion when many functions are
being executed in parallel (boo#1059758)
- Remove 'TasksTask' attribute from salt-master.service in
older versions of systemd (boo#985112)
- Provide custom SUSE salt-master.service file.
- Fix wrong version reported by Salt (boo#1061407)
- list_pkgs: add parameter for returned attribute
selection (boo#1052264)
- Adding the leftover for zypper and yum list_pkgs
functionality.
- Use $HOME to get the user home directory instead using
'~' char (boo#1042749)"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1042749"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1052264"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1059758"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1061407"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1062462"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1062464"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=985112"
);
script_set_attribute(
attribute:"see_also",
value:"https://docs.saltstack.com/en/develop/topics/releases/2017.7.2.html"
);
script_set_attribute(
attribute:"see_also",
value:"https://github.com/saltstack/salt/pull/43955"
);
script_set_attribute(attribute:"solution", value:"Update the affected salt 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:salt");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:salt-api");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:salt-bash-completion");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:salt-cloud");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:salt-fish-completion");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:salt-master");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:salt-minion");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:salt-proxy");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:salt-ssh");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:salt-syndic");
script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:salt-zsh-completion");
script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:42.3");
script_set_attribute(attribute:"patch_publication_date", value:"2017/10/20");
script_set_attribute(attribute:"plugin_publication_date", value:"2017/10/23");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_copyright(english:"This script is Copyright (C) 2017-2021 Tenable Network Security, Inc.");
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 !~ "^(x86_64)$") audit(AUDIT_ARCH_NOT, "x86_64", ourarch);
flag = 0;
if ( rpm_check(release:"SUSE42.3", reference:"salt-2017.7.2-14.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"salt-api-2017.7.2-14.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"salt-bash-completion-2017.7.2-14.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"salt-cloud-2017.7.2-14.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"salt-fish-completion-2017.7.2-14.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"salt-master-2017.7.2-14.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"salt-minion-2017.7.2-14.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"salt-proxy-2017.7.2-14.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"salt-ssh-2017.7.2-14.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"salt-syndic-2017.7.2-14.1") ) flag++;
if ( rpm_check(release:"SUSE42.3", reference:"salt-zsh-completion-2017.7.2-14.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, "salt / salt-api / salt-bash-completion / salt-cloud / etc");
}
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-14695
cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-14696
bugzilla.opensuse.org/show_bug.cgi?id=1042749
bugzilla.opensuse.org/show_bug.cgi?id=1052264
bugzilla.opensuse.org/show_bug.cgi?id=1059758
bugzilla.opensuse.org/show_bug.cgi?id=1061407
bugzilla.opensuse.org/show_bug.cgi?id=1062462
bugzilla.opensuse.org/show_bug.cgi?id=1062464
bugzilla.opensuse.org/show_bug.cgi?id=985112
docs.saltstack.com/en/develop/topics/releases/2017.7.2.html
github.com/saltstack/salt/pull/43955
CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
CVSS3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
HIGH
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
Percentile
91.4%