Security update ntpsec version 1.1.3 with fixes for out of bounds write, buffer over-read, and NULL pointer dereference vulnerabilitie
Reporter | Title | Published | Views | Family All 55 |
---|---|---|---|---|
SUSE Linux | Security update for ntpsec (important) | 23 Jan 201900:00 | – | suse |
Tenable Nessus | openSUSE Security Update : ntpsec (openSUSE-2019-82) | 24 Jan 201900:00 | – | nessus |
OpenVAS | NTPsec < 1.1.3 Multiple Vulnerabilities | 20 Feb 202400:00 | – | openvas |
OSV | libntpc1-1.2.1-1.2 on GA media | 15 Jun 202400:00 | – | osv |
OSV | CVE-2019-6443 | 16 Jan 201905:29 | – | osv |
OSV | CVE-2019-6445 | 16 Jan 201905:29 | – | osv |
OSV | CVE-2019-6442 | 16 Jan 201905:29 | – | osv |
OSV | CVE-2019-6444 | 16 Jan 201905:29 | – | osv |
Packet Storm | NTPsec 1.1.2 ctl_getitem Out-Of-Bounds Read | 16 Jan 201900:00 | – | packetstorm |
Packet Storm | NTPsec 1.1.2 ntp_control Null Pointer Dereference | 16 Jan 201900:00 | – | packetstorm |
# Copyright (C) 2019 Greenbone Networks GmbH
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.852249");
script_version("2021-09-07T12:01:40+0000");
script_cve_id("CVE-2019-6442", "CVE-2019-6443", "CVE-2019-6444", "CVE-2019-6445");
script_tag(name:"cvss_base", value:"6.4");
script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:N/A:P");
script_tag(name:"last_modification", value:"2021-09-07 12:01:40 +0000 (Tue, 07 Sep 2021)");
script_tag(name:"severity_vector", value:"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H");
script_tag(name:"severity_origin", value:"NVD");
script_tag(name:"severity_date", value:"2019-01-22 14:44:00 +0000 (Tue, 22 Jan 2019)");
script_tag(name:"creation_date", value:"2019-01-24 04:04:09 +0100 (Thu, 24 Jan 2019)");
script_name("openSUSE: Security Advisory for ntpsec (openSUSE-SU-2019:0082-1)");
script_category(ACT_GATHER_INFO);
script_copyright("Copyright (C) 2019 Greenbone Networks GmbH");
script_family("SuSE Local Security Checks");
script_dependencies("gather-package-list.nasl");
script_mandatory_keys("ssh/login/suse", "ssh/login/rpms", re:"ssh/login/release=openSUSELeap15\.0");
script_xref(name:"openSUSE-SU", value:"2019:0082-1");
script_xref(name:"URL", value:"https://lists.opensuse.org/opensuse-security-announce/2019-01/msg00030.html");
script_tag(name:"summary", value:"The remote host is missing an update for the 'ntpsec'
package(s) announced via the openSUSE-SU-2019:0082-1 advisory.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable package version is present on the target host.");
script_tag(name:"insight", value:"This update for ntpsec to version 1.1.3 fixes the following issues:
Security issues fixed:
- CVE-2019-6442: Fixed an out of bounds write via a malformed config
request (boo#1122132)
- CVE-2019-6443: Fixed a stack-based buffer over-read in the ctl_getitem
function (boo#1122144)
- CVE-2019-6444: Fixed a stack-based buffer over-read in the
process_control function (boo#1122134)
- CVE-2019-6445: Fixed a NULL pointer dereference in the ctl_getitem
function (boo#1122131)
Patch Instructions:
To install this openSUSE Security Update use the SUSE recommended
installation methods
like YaST online_update or 'zypper patch'.
Alternatively you can run the command listed for your product:
- openSUSE Leap 15.0:
zypper in -t patch openSUSE-2019-82=1");
script_tag(name:"affected", value:"ntpsec on openSUSE Leap 15.0.");
script_tag(name:"solution", value:"Please install the updated package(s).");
script_tag(name:"solution_type", value:"VendorFix");
script_tag(name:"qod_type", value:"package");
exit(0);
}
include("revisions-lib.inc");
include("pkg-lib-rpm.inc");
release = rpm_get_ssh_release();
if(!release)
exit(0);
res = "";
report = "";
if(release == "openSUSELeap15.0") {
if(!isnull(res = isrpmvuln(pkg:"ntpsec", rpm:"ntpsec~1.1.3~lp150.2.3.1", rls:"openSUSELeap15.0"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"ntpsec-debuginfo", rpm:"ntpsec-debuginfo~1.1.3~lp150.2.3.1", rls:"openSUSELeap15.0"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"ntpsec-debugsource", rpm:"ntpsec-debugsource~1.1.3~lp150.2.3.1", rls:"openSUSELeap15.0"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"ntpsec-utils", rpm:"ntpsec-utils~1.1.3~lp150.2.3.1", rls:"openSUSELeap15.0"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"python3-ntp", rpm:"python3-ntp~1.1.3~lp150.2.3.1", rls:"openSUSELeap15.0"))) {
report += res;
}
if(!isnull(res = isrpmvuln(pkg:"python3-ntp-debuginfo", rpm:"python3-ntp-debuginfo~1.1.3~lp150.2.3.1", rls:"openSUSELeap15.0"))) {
report += res;
}
if(report != "") {
security_message(data:report);
} else if(__pkg_match) {
exit(99);
}
exit(0);
}
exit(0);
Transform Your Security Services
Elevate your offerings with Vulners' advanced Vulnerability Intelligence. Contact us for a demo and discover the difference comprehensive, actionable intelligence can make in your security strategy.
Book a live demo