All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/nodejs: security bump to version 16.18.1
@ 2022-11-19 10:19 Peter Korsgaard
  2022-11-20  9:02 ` Yann E. MORIN
  2022-11-23  9:45 ` Peter Korsgaard
  0 siblings, 2 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-11-19 10:19 UTC (permalink / raw)
  To: buildroot; +Cc: Martin Bark, Daniel Price

Fixes the following security issue:

DNS rebinding in --inspect via invalid octal IP address (Medium) (CVE-2022-43548)

The Node.js rebinding protector for --inspect still allows invalid IP
address, specifically, the octal format.  An example of an octal IP address
is 1.09.0.0, the 09 octet is invalid because 9 is not a number in the base 8
number system.  Browsers such as Firefox (tested on latest version m105)
will still attempt to resolve this invalid octal address via DNS.  When
combined with an active --inspect session, such as when using VSCode, an
attacker can perform DNS rebinding and execute arbitrary code

Update license hash for an update of base64 (MIT license) and a change in
copyright year:

https://github.com/nodejs/node/commit/8ea9a71b15a953cd0936f7e6aae84c62873a77b5
https://github.com/nodejs/node/commit/9f14dc1a8f43a9f3755c673009378b798cbdd73b

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 83e4c271ce..4408782248 100644
--- a/package/nodejs/nodejs.hash
+++ b/package/nodejs/nodejs.hash
@@ -1,5 +1,5 @@
-# From https://nodejs.org/dist/v16.17.1/SHASUMS256.txt
-sha256  6721feb4152d56d2c6b358ce397abd5a7f1daf09ee2e25c5021b9b4d3f86a330  node-v16.17.1.tar.xz
+# From https://nodejs.org/dist/v16.18.1/SHASUMS256.txt
+sha256  1f8051a88f86f42064f4415fe7a980e59b0a502ecc8def583f6303bc4d445238  node-v16.18.1.tar.xz
 
 # Hash for license file
-sha256  69090e865afa7c62715b97f0712632d2923bd7a5faba91f94e4e75a2f9219d5e  LICENSE
+sha256  0bec08634ba79b5404f6b7f92ea850f3c2a06e27e6f83f2267e4f5e55ae33334  LICENSE
diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk
index 29a10b900f..367d5d2058 100644
--- a/package/nodejs/nodejs.mk
+++ b/package/nodejs/nodejs.mk
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-NODEJS_VERSION = 16.17.1
+NODEJS_VERSION = 16.18.1
 NODEJS_SOURCE = node-v$(NODEJS_VERSION).tar.xz
 NODEJS_SITE = http://nodejs.org/dist/v$(NODEJS_VERSION)
 NODEJS_DEPENDENCIES = \
-- 
2.30.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/nodejs: security bump to version 16.18.1
  2022-11-19 10:19 [Buildroot] [PATCH] package/nodejs: security bump to version 16.18.1 Peter Korsgaard
@ 2022-11-20  9:02 ` Yann E. MORIN
  2022-11-23  9:45 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Yann E. MORIN @ 2022-11-20  9:02 UTC (permalink / raw)
  To: Peter Korsgaard; +Cc: Daniel Price, Martin Bark, buildroot

Peter, All,

On 2022-11-19 11:19 +0100, Peter Korsgaard spake thusly:
> Fixes the following security issue:
> 
> DNS rebinding in --inspect via invalid octal IP address (Medium) (CVE-2022-43548)
> 
> The Node.js rebinding protector for --inspect still allows invalid IP
> address, specifically, the octal format.  An example of an octal IP address
> is 1.09.0.0, the 09 octet is invalid because 9 is not a number in the base 8
> number system.  Browsers such as Firefox (tested on latest version m105)
> will still attempt to resolve this invalid octal address via DNS.  When
> combined with an active --inspect session, such as when using VSCode, an
> attacker can perform DNS rebinding and execute arbitrary code
> 
> Update license hash for an update of base64 (MIT license) and a change in
> copyright year:
> 
> https://github.com/nodejs/node/commit/8ea9a71b15a953cd0936f7e6aae84c62873a77b5
> https://github.com/nodejs/node/commit/9f14dc1a8f43a9f3755c673009378b798cbdd73b
> 
> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  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 83e4c271ce..4408782248 100644
> --- a/package/nodejs/nodejs.hash
> +++ b/package/nodejs/nodejs.hash
> @@ -1,5 +1,5 @@
> -# From https://nodejs.org/dist/v16.17.1/SHASUMS256.txt
> -sha256  6721feb4152d56d2c6b358ce397abd5a7f1daf09ee2e25c5021b9b4d3f86a330  node-v16.17.1.tar.xz
> +# From https://nodejs.org/dist/v16.18.1/SHASUMS256.txt
> +sha256  1f8051a88f86f42064f4415fe7a980e59b0a502ecc8def583f6303bc4d445238  node-v16.18.1.tar.xz
>  
>  # Hash for license file
> -sha256  69090e865afa7c62715b97f0712632d2923bd7a5faba91f94e4e75a2f9219d5e  LICENSE
> +sha256  0bec08634ba79b5404f6b7f92ea850f3c2a06e27e6f83f2267e4f5e55ae33334  LICENSE
> diff --git a/package/nodejs/nodejs.mk b/package/nodejs/nodejs.mk
> index 29a10b900f..367d5d2058 100644
> --- a/package/nodejs/nodejs.mk
> +++ b/package/nodejs/nodejs.mk
> @@ -4,7 +4,7 @@
>  #
>  ################################################################################
>  
> -NODEJS_VERSION = 16.17.1
> +NODEJS_VERSION = 16.18.1
>  NODEJS_SOURCE = node-v$(NODEJS_VERSION).tar.xz
>  NODEJS_SITE = http://nodejs.org/dist/v$(NODEJS_VERSION)
>  NODEJS_DEPENDENCIES = \
> -- 
> 2.30.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH] package/nodejs: security bump to version 16.18.1
  2022-11-19 10:19 [Buildroot] [PATCH] package/nodejs: security bump to version 16.18.1 Peter Korsgaard
  2022-11-20  9:02 ` Yann E. MORIN
@ 2022-11-23  9:45 ` Peter Korsgaard
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Korsgaard @ 2022-11-23  9:45 UTC (permalink / raw)
  To: buildroot; +Cc: Martin Bark, Daniel Price

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

 > Fixes the following security issue:
 > DNS rebinding in --inspect via invalid octal IP address (Medium) (CVE-2022-43548)

 > The Node.js rebinding protector for --inspect still allows invalid IP
 > address, specifically, the octal format.  An example of an octal IP address
 > is 1.09.0.0, the 09 octet is invalid because 9 is not a number in the base 8
 > number system.  Browsers such as Firefox (tested on latest version m105)
 > will still attempt to resolve this invalid octal address via DNS.  When
 > combined with an active --inspect session, such as when using VSCode, an
 > attacker can perform DNS rebinding and execute arbitrary code

 > Update license hash for an update of base64 (MIT license) and a change in
 > copyright year:

 > https://github.com/nodejs/node/commit/8ea9a71b15a953cd0936f7e6aae84c62873a77b5
 > https://github.com/nodejs/node/commit/9f14dc1a8f43a9f3755c673009378b798cbdd73b

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

Committed to 2022.08.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-11-23  9:45 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-19 10:19 [Buildroot] [PATCH] package/nodejs: security bump to version 16.18.1 Peter Korsgaard
2022-11-20  9:02 ` Yann E. MORIN
2022-11-23  9:45 ` 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.