Lucene search

K
openvasCopyright (C) 2023 Greenbone AGOPENVAS:1361412562310885184
HistoryNov 05, 2023 - 12:00 a.m.

Fedora: Security Advisory (FEDORA-2023-6b89bc0305)

2023-11-0500:00:00
Copyright (C) 2023 Greenbone AG
plugins.openvas.org
3
fedora
security advisory
golang-github-nats-io-nkeys
fedora-2023-6b89bc0305
nats ecosystem
ed25519
fedora 39
vendorfix
package

CVSS3

9.8

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.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

6.8

Confidence

High

EPSS

0.003

Percentile

69.1%

The remote host is missing an update for the

# SPDX-FileCopyrightText: 2023 Greenbone AG
# 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-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.885184");
  script_cve_id("CVE-2022-28357", "CVE-2022-41717");
  script_tag(name:"creation_date", value:"2023-11-05 02:21:00 +0000 (Sun, 05 Nov 2023)");
  script_version("2024-09-13T05:05:46+0000");
  script_tag(name:"last_modification", value:"2024-09-13 05:05:46 +0000 (Fri, 13 Sep 2024)");
  script_tag(name:"cvss_base", value:"10.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:C/I:C/A:C");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2023-09-19 21:26:22 +0000 (Tue, 19 Sep 2023)");

  script_name("Fedora: Security Advisory (FEDORA-2023-6b89bc0305)");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2023 Greenbone AG");
  script_family("Fedora Local Security Checks");
  script_dependencies("gather-package-list.nasl");
  script_mandatory_keys("ssh/login/fedora", "ssh/login/rpms", re:"ssh/login/release=FC39");

  script_xref(name:"Advisory-ID", value:"FEDORA-2023-6b89bc0305");
  script_xref(name:"URL", value:"https://bodhi.fedoraproject.org/updates/FEDORA-2023-6b89bc0305");

  script_tag(name:"summary", value:"The remote host is missing an update for the 'golang-github-cncf-xds, golang-github-envoyproxy-control-plane, golang-github-nats-io, golang-github-nats-io-jwt-2, golang-github-nats-io-nkeys, golang-github-nats-io-streaming-server, golang-github-protobuf, golang-google-protobuf, nats-server' package(s) announced via the FEDORA-2023-6b89bc0305 advisory.");

  script_tag(name:"vuldetect", value:"Checks if a vulnerable package version is present on the target host.");

  script_tag(name:"insight", value:"Contains updates to address CVE-2022-{28357,41717} and also NATS: 2023-01 nats-server: Adding accounts for just the system account adds auth bypass");

  script_tag(name:"affected", value:"'golang-github-cncf-xds, golang-github-envoyproxy-control-plane, golang-github-nats-io, golang-github-nats-io-jwt-2, golang-github-nats-io-nkeys, golang-github-nats-io-streaming-server, golang-github-protobuf, golang-google-protobuf, nats-server' package(s) on Fedora 39.");

  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 == "FC39") {

  if(!isnull(res = isrpmvuln(pkg:"compat-golang-github-nats-io-devel", rpm:"compat-golang-github-nats-io-devel~1.30.1~1.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"compat-golang-github-nats-io-gnatsd-devel", rpm:"compat-golang-github-nats-io-gnatsd-devel~2.10.3~1.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"compat-golang-github-nats-io-jwt-2-devel", rpm:"compat-golang-github-nats-io-jwt-2-devel~2.5.2~1.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"compat-golang-github-nats-io-server-2-devel", rpm:"compat-golang-github-nats-io-server-2-devel~2.10.3~1.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"golang-github-cncf-xds", rpm:"golang-github-cncf-xds~0~0.10.20230912gite9ce688.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"golang-github-cncf-xds-devel", rpm:"golang-github-cncf-xds-devel~0~0.10.20230912gite9ce688.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"golang-github-envoyproxy-control-plane", rpm:"golang-github-envoyproxy-control-plane~0.11.1~1.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"golang-github-envoyproxy-control-plane-devel", rpm:"golang-github-envoyproxy-control-plane-devel~0.11.1~1.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"golang-github-nats-io", rpm:"golang-github-nats-io~1.30.1~1.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"golang-github-nats-io-devel", rpm:"golang-github-nats-io-devel~1.30.1~1.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"golang-github-nats-io-jwt-2", rpm:"golang-github-nats-io-jwt-2~2.5.2~1.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"golang-github-nats-io-jwt-devel", rpm:"golang-github-nats-io-jwt-devel~2.5.2~1.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"golang-github-nats-io-nkeys", rpm:"golang-github-nats-io-nkeys~0.4.5~2.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"golang-github-nats-io-nkeys-debuginfo", rpm:"golang-github-nats-io-nkeys-debuginfo~0.4.5~2.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"golang-github-nats-io-nkeys-debugsource", rpm:"golang-github-nats-io-nkeys-debugsource~0.4.5~2.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"golang-github-nats-io-nkeys-devel", rpm:"golang-github-nats-io-nkeys-devel~0.4.5~2.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"golang-github-nats-io-server-devel", rpm:"golang-github-nats-io-server-devel~2.10.3~1.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"golang-github-nats-io-streaming-server", rpm:"golang-github-nats-io-streaming-server~0.25.5~1.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"golang-github-nats-io-streaming-server-debuginfo", rpm:"golang-github-nats-io-streaming-server-debuginfo~0.25.5~1.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"golang-github-nats-io-streaming-server-debugsource", rpm:"golang-github-nats-io-streaming-server-debugsource~0.25.5~1.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"golang-github-nats-io-streaming-server-devel", rpm:"golang-github-nats-io-streaming-server-devel~0.25.5~1.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"golang-github-protobuf", rpm:"golang-github-protobuf~1.5.3~3.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"golang-github-protobuf-devel", rpm:"golang-github-protobuf-devel~1.5.3~3.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"golang-google-protobuf", rpm:"golang-google-protobuf~1.31.0~4.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"golang-google-protobuf-debuginfo", rpm:"golang-google-protobuf-debuginfo~1.31.0~4.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"golang-google-protobuf-debugsource", rpm:"golang-google-protobuf-debugsource~1.31.0~4.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"golang-google-protobuf-devel", rpm:"golang-google-protobuf-devel~1.31.0~4.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"nats-server", rpm:"nats-server~2.10.3~1.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"nats-server-debuginfo", rpm:"nats-server-debuginfo~2.10.3~1.fc39", rls:"FC39"))) {
    report += res;
  }

  if(!isnull(res = isrpmvuln(pkg:"nats-server-debugsource", rpm:"nats-server-debugsource~2.10.3~1.fc39", rls:"FC39"))) {
    report += res;
  }

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

exit(0);

CVSS3

9.8

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.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

AI Score

6.8

Confidence

High

EPSS

0.003

Percentile

69.1%