CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
AI Score
Confidence
High
EPSS
Percentile
81.1%
io.js is prone to a denial of service (DoS) vulnerability.
# SPDX-FileCopyrightText: 2015 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:iojs:io.js";
if(description)
{
script_oid("1.3.6.1.4.1.25623.1.0.805944");
script_version("2024-02-15T05:05:40+0000");
script_cve_id("CVE-2015-5380");
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:"last_modification", value:"2024-02-15 05:05:40 +0000 (Thu, 15 Feb 2024)");
script_tag(name:"creation_date", value:"2015-08-04 18:22:15 +0530 (Tue, 04 Aug 2015)");
script_tag(name:"qod_type", value:"registry");
script_name("io.js 'V8 utf-8 decoder' Denial Of Service Vulnerability - Windows");
script_tag(name:"summary", value:"io.js is prone to a denial of service (DoS) vulnerability.");
script_tag(name:"vuldetect", value:"Checks if a vulnerable version is present on the target host.");
script_tag(name:"insight", value:"The flaw is due to an error in
'Utf8DecoderBase::WriteUtf16Slow' function in unicode-decoder.cc within Google
V8 which does not verify that there is memory available for a UTF-16 surrogate
pair.");
script_tag(name:"impact", value:"Successful exploitation will allow remote
attackers to conduct denial of service attack.");
script_tag(name:"affected", value:"io.js before 1.8.3 and 2.x before 2.3.3");
script_tag(name:"solution", value:"Upgrade to io.js version 1.8.3 or 2.3.3 or
later.");
script_tag(name:"solution_type", value:"VendorFix");
script_xref(name:"URL", value:"https://medium.com/node-js-javascript/important-security-upgrades-for-node-js-and-io-js-8ac14ece5852");
script_xref(name:"URL", value:"http://www.securityfocus.com/bid/75556");
script_copyright("Copyright (C) 2015 Greenbone AG");
script_category(ACT_GATHER_INFO);
script_family("Denial of Service");
script_dependencies("gb_iojs_detect_win.nasl");
script_mandatory_keys("iojs/Win/Installed");
script_xref(name:"URL", value:"https://iojs.org/en/index.html");
exit(0);
}
include("host_details.inc");
include("version_func.inc");
if(!iojsVer = get_app_version(cpe:CPE)){
exit(0);
}
if(version_is_less(version:iojsVer, test_version:"1.8.3"))
{
VULN =TRUE;
Fix = "1.8.3";
}
if(version_in_range(version:iojsVer, test_version:"2.0", test_version2:"2.3.2"))
{
VULN =TRUE;
Fix = "2.3.3";
}
if(VULN)
{
report = 'Installed version: ' + iojsVer + '\n' +
'Fixed version: ' + Fix + '\n';
security_message(data:report);
exit(0);
}