All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/nghttp2: security bump to version 1.39.2
@ 2019-09-12 19:43 Peter Korsgaard
  2019-09-12 19:43 ` [Buildroot] [PATCH 2/2] package/nodejs: security bump to version v10.16.3 Peter Korsgaard
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Peter Korsgaard @ 2019-09-12 19:43 UTC (permalink / raw)
  To: buildroot

Fixes the following security issues:

CVE-2019-9511: Data Dribble
CVE-2019-9513: Resource Loop

For details, see the advisory:
https://nghttp2.org/blog/2019/08/19/nghttp2-v1-39-2/

Notice that libnghttp2 itself is not affected by these vulnerabilities, only
nghttpx and nghttpd (which are currently not built).

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/nghttp2/nghttp2.hash | 2 +-
 package/nghttp2/nghttp2.mk   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/nghttp2/nghttp2.hash b/package/nghttp2/nghttp2.hash
index a56f56f222..e0512e891b 100644
--- a/package/nghttp2/nghttp2.hash
+++ b/package/nghttp2/nghttp2.hash
@@ -1,3 +1,3 @@
 # Locally calculated
-sha256 760981ab5703d3ed185eccb322321d379453974357a3263971a928c2879a43bf  nghttp2-1.37.0.tar.gz
+sha256 fc820a305e2f410fade1a3260f09229f15c0494fc089b0100312cd64a33a38c0  nghttp2-1.39.2.tar.gz
 sha256 6b94f3abc1aabd0c72a7c7d92a77f79dda7c8a0cb3df839a97890b4116a2de2a  COPYING
diff --git a/package/nghttp2/nghttp2.mk b/package/nghttp2/nghttp2.mk
index 7ce28b41fc..6a5ec72847 100644
--- a/package/nghttp2/nghttp2.mk
+++ b/package/nghttp2/nghttp2.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-NGHTTP2_VERSION = 1.37.0
+NGHTTP2_VERSION = 1.39.2
 NGHTTP2_SITE = https://github.com/nghttp2/nghttp2/releases/download/v$(NGHTTP2_VERSION)
 NGHTTP2_LICENSE = MIT
 NGHTTP2_LICENSE_FILES = COPYING
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 2/2] package/nodejs: security bump to version v10.16.3
  2019-09-12 19:43 [Buildroot] [PATCH 1/2] package/nghttp2: security bump to version 1.39.2 Peter Korsgaard
@ 2019-09-12 19:43 ` Peter Korsgaard
  2019-09-25 17:58   ` Peter Korsgaard
  2019-09-13 20:33 ` [Buildroot] [PATCH 1/2] package/nghttp2: security bump to version 1.39.2 Thomas Petazzoni
  2019-09-25 17:58 ` Peter Korsgaard
  2 siblings, 1 reply; 5+ messages in thread
From: Peter Korsgaard @ 2019-09-12 19:43 UTC (permalink / raw)
  To: buildroot

Fixes the following security vulnerabilities:

- 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.
  (Discovered by Piotr Sikora of Google)

Notice that this version bump requires nghttp2 1.39.2.  It also includes an
(unconditional) embedded copy of brotli.

Update the license hash because of copyright year changes and the addition
of the MIT-style license text for large_pages and brotli.

Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
---
 package/nodejs/nodejs.hash | 6 +++---
 package/nodejs/nodejs.mk   | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/nodejs/nodejs.hash b/package/nodejs/nodejs.hash
index 6cb2cdd5b7..c7de1e637c 100644
--- a/package/nodejs/nodejs.hash
+++ b/package/nodejs/nodejs.hash
@@ -1,5 +1,5 @@
-# From https://nodejs.org/dist/v10.15.3/SHASUMS256.txt
-sha256 4e22d926f054150002055474e452ed6cbb85860aa7dc5422213a2002ed9791d5  node-v10.15.3.tar.xz
+# From https://nodejs.org/dist/v10.16.3/SHASUMS256.txt
+sha256 7bf1123d7415964775b8f81fe6ec6dd5c3c08abb42bb71dfe4409dbeeba26bbd  node-v10.16.3.tar.xz
 
 # Hash for license file
-sha256 7ab373b3671d57d91078f5345ea9486443c9ca498eb9f8cf87dee2641a6fa09d  LICENSE
+sha256 2b0fe00a83916d0290c8531db25a827e18d01e7c4bf000e9a0f2e826604ba41e  LICENSE
diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk
index 2577239e19..5a143845d1 100644
--- a/package/nodejs/nodejs.mk
+++ b/package/nodejs/nodejs.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-NODEJS_VERSION = 10.15.3
+NODEJS_VERSION = 10.16.3
 NODEJS_SOURCE = node-v$(NODEJS_VERSION).tar.xz
 NODEJS_SITE = http://nodejs.org/dist/v$(NODEJS_VERSION)
 NODEJS_DEPENDENCIES = host-python host-nodejs c-ares \
-- 
2.20.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 1/2] package/nghttp2: security bump to version 1.39.2
  2019-09-12 19:43 [Buildroot] [PATCH 1/2] package/nghttp2: security bump to version 1.39.2 Peter Korsgaard
  2019-09-12 19:43 ` [Buildroot] [PATCH 2/2] package/nodejs: security bump to version v10.16.3 Peter Korsgaard
@ 2019-09-13 20:33 ` Thomas Petazzoni
  2019-09-25 17:58 ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2019-09-13 20:33 UTC (permalink / raw)
  To: buildroot

On Thu, 12 Sep 2019 21:43:53 +0200
Peter Korsgaard <peter@korsgaard.com> wrote:

> Fixes the following security issues:
> 
> CVE-2019-9511: Data Dribble
> CVE-2019-9513: Resource Loop
> 
> For details, see the advisory:
> https://nghttp2.org/blog/2019/08/19/nghttp2-v1-39-2/
> 
> Notice that libnghttp2 itself is not affected by these vulnerabilities, only
> nghttpx and nghttpd (which are currently not built).
> 
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
> ---
>  package/nghttp2/nghttp2.hash | 2 +-
>  package/nghttp2/nghttp2.mk   | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)

Both applied to master. Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 1/2] package/nghttp2: security bump to version 1.39.2
  2019-09-12 19:43 [Buildroot] [PATCH 1/2] package/nghttp2: security bump to version 1.39.2 Peter Korsgaard
  2019-09-12 19:43 ` [Buildroot] [PATCH 2/2] package/nodejs: security bump to version v10.16.3 Peter Korsgaard
  2019-09-13 20:33 ` [Buildroot] [PATCH 1/2] package/nghttp2: security bump to version 1.39.2 Thomas Petazzoni
@ 2019-09-25 17:58 ` Peter Korsgaard
  2 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2019-09-25 17:58 UTC (permalink / raw)
  To: buildroot

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

 > Fixes the following security issues:
 > CVE-2019-9511: Data Dribble
 > CVE-2019-9513: Resource Loop

 > For details, see the advisory:
 > https://nghttp2.org/blog/2019/08/19/nghttp2-v1-39-2/

 > Notice that libnghttp2 itself is not affected by these vulnerabilities, only
 > nghttpx and nghttpd (which are currently not built).

 > Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Committed to 2019.02.x, 2019.05.x and 2019.08.x, thanks.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Buildroot] [PATCH 2/2] package/nodejs: security bump to version v10.16.3
  2019-09-12 19:43 ` [Buildroot] [PATCH 2/2] package/nodejs: security bump to version v10.16.3 Peter Korsgaard
@ 2019-09-25 17:58   ` Peter Korsgaard
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2019-09-25 17:58 UTC (permalink / raw)
  To: buildroot

>>>>> "Peter" == Peter Korsgaard <peter@korsgaard.com> writes:

 > Fixes the following security vulnerabilities:
 > - 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.
 >   (Discovered by Piotr Sikora of Google)

 > Notice that this version bump requires nghttp2 1.39.2.  It also includes an
 > (unconditional) embedded copy of brotli.

 > Update the license hash because of copyright year changes and the addition
 > of the MIT-style license text for large_pages and brotli.

 > Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Committed to 2019.05.x and 2019.08.x, thanks.

For 2019.08.x I have instead bumped to v8.16.1, which fixes the same
list of issues.

-- 
Bye, Peter Korsgaard

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-09-25 17:58 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-12 19:43 [Buildroot] [PATCH 1/2] package/nghttp2: security bump to version 1.39.2 Peter Korsgaard
2019-09-12 19:43 ` [Buildroot] [PATCH 2/2] package/nodejs: security bump to version v10.16.3 Peter Korsgaard
2019-09-25 17:58   ` Peter Korsgaard
2019-09-13 20:33 ` [Buildroot] [PATCH 1/2] package/nghttp2: security bump to version 1.39.2 Thomas Petazzoni
2019-09-25 17:58 ` Peter Korsgaard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.