Lucene search

K
openvasCopyright (C) 2022 Greenbone Networks GmbHOPENVAS:1361412562310854555
HistoryMar 23, 2022 - 12:00 a.m.

openSUSE: Security Advisory for chrony (openSUSE-SU-2022:0845-1)

2022-03-2300:00:00
Copyright (C) 2022 Greenbone Networks GmbH
plugins.openvas.org
3

6 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

5.2%

The remote host is missing an update for the

# Copyright (C) 2022 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.854555");
  script_version("2022-09-08T10:11:29+0000");
  script_cve_id("CVE-2020-14367");
  script_tag(name:"cvss_base", value:"3.6");
  script_tag(name:"cvss_base_vector", value:"AV:L/AC:L/Au:N/C:N/I:P/A:P");
  script_tag(name:"last_modification", value:"2022-09-08 10:11:29 +0000 (Thu, 08 Sep 2022)");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2020-09-09 14:15:00 +0000 (Wed, 09 Sep 2020)");
  script_tag(name:"creation_date", value:"2022-03-23 08:28:25 +0000 (Wed, 23 Mar 2022)");
  script_name("openSUSE: Security Advisory for chrony (openSUSE-SU-2022:0845-1)");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2022 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\.3");

  script_xref(name:"Advisory-ID", value:"openSUSE-SU-2022:0845-1");
  script_xref(name:"URL", value:"https://lists.opensuse.org/archives/list/[email protected]/thread/GIUHNUKYNY5JRZHWXP7NXCJOMX4HEQMQ");

  script_tag(name:"summary", value:"The remote host is missing an update for the 'chrony'
  package(s) announced via the openSUSE-SU-2022:0845-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 chrony fixes the following issues:
  Chrony was updated to 4.1, bringing features and bugfixes.
  Update to 4.1

  * Add support for NTS servers specified by IP address (matching Subject
         Alternative Name in server certificate)

  * Add source-specific configuration of trusted certificates

  * Allow multiple files and directories with trusted certificates

  * Allow multiple pairs of server keys and certificates

  * Add copy option to server/pool directive

  * Increase PPS lock limit to 40% of pulse interval

  * Perform source selection immediately after loading dump files

  * Reload dump files for addresses negotiated by NTS-KE server

  * Update seccomp filter and add less restrictive level

  * Restart ongoing name resolution on online command

  * Fix dump files to not include uncorrected offset

  * Fix initstepslew to accept time from own NTP clients

  * Reset NTP address and port when no longer negotiated by NTS-KE server

  - Ensure the correct pool packages are installed for openSUSE and SLE
       (bsc#1180689).

  - Fix pool package dependencies, so that SLE prefers chrony-pool-suse
       over chrony-pool-empty. (bsc#1194229)

  - Enable syscallfilter unconditionally [bsc#1181826].
  Update to 4.0

  - Enhancements

  - Add support for Network Time Security (NTS) authentication

  - Add support for AES-CMAC keys (AES128, AES256) with Nettle

  - Add authselectmode directive to control selection of unauthenticated
           sources

  - Add binddevice, bindacqdevice, bindcmddevice directives

  - Add confdir directive to better support fragmented configuration

  - Add sourcedir directive and 'reload sources' command to support
           dynamic NTP sources specified in files

  - Add clockprecision directive

  - Add dscp directive to set Differentiated Services Code Point (DSCP)

  - Add -L option to limit log messages by severity

  - Add -p option to print whole configuration with included files

  - Add -U option to allow start under non-root user

  - Allow maxsamples to be set to 1 for faster update with -q/-Q
           option

  - Avoid replacing NTP sources with sources that have unreachable
           address

  - Improve pools to repeat name resolution to get 'maxsources' sources

  - Improve source selection with trusted sources

  - Improve NTP loop test to prevent synchronisation to itself

  - Repeat iburst when NTP source is switched from offline state to
           online

  - ...

  Description truncated. Please see the references for more information.");

  script_tag(name:"affected", value:"'chrony' package(s) on openSUSE Leap 15.3.");

  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.3") {

  if(!isnull(res = isrpmvuln(pkg:"augeas", rpm:"augeas~1.10.1~3.9.1", rls:"openSUSELeap15.3"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"augeas-debuginfo", rpm:"augeas-debuginfo~1.10.1~3.9.1", rls:"openSUSELeap15.3"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"augeas-debugsource", rpm:"augeas-debugsource~1.10.1~3.9.1", rls:"openSUSELeap15.3"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"augeas-devel", rpm:"augeas-devel~1.10.1~3.9.1", rls:"openSUSELeap15.3"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"augeas-lense-tests", rpm:"augeas-lense-tests~1.10.1~3.9.1", rls:"openSUSELeap15.3"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"augeas-lenses", rpm:"augeas-lenses~1.10.1~3.9.1", rls:"openSUSELeap15.3"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"chrony", rpm:"chrony~4.1~150300.16.3.1", rls:"openSUSELeap15.3"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"chrony-debuginfo", rpm:"chrony-debuginfo~4.1~150300.16.3.1", rls:"openSUSELeap15.3"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"chrony-debugsource", rpm:"chrony-debugsource~4.1~150300.16.3.1", rls:"openSUSELeap15.3"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libaugeas0", rpm:"libaugeas0~1.10.1~3.9.1", rls:"openSUSELeap15.3"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libaugeas0-debuginfo", rpm:"libaugeas0-debuginfo~1.10.1~3.9.1", rls:"openSUSELeap15.3"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"augeas-devel-32bit", rpm:"augeas-devel-32bit~1.10.1~3.9.1", rls:"openSUSELeap15.3"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libaugeas0-32bit", rpm:"libaugeas0-32bit~1.10.1~3.9.1", rls:"openSUSELeap15.3"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"libaugeas0-32bit-debuginfo", rpm:"libaugeas0-32bit-debuginfo~1.10.1~3.9.1", rls:"openSUSELeap15.3"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"chrony-pool-empty", rpm:"chrony-pool-empty~4.1~150300.16.3.1", rls:"openSUSELeap15.3"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"chrony-pool-openSUSE", rpm:"chrony-pool-openSUSE~4.1~150300.16.3.1", rls:"openSUSELeap15.3"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"chrony-pool-suse", rpm:"chrony-pool-suse~4.1~150300.16.3.1", rls:"openSUSELeap15.3"))) {
    report += res;
  }

  if(report != "") {
    security_message(data:report);
  } else if(__pkg_match) {
    exit(99);
  }
  exit(0);
}

exit(0);