Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] nodejs: security bump to version 8.11.1
@ 2018-03-31  6:11 Peter Korsgaard
  2018-03-31 15:10 ` Peter Korsgaard
  2018-04-07 17:50 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Korsgaard @ 2018-03-31  6:11 UTC (permalink / raw)
  To: buildroot

Fixes the following security issues:

- Fix for inspector DNS rebinding vulnerability (CVE-2018-7160): A malicious
  website could use a DNS rebinding attack to trick a web browser to bypass
  same-origin-policy checks and allow HTTP connections to localhost or to
  hosts on the local network, potentially to an open inspector port as a
  debugger, therefore gaining full code execution access.  The inspector now
  only allows connections that have a browser Host value of localhost or
  localhost6.

- Fix for 'path' module regular expression denial of service
  (CVE-2018-7158): A regular expression used for parsing POSIX paths could
  be used to cause a denial of service if an attacker were able to have a
  specially crafted path string passed through one of the impacted 'path'
  module functions.

- Reject spaces in HTTP Content-Length header values (CVE-2018-7159): The
  Node.js HTTP parser allowed for spaces inside Content-Length header
  values.  Such values now lead to rejected connections in the same way as
  non-numeric values.

While we are at it, also add a hash for the license file.

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

diff --git a/package/nodejs/nodejs.hash b/package/nodejs/nodejs.hash
index 4adef79dca..b3900f6a7d 100644
--- a/package/nodejs/nodejs.hash
+++ b/package/nodejs/nodejs.hash
@@ -1,2 +1,5 @@
-# From http://nodejs.org/dist/v8.10.0/SHASUMS256.txt
-sha256 b72d4e71618d6bcbd039b487b51fa7543631a4ac3331d7caf69bdf55b5b2901a  node-v8.10.0.tar.xz
+# From http://nodejs.org/dist/v8.11.1/SHASUMS256.txt
+sha256 40a6eb51ea37fafcf0cfb58786b15b99152bec672cccf861c14d1cca0ad4758a  node-v8.11.1.tar.xz
+
+# Hash for license file
+sha256 b87be6c1479ed977481115869c2dd8b6d59e5ea55aa09939d6c898242121b2f5  LICENSE
diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk
index e1dd11cef5..2642525c47 100644
--- a/package/nodejs/nodejs.mk
+++ b/package/nodejs/nodejs.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-NODEJS_VERSION = 8.10.0
+NODEJS_VERSION = 8.11.1
 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.11.0

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

* [Buildroot] [PATCH] nodejs: security bump to version 8.11.1
  2018-03-31  6:11 [Buildroot] [PATCH] nodejs: security bump to version 8.11.1 Peter Korsgaard
@ 2018-03-31 15:10 ` Peter Korsgaard
  2018-04-07 17:50 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2018-03-31 15:10 UTC (permalink / raw)
  To: buildroot

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

 > Fixes the following security issues:
 > - Fix for inspector DNS rebinding vulnerability (CVE-2018-7160): A malicious
 >   website could use a DNS rebinding attack to trick a web browser to bypass
 >   same-origin-policy checks and allow HTTP connections to localhost or to
 >   hosts on the local network, potentially to an open inspector port as a
 >   debugger, therefore gaining full code execution access.  The inspector now
 >   only allows connections that have a browser Host value of localhost or
 >   localhost6.

 > - Fix for 'path' module regular expression denial of service
 >   (CVE-2018-7158): A regular expression used for parsing POSIX paths could
 >   be used to cause a denial of service if an attacker were able to have a
 >   specially crafted path string passed through one of the impacted 'path'
 >   module functions.

 > - Reject spaces in HTTP Content-Length header values (CVE-2018-7159): The
 >   Node.js HTTP parser allowed for spaces inside Content-Length header
 >   values.  Such values now lead to rejected connections in the same way as
 >   non-numeric values.

 > While we are at it, also add a hash for the license file.

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

Committed, thanks.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] [PATCH] nodejs: security bump to version 8.11.1
  2018-03-31  6:11 [Buildroot] [PATCH] nodejs: security bump to version 8.11.1 Peter Korsgaard
  2018-03-31 15:10 ` Peter Korsgaard
@ 2018-04-07 17:50 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2018-04-07 17:50 UTC (permalink / raw)
  To: buildroot

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

 > Fixes the following security issues:
 > - Fix for inspector DNS rebinding vulnerability (CVE-2018-7160): A malicious
 >   website could use a DNS rebinding attack to trick a web browser to bypass
 >   same-origin-policy checks and allow HTTP connections to localhost or to
 >   hosts on the local network, potentially to an open inspector port as a
 >   debugger, therefore gaining full code execution access.  The inspector now
 >   only allows connections that have a browser Host value of localhost or
 >   localhost6.

 > - Fix for 'path' module regular expression denial of service
 >   (CVE-2018-7158): A regular expression used for parsing POSIX paths could
 >   be used to cause a denial of service if an attacker were able to have a
 >   specially crafted path string passed through one of the impacted 'path'
 >   module functions.

 > - Reject spaces in HTTP Content-Length header values (CVE-2018-7159): The
 >   Node.js HTTP parser allowed for spaces inside Content-Length header
 >   values.  Such values now lead to rejected connections in the same way as
 >   non-numeric values.

 > While we are at it, also add a hash for the license file.

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

Committed to 2018.02.x, thanks.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2018-04-07 17:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-31  6:11 [Buildroot] [PATCH] nodejs: security bump to version 8.11.1 Peter Korsgaard
2018-03-31 15:10 ` Peter Korsgaard
2018-04-07 17:50 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox