Lucene search

K
openvasCopyright (C) 2024 Greenbone AGOPENVAS:1361412562310151747
HistoryFeb 16, 2024 - 12:00 a.m.

Node.js 18.x < 18.19.1 Multiple Vulnerabilities - Windows

2024-02-1600:00:00
Copyright (C) 2024 Greenbone AG
plugins.openvas.org
2
node.js
vulnerabilities
openssl
marvin attack
fetch
brotli
undici
libuv
update
windows

7.3 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

6 Medium

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

61.2%

Node.js is prone to multiple vulnerabilities.

# SPDX-FileCopyrightText: 2024 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

CPE = "cpe:/a:nodejs:node.js";

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.151747");
  script_version("2024-03-13T05:05:57+0000");
  script_tag(name:"last_modification", value:"2024-03-13 05:05:57 +0000 (Wed, 13 Mar 2024)");
  script_tag(name:"creation_date", value:"2024-02-16 05:11:06 +0000 (Fri, 16 Feb 2024)");
  script_tag(name:"cvss_base", value:"7.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_tag(name:"severity_vector", value:"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L");
  script_tag(name:"severity_origin", value:"NVD");
  script_tag(name:"severity_date", value:"2024-02-27 18:34:10 +0000 (Tue, 27 Feb 2024)");

  script_cve_id("CVE-2024-22019", "CVE-2023-46809", "CVE-2024-22025", "CVE-2024-24806",
                "CVE-2024-24758", "CVE-2023-5678", "CVE-2023-6129", "CVE-2023-6237",
                "CVE-2024-0727");

  script_tag(name:"qod_type", value:"registry");

  script_tag(name:"solution_type", value:"VendorFix");

  script_name("Node.js 18.x < 18.19.1 Multiple Vulnerabilities - Windows");

  script_category(ACT_GATHER_INFO);

  script_copyright("Copyright (C) 2024 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("gb_nodejs_detect_win.nasl");
  script_mandatory_keys("Nodejs/Win/Ver");

  script_tag(name:"summary", value:"Node.js is prone to multiple vulnerabilities.");

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

  script_tag(name:"insight", value:"The following flaws exist:

  - CVE-2023-5678, CVE-2023-6129, CVE-2023-6237, CVE-2024-0727: Multiple vulnerabilities in OpenSSL

  - CVE-2024-22019: Reading unprocessed HTTP request with unbounded chunk extension allows DoS
  attacks

  - CVE-2023-46809: Node.js is vulnerable to the Marvin Attack (timing variant of the
  Bleichenbacher attack against PKCS#1 v1.5 padding)

  - CVE-2024-22025: Denial of Service by resource exhaustion in fetch() brotli decoding

  - CVE-2024-24758: Vulnerability in undici

  - CVE-2024-24806: Vulnerability in libuv");

  script_tag(name:"affected", value:"Node.js version 18.x.");

  script_tag(name:"solution", value:"Update to version 18.19.1 or later.");

  script_xref(name:"URL", value:"https://nodejs.org/en/blog/vulnerability/february-2024-security-releases");
  script_xref(name:"URL", value:"https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V18.md#18.19.1");
  script_xref(name:"URL", value:"https://github.com/nodejs/undici/security/advisories/GHSA-3787-6prv-h9w3");
  script_xref(name:"URL", value:"https://mta.openssl.org/pipermail/openssl-announce/2023-November/000284.html");
  script_xref(name:"URL", value:"https://mta.openssl.org/pipermail/openssl-announce/2024-January/000288.html");
  script_xref(name:"URL", value:"https://mta.openssl.org/pipermail/openssl-announce/2024-January/000289.html");
  script_xref(name:"URL", value:"https://mta.openssl.org/pipermail/openssl-announce/2024-January/000292.html");

  exit(0);
}

include("host_details.inc");
include("version_func.inc");

if (isnull(port = get_app_port(cpe: CPE)))
  exit(0);

if (!infos = get_app_version_and_location(cpe: CPE, port: port, exit_no_version: TRUE))
  exit(0);

version = infos["version"];
location = infos["location"];

if (version_in_range_exclusive(version: version, test_version_lo: "18.0", test_version_up: "18.19.1")) {
  report = report_fixed_ver(installed_version: version, fixed_version: "18.19.1", install_path: location);
  security_message(port: port, data: report);
  exit(0);
}

exit(99);

7.3 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

LOW

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L

6 Medium

AI Score

Confidence

High

0.002 Low

EPSS

Percentile

61.2%