pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/nodejs8 nodejs8: updated to 8.16.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/19ab378028c1
branches:  trunk
changeset: 418331:19ab378028c1
user:      adam <adam%pkgsrc.org@localhost>
date:      Sun Nov 24 15:52:13 2019 +0000

description:
nodejs8: updated to 8.16.2

Version 8.16.2 'Carbon' (LTS):

Notable changes
deps: upgrade openssl sources to 1.0.2s


Version 8.16.1 'Carbon' (LTS):

Notable changes
This is a security release.

Node.js, as well as many other implementations of HTTP/2, have been found
vulnerable to Denial of Service attacks.
See https://github.com/Netflix/security-bulletins/blob/master/advisories/third-party/2019-002.md
for more information.

Vulnerabilities fixed:

CVE-2019-9511 ?Data Dribble?: The attacker requests a large amount of data from a specified resource over multiple streams. They manipulate window size and stream priority to force the server to 
queue the data in 1-byte chunks. Depending on how efficiently this data is queued, this can consume excess CPU, memory, or both, potentially leading to a denial of service.
CVE-2019-9512 ?Ping Flood?: The attacker sends continual pings to an HTTP/2 peer, causing the peer to build an internal queue of responses. Depending on how efficiently this data is queued, this can 
consume excess CPU, memory, or both, potentially leading to a denial of service.
CVE-2019-9513 ?Resource Loop?: The attacker creates multiple request streams and continually shuffles the priority of the streams in a way that causes substantial churn to the priority tree. This can 
consume excess CPU, potentially leading to a denial of service.
CVE-2019-9514 ?Reset Flood?: The attacker opens a number of streams and sends an invalid request over each stream that should solicit a stream of RST_STREAM frames from the peer. Depending on how the 
peer queues the RST_STREAM frames, this can consume excess memory, CPU, or both, potentially leading to a denial of service.
CVE-2019-9515 ?Settings Flood?: The attacker sends a stream of SETTINGS frames to the peer. Since the RFC requires that the peer reply with one acknowledgement per SETTINGS frame, an empty SETTINGS 
frame is almost equivalent in behavior to a ping. Depending on how efficiently this data is queued, this can consume excess CPU, memory, or both, potentially leading to a denial of service.
CVE-2019-9516 ?0-Length Headers Leak?: The attacker sends a stream of headers with a 0-length header name and 0-length header value, optionally Huffman encoded into 1-byte or greater headers. Some 
implementations allocate memory for these headers and keep the allocation alive until the session dies. This can consume excess memory, potentially leading to a denial of service.
CVE-2019-9517 ?Internal Data Buffering?: The attacker opens the HTTP/2 window so the peer can send without constraint; however, they leave the TCP window closed so the peer cannot actually write 
(many of) the bytes on the wire. The attacker then sends a stream of requests for a large response object. Depending on how the servers queue the responses, this can consume excess memory, CPU, or 
both, potentially leading to a denial of service.
CVE-2019-9518 ?Empty Frames Flood?: The attacker sends a stream of frames with an empty payload and without the end-of-stream flag. These frames can be DATA, HEADERS, CONTINUATION and/or 
PUSH_PROMISE. The peer spends time processing each frame disproportionate to attack bandwidth. This can consume excess CPU, potentially leading to a denial of service.


Version 8.16.0 'Carbon' (LTS):

Notable Changes
n-api:
add API for asynchronous functions
mark thread-safe function as stable

diffstat:

 lang/nodejs8/Makefile                          |   5 ++---
 lang/nodejs8/distinfo                          |  12 ++++++------
 lang/nodejs8/patches/patch-deps_uv_common.gypi |  10 +++++-----
 3 files changed, 13 insertions(+), 14 deletions(-)

diffs (63 lines):

diff -r 571d6f3de820 -r 19ab378028c1 lang/nodejs8/Makefile
--- a/lang/nodejs8/Makefile     Sun Nov 24 15:49:31 2019 +0000
+++ b/lang/nodejs8/Makefile     Sun Nov 24 15:52:13 2019 +0000
@@ -1,11 +1,10 @@
-# $NetBSD: Makefile,v 1.20 2019/04/03 00:32:50 ryoon Exp $
+# $NetBSD: Makefile,v 1.21 2019/11/24 15:52:13 adam Exp $
 
-DISTNAME=      node-v8.12.0
+DISTNAME=      node-v8.16.2
 
 # Stated by the changelog as of 8.2.0
 GCC_REQD+=     4.9.4
 
-PKGREVISION= 3
 .include "options.mk"
 
 CONFIGURE_ARGS+=       --with-intl=system-icu
diff -r 571d6f3de820 -r 19ab378028c1 lang/nodejs8/distinfo
--- a/lang/nodejs8/distinfo     Sun Nov 24 15:49:31 2019 +0000
+++ b/lang/nodejs8/distinfo     Sun Nov 24 15:52:13 2019 +0000
@@ -1,12 +1,12 @@
-$NetBSD: distinfo,v 1.17 2018/12/15 17:27:21 maya Exp $
+$NetBSD: distinfo,v 1.18 2019/11/24 15:52:13 adam Exp $
 
-SHA1 (node-v8.12.0.tar.gz) = c83add7809c7f36c2afb81d96cde25f1534bbe27
-RMD160 (node-v8.12.0.tar.gz) = 576590ec1bc9801a1e4fd42b95b289182f1cd1b5
-SHA512 (node-v8.12.0.tar.gz) = 69cfaf56204c9605254382ae613d36b32eb5966dfd5b0db2aee11a50f3119b38221f425df7c273efb43e453cda77d6c4681bad6f3e5c34a2a2710c5af81e937a
-Size (node-v8.12.0.tar.gz) = 30393516 bytes
+SHA1 (node-v8.16.2.tar.gz) = 8ea0035395fab52d9b90fe415258163cf1142c74
+RMD160 (node-v8.16.2.tar.gz) = 6cf3466beab47671c53665b4c50f9fad5006054d
+SHA512 (node-v8.16.2.tar.gz) = 342299910564bfa7e4d54cd6544fb3d36410a974810b636336a71115060087d05a819241cef930c056e22f8fef0b0f4d0deb185ae803101ca270351543e5f64e
+Size (node-v8.16.2.tar.gz) = 30683001 bytes
 SHA1 (patch-common.gypi) = c7fee438a564003fb3624679ce94108ab397fec0
 SHA1 (patch-deps_cares_cares.gyp) = 22b44f2ac59963f694dfe4f4585e08960b3dec32
-SHA1 (patch-deps_uv_common.gypi) = ba9caa1f6d9d6df1913d0d72a8d18ea6db0a32ff
+SHA1 (patch-deps_uv_common.gypi) = 6a94a89866b272dcab60a01fd571057acd0ccd3b
 SHA1 (patch-deps_uv_src_unix_netbsd.c) = e1b5a3c611dbd08d0918d69dcf3331630158a1bc
 SHA1 (patch-deps_v8_src_arm_cpu-arm.cc) = d0d11ac474ab109a6f40b26fa457b12d742eb48d
 SHA1 (patch-deps_v8_src_base_atomicops.h) = 552d2b7781b39b93392fd00043b1cf4cb10802da
diff -r 571d6f3de820 -r 19ab378028c1 lang/nodejs8/patches/patch-deps_uv_common.gypi
--- a/lang/nodejs8/patches/patch-deps_uv_common.gypi    Sun Nov 24 15:49:31 2019 +0000
+++ b/lang/nodejs8/patches/patch-deps_uv_common.gypi    Sun Nov 24 15:52:13 2019 +0000
@@ -1,15 +1,15 @@
-$NetBSD: patch-deps_uv_common.gypi,v 1.1 2017/11/01 12:07:31 fhajny Exp $
+$NetBSD: patch-deps_uv_common.gypi,v 1.2 2019/11/24 15:52:13 adam Exp $
 
 Add support for NetBSD.
 
---- deps/uv/common.gypi.orig   2015-03-31 22:13:01.000000000 +0000
+--- deps/uv/common.gypi.orig   2019-10-09 13:05:58.000000000 +0000
 +++ deps/uv/common.gypi
-@@ -128,7 +128,7 @@
+@@ -134,7 +134,7 @@
            }]
          ]
        }],
--      ['OS in "freebsd dragonflybsd linux openbsd solaris android"', {
-+      ['OS in "freebsd dragonflybsd linux openbsd solaris android netbsd"', {
+-      ['OS in "freebsd dragonflybsd linux openbsd solaris android aix"', {
++      ['OS in "freebsd dragonflybsd linux openbsd solaris android aix netbsd"', {
          'cflags': [ '-Wall' ],
          'cflags_cc': [ '-fno-rtti', '-fno-exceptions' ],
          'target_conditions': [



Home | Main Index | Thread Index | Old Index