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 the following resources for the full changelog:
https://docs.saltstack.com/en/develop/topics/releases/2017.7.2.html https://docs.saltstack.com/en/develop/topics/releases/2017.7.1.html https://docs.saltstack.com/en/develop/topics/releases/2017.7.0.html
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)
CVE-2017-12791: crafted minion ID could lead directory traversal on the Salt-master (boo#1053955)
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)
fix ownership for whole master cache directory (boo#1035914)
fix setting the language on SUSE systems (boo#1038855)
wrong os_family grains on SUSE - fix unittests (boo#1038855)
speed-up cherrypy by removing sleep call
Disable 3rd party runtime packages to be explicitly recommended. (boo#1040886)
fix format error (boo#1043111)
Add a salt-minion watchdog for RHEL6 and SLES11 systems (sysV) to restart salt-minion in case of crashes during upgrade.
Add procps as dependency.
Bugfix: jobs scheduled to run at a future time stay pending for Salt minions (boo#1036125)
Wrong os_family grains on SUSE - fix unittests.
(boo#1038855)
Fix setting the language on SUSE systems. (boo#1038855)
Bugfix: unable to use hostname for minion ID as ‘127’.
(upstream)
Bugfix: remove sleep call in CheppryPy API handler.
(upstream)
Fix core grains constants for timezone. (boo#1032931)
Prevents zero length error on Python 2.6.
Fixes zypper test error after backporting.
Refactoring on Zypper and Yum execution and state modules to allow installation of patches/errata.
Allows to set ‘timeout’ and ‘gather_job_timeout’ via kwargs.
Add missing bootstrap script for Salt Cloud.
(boo#1032452)
raet protocol is no longer supported. (boo#1020831)
Fix: add missing /var/cache/salt/cloud directory.
(boo#1032213)
Cleanup salt user environment preparation. (boo#1027722)
Fix: race condition on cache directory creation.
Fix: /var/log/salt/minion fails logrotate. (boo#1030009)
Fix: Result of master_tops extension is mutually overwritten. (boo#1030073)
Allows to set custom timeouts for ‘manage.up’ and ‘manage.status’.
Keep fix for migrating salt home directory.
(boo#1022562)
Fix salt-minion update on RHEL. (boo#1022841)
Prevents ‘OSError’ exception in case certain job cache path doesn’t exist. (boo#1023535)
#%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-1183.
#
# The text description of this plugin is (C) SUSE LLC.
#
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(104087);
script_version("3.7");
script_set_attribute(attribute:"plugin_modification_date", value:"2021/01/19");
script_cve_id("CVE-2017-12791", "CVE-2017-14695", "CVE-2017-14696");
script_xref(name:"IAVB", value:"2017-B-0112-S");
script_name(english:"openSUSE Security Update : salt (openSUSE-2017-1183)");
script_summary(english:"Check for the openSUSE-2017-1183 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 the following resources for the full changelog:
https://docs.saltstack.com/en/develop/topics/releases/2017.7.2.html
https://docs.saltstack.com/en/develop/topics/releases/2017.7.1.html
https://docs.saltstack.com/en/develop/topics/releases/2017.7.0.html
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)
- CVE-2017-12791: crafted minion ID could lead directory
traversal on the Salt-master (boo#1053955)
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)
- fix ownership for whole master cache directory
(boo#1035914)
- fix setting the language on SUSE systems (boo#1038855)
- wrong os_family grains on SUSE - fix unittests
(boo#1038855)
- speed-up cherrypy by removing sleep call
- Disable 3rd party runtime packages to be explicitly
recommended. (boo#1040886)
- fix format error (boo#1043111)
- Add a salt-minion watchdog for RHEL6 and SLES11 systems
(sysV) to restart salt-minion in case of crashes during
upgrade.
- Add procps as dependency.
- Bugfix: jobs scheduled to run at a future time stay
pending for Salt minions (boo#1036125)
- Wrong os_family grains on SUSE - fix unittests.
(boo#1038855)
- Fix setting the language on SUSE systems. (boo#1038855)
- Bugfix: unable to use hostname for minion ID as '127'.
(upstream)
- Bugfix: remove sleep call in CheppryPy API handler.
(upstream)
- Fix core grains constants for timezone. (boo#1032931)
- Prevents zero length error on Python 2.6.
- Fixes zypper test error after backporting.
- Refactoring on Zypper and Yum execution and state
modules to allow installation of patches/errata.
- Allows to set 'timeout' and 'gather_job_timeout' via
kwargs.
- Add missing bootstrap script for Salt Cloud.
(boo#1032452)
- raet protocol is no longer supported. (boo#1020831)
- Fix: add missing /var/cache/salt/cloud directory.
(boo#1032213)
- Cleanup salt user environment preparation. (boo#1027722)
- Fix: race condition on cache directory creation.
- Fix: /var/log/salt/minion fails logrotate. (boo#1030009)
- Fix: Result of master_tops extension is mutually
overwritten. (boo#1030073)
- Allows to set custom timeouts for 'manage.up' and
'manage.status'.
- Keep fix for migrating salt home directory.
(boo#1022562)
- Fix salt-minion update on RHEL. (boo#1022841)
- Prevents 'OSError' exception in case certain job cache
path doesn't exist. (boo#1023535)"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1020831"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1022562"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1022841"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1023535"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1027722"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1030009"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1030073"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1032213"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1032452"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1032931"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1035914"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1036125"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1038855"
);
script_set_attribute(
attribute:"see_also",
value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1040886"
);
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=1043111"
);
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=1053955"
);
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.0.html"
);
script_set_attribute(
attribute:"see_also",
value:"https://docs.saltstack.com/en/develop/topics/releases/2017.7.1.html"
);
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.2");
script_set_attribute(attribute:"patch_publication_date", value:"2017/10/20");
script_set_attribute(attribute:"plugin_publication_date", value:"2017/10/23");
script_set_attribute(attribute:"stig_severity", value:"II");
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\.2)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "42.2", 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.2", reference:"salt-2017.7.2-5.3.1") ) flag++;
if ( rpm_check(release:"SUSE42.2", reference:"salt-api-2017.7.2-5.3.1") ) flag++;
if ( rpm_check(release:"SUSE42.2", reference:"salt-bash-completion-2017.7.2-5.3.1") ) flag++;
if ( rpm_check(release:"SUSE42.2", reference:"salt-cloud-2017.7.2-5.3.1") ) flag++;
if ( rpm_check(release:"SUSE42.2", reference:"salt-fish-completion-2017.7.2-5.3.1") ) flag++;
if ( rpm_check(release:"SUSE42.2", reference:"salt-master-2017.7.2-5.3.1") ) flag++;
if ( rpm_check(release:"SUSE42.2", reference:"salt-minion-2017.7.2-5.3.1") ) flag++;
if ( rpm_check(release:"SUSE42.2", reference:"salt-proxy-2017.7.2-5.3.1") ) flag++;
if ( rpm_check(release:"SUSE42.2", reference:"salt-ssh-2017.7.2-5.3.1") ) flag++;
if ( rpm_check(release:"SUSE42.2", reference:"salt-syndic-2017.7.2-5.3.1") ) flag++;
if ( rpm_check(release:"SUSE42.2", reference:"salt-zsh-completion-2017.7.2-5.3.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-12791
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=1020831
bugzilla.opensuse.org/show_bug.cgi?id=1022562
bugzilla.opensuse.org/show_bug.cgi?id=1022841
bugzilla.opensuse.org/show_bug.cgi?id=1023535
bugzilla.opensuse.org/show_bug.cgi?id=1027722
bugzilla.opensuse.org/show_bug.cgi?id=1030009
bugzilla.opensuse.org/show_bug.cgi?id=1030073
bugzilla.opensuse.org/show_bug.cgi?id=1032213
bugzilla.opensuse.org/show_bug.cgi?id=1032452
bugzilla.opensuse.org/show_bug.cgi?id=1032931
bugzilla.opensuse.org/show_bug.cgi?id=1035914
bugzilla.opensuse.org/show_bug.cgi?id=1036125
bugzilla.opensuse.org/show_bug.cgi?id=1038855
bugzilla.opensuse.org/show_bug.cgi?id=1040886
bugzilla.opensuse.org/show_bug.cgi?id=1042749
bugzilla.opensuse.org/show_bug.cgi?id=1043111
bugzilla.opensuse.org/show_bug.cgi?id=1052264
bugzilla.opensuse.org/show_bug.cgi?id=1053955
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.0.html
docs.saltstack.com/en/develop/topics/releases/2017.7.1.html
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%