| Source | Link |
|---|---|
| nessus | www.nessus.org/u |
| cve | www.cve.mitre.org/cgi-bin/cvename.cgi |
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##
include('compat.inc');
if (description)
{
script_id(243568);
script_version("1.1");
script_set_attribute(attribute:"plugin_modification_date", value:"2025/08/05");
script_cve_id("CVE-2025-23084");
script_xref(name:"IAVB", value:"2025-B-0012-S");
script_name(english:"Node.js 18.x < 18.20.6 / 20.x < 20.18.2 / 22.x < 22.13.1 / 23.x < 23.6.1 Multiple Vulnerabilities (Tuesday, January 21, 2025 Security Releases).");
script_set_attribute(attribute:"synopsis", value:
"Node.js - JavaScript run-time environment is affected by multiple vulnerabilities.");
script_set_attribute(attribute:"description", value:
"The version of Node.js installed on the remote host is prior to 18.20.6, 20.18.2, 22.13.1, 23.6.1. It is, therefore,
affected by multiple vulnerabilities as referenced in the Tuesday, January 21, 2025 Security Releases advisory.
- A vulnerability has been identified in Node.js, specifically affecting the handling of drive names in the
Windows environment. Certain Node.js functions do not treat drive names as special on Windows. As a
result, although Node.js assumes a relative path, it actually refers to the root directory. On Windows, a
path that does not start with the file separator is treated as relative to the current directory. This
vulnerability affects Windows users of path.join API. Impact: Thank you, to taise for reporting this
vulnerability and thank you tniessen for fixing it. (CVE-2025-23084)
Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version
number.");
# https://nodejs.org/en/blog/vulnerability/january-2025-security-releases/
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?68bc9901");
script_set_attribute(attribute:"solution", value:
"Upgrade to Node.js version 18.20.6 / 20.18.2 / 22.13.1 / 23.6.1 or later.");
script_set_attribute(attribute:"agent", value:"all");
script_set_cvss_base_vector("CVSS2#AV:L/AC:L/Au:S/C:C/I:P/A:N");
script_set_cvss3_base_vector("CVSS:3.0/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:L/A:N");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2025-23084");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_set_attribute(attribute:"vuln_publication_date", value:"2025/01/21");
script_set_attribute(attribute:"patch_publication_date", value:"2025/01/21");
script_set_attribute(attribute:"plugin_publication_date", value:"2025/08/05");
script_set_attribute(attribute:"plugin_type", value:"local");
script_set_attribute(attribute:"cpe", value:"cpe:/a:nodejs:node.js");
script_set_attribute(attribute:"generated_plugin", value:"current");
script_set_attribute(attribute:"stig_severity", value:"I");
script_set_attribute(attribute:"thorough_tests", value:"true");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Misc.");
script_copyright(english:"This script is Copyright (C) 2025 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("nodejs_win_installed.nbin");
script_require_keys("installed_sw/Node.js");
exit(0);
}
include('vcf.inc');
var win_local = FALSE;
var os = get_kb_item_or_exit('Host/OS');
if ('windows' >< tolower(os)) win_local = TRUE;
else audit(AUDIT_OS_NOT, 'affected');
var app_info = vcf::get_app_info(app:'Node.js', win_local:win_local);
vcf::check_granularity(app_info:app_info, sig_segments:3);
vcf::check_all_backporting(app_info:app_info);
var constraints = [
{ 'min_version' : '18.0.0', 'fixed_version' : '18.20.6' },
{ 'min_version' : '20.0.0', 'fixed_version' : '20.18.2' },
{ 'min_version' : '22.0.0', 'fixed_version' : '22.13.1' },
{ 'min_version' : '23.0.0', 'fixed_version' : '23.6.1' }
];
vcf::check_version_and_report(
app_info:app_info,
constraints:constraints,
severity:SECURITY_WARNING
);
Data
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation