Rapid7 Vulnerability & Exploit Database

FreeBSD: VID-11FCFA8F-AC64-11EA-9DAB-000D3AB229D6 (CVE-2020-8174): Node.js -- June 2020 Security Releases

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

FreeBSD: VID-11FCFA8F-AC64-11EA-9DAB-000D3AB229D6 (CVE-2020-8174): Node.js -- June 2020 Security Releases

Severity
9
CVSS
(AV:N/AC:M/Au:N/C:C/I:C/A:C)
Published
06/02/2020
Created
06/16/2020
Added
06/13/2020
Modified
10/20/2020

Description

Details for this vulnerability have not been published by NIST at this point. Descriptions from software vendor advisories for this issue are provided below.

From VID-11FCFA8F-AC64-11EA-9DAB-000D3AB229D6:

Node.js reports:

Updates are now available for all supported Node.js release lines for the following issues.

TLS session reuse can lead to host certificate verification bypass (High) (CVE-2020-8172)

The 'session' event could be emitted before the 'secureConnect' event. It should not be, because the

connection may fail to be authorized. If it was saved an authorized connection could be established

later with the session ticket. Note that the https agent caches sessions, so is vulnerable to this.

The 'session' event will now only be emitted after the 'secureConnect' event, and only for authorized

connections.

HTTP/2 Large Settings Frame DoS (Low) (CVE-2020-11080)

Receiving unreasonably large HTTP/2 SETTINGS frames can consume 100% CPU to process all the settings,

blocking all other activities until complete.

The HTTP/2 session frame is limited to 32 settings by default. This can be configured if necessary

using the maxSettings option.

napi_get_value_string_*() allows various kinds of memory corruption (High) (CVE-2020-8174)

Calling napi_get_value_string_latin1(), napi_get_value_string_utf8(), or napi_get_value_string_utf16()

with a non-NULL buf, and a bufsize of 0 will cause the entire string value to be written to buf,

probably overrunning the length of the buffer.

A exploit has not been reported and it may be difficult but the following is suggested:

All users of LTS Node.js versions should update to the versions announced in this security post.

This will address the issue for any non pre-built add-on.

Maintainers who support EOL Node.js versions and/or build against a version of Node.js that did not

support N-API internally should update to use the new versions of node-addon-api 1.x and 2.x that

will be released soon after this announcement.

ICU-20958 Prevent SEGV_MAPERR in append (High) (CVE-2020-10531)

An issue was discovered in International Components for Unicode (ICU) for C/C++ through 66.1. An

integer overflow, leading to a heap-based buffer overflow, exists in the UnicodeString::doAppend()

function in common/unistr.cpp.

Fix was applied to 10.x in an abundance of caution, even though there is no known way to trigger the

overflow in 10.x.

Solution(s)

  • freebsd-upgrade-package-node
  • freebsd-upgrade-package-node10
  • freebsd-upgrade-package-node12

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;