Node.js Multiple Vulnerabilities (September 2020 Security Releases)

Medium Nessus Plugin ID 140795

New! Vulnerability Priority Rating (VPR)

Tenable calculates a dynamic VPR for every vulnerability. VPR combines vulnerability information with threat intelligence and machine learning algorithms to predict which vulnerabilities are most likely to be exploited in attacks. Read more about what VPR is and how it's different from CVSS.

VPR Score: 5.9

Synopsis

Node.js - JavaScript run-time environment is affected by multiple vulnerabilities.

Description

The version of Node.js installed on the remote host is prior to 10.22.1 or 12.18.4 or 14.11.0. It is, therefore, affected by multiple vulnerabilities as referenced in the september-2020-security-releases advisory.

- Affected Node.js versions converted carriage returns in HTTP request headers to a hyphen before parsing.
This can lead to HTTP Request Smuggling as it is a non-standard interpretation of the header.
(CVE-2020-8201)

- Node.js is vulnerable to HTTP denial of service (DOS) attacks based on delayed requests submission which can make the server unable to accept new connections. The fix a new http.Server option called requestTimeout with a default value of 0 which means it is disabled by default. This should be set when Node.js is used as an edge server. (CVE-2020-8251)

- libuv's realpath implementation incorrectly determined the buffer size which can result in a buffer overflow if the resolved path is longer than 256 bytes. (CVE-2020-8252)

Note that Nessus has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to Node.js version 10.22.1 / 12.18.4 / 14.11.0 or later.

See Also

http://www.nessus.org/u?64b99430

Plugin Details

Severity: Medium

ID: 140795

File Name: nodejs_2020_sep.nasl

Version: 1.7

Type: local

Agent: windows, macosx, unix

Family: Misc.

Published: 2020/09/25

Updated: 2020/12/18

Dependencies: 142903, 110839

Risk Information

Risk Factor: Medium

VPR Score: 5.9

CVSS Score Source: CVE-2020-8201

CVSS v2.0

Base Score: 5.8

Temporal Score: 4.3

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:N

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

CVSS v3.0

Base Score: 7.4

Temporal Score: 6.4

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: cpe:/a:nodejs:node.js

Required KB Items: installed_sw/Node.js

Exploit Ease: No known exploits are available

Patch Publication Date: 2020/09/15

Vulnerability Publication Date: 2020/09/15

Reference Information

CVE: CVE-2020-8201, CVE-2020-8251, CVE-2020-8252

IAVB: 2020-B-0057