GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Security releases: 6.15.0, 8.14.0, 10.14.0, 11.3.0 by rvagg · Pull Request #938 · nodejs/docker-node

Conversation

@rvagg

@rvagg rvagg commented Nov 28, 2018

Copy link
Copy Markdown
Member

Ref: https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/

I backed out this which came with update.sh:

diff --git a/chakracore/8/Dockerfile b/chakracore/8/Dockerfile
index b268bee..eab52f0 100644
--- a/chakracore/8/Dockerfile
+++ b/chakracore/8/Dockerfile
@@ -1,4 +1,4 @@
-FROM buildpack-deps:jessie
+FROM buildpack-deps:stretch

I don't want to be responsible for that change when chakracore/8 isn't touched by this yet.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@rvagg
Security releases: 6.15.0, 8.14.0, 10.14.0, 11.3.0
31f02e3
Ref: https://nodejs.org/en/blog/vulnerability/november-2018-security-releases/
@rvagg
rvagg requested review from LaurentGoderre, PeterDaveHello and chorrell and removed request for LaurentGoderre and PeterDaveHello November 28, 2018 01:33
@tianon tianon mentioned this pull request Nov 28, 2018
[security] Update Node.js for November 2018 security releases docker-library/official-images#5115
Closed
nschonni
nschonni reviewed Nov 28, 2018
View reviewed changes
Comment thread 10/slim/Dockerfile Resolved

Uh oh!

There was an error while loading. Please reload this page.

LaurentGoderre
LaurentGoderre approved these changes Nov 28, 2018
View reviewed changes
@rvagg
fixup! Security releases: 6.15.0, 8.14.0, 10.14.0, 11.3.0
a642fdc
@rvagg
rvagg merged commit 0aae692 into master Nov 28, 2018
@rvagg
rvagg deleted the rvagg/nov-2018-sec branch November 28, 2018 02:19
@tianon

tianon commented Nov 28, 2018

Copy link
Copy Markdown
Contributor

Uh, this is definitely way more than it was supposed to be. This should be reverted and re-made with just the minimal changes (which I was working on a simplified version of when this merged).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tianon

tianon commented Nov 28, 2018

Copy link
Copy Markdown
Contributor

This is what I expected for this PR to be:

diff --git a/10/alpine/Dockerfile b/10/alpine/Dockerfile
index df71708..8921b4f 100644
--- a/10/alpine/Dockerfile
+++ b/10/alpine/Dockerfile
@@ -1,6 +1,6 @@
 FROM alpine:3.8
 
-ENV NODE_VERSION 10.13.0
+ENV NODE_VERSION 10.14.0
 
 RUN addgroup -g 1000 node \
     && adduser -u 1000 -G node -s /bin/sh -D node \
diff --git a/10/jessie/Dockerfile b/10/jessie/Dockerfile
index 136020c..906d3bf 100644
--- a/10/jessie/Dockerfile
+++ b/10/jessie/Dockerfile
@@ -21,7 +21,7 @@ RUN set -ex \
     gpg --batch --keyserver hkp://pgp.mit.edu:80 --recv-keys "$key" ; \
   done
 
-ENV NODE_VERSION 10.13.0
+ENV NODE_VERSION 10.14.0
 
 RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
   && case "${dpkgArch##*-}" in \
diff --git a/10/slim/Dockerfile b/10/slim/Dockerfile
index a40442e..b509d27 100644
--- a/10/slim/Dockerfile
+++ b/10/slim/Dockerfile
@@ -21,7 +21,7 @@ RUN set -ex \
     gpg --batch --keyserver hkp://pgp.mit.edu:80 --recv-keys "$key" ; \
   done
 
-ENV NODE_VERSION 10.13.0
+ENV NODE_VERSION 10.14.0
 
 RUN buildDeps='xz-utils' \
     && ARCH= && dpkgArch="$(dpkg --print-architecture)" \
diff --git a/10/stretch/Dockerfile b/10/stretch/Dockerfile
index f1519c4..8ecd535 100644
--- a/10/stretch/Dockerfile
+++ b/10/stretch/Dockerfile
@@ -21,7 +21,7 @@ RUN set -ex \
     gpg --batch --keyserver hkp://pgp.mit.edu:80 --recv-keys "$key" ; \
   done
 
-ENV NODE_VERSION 10.13.0
+ENV NODE_VERSION 10.14.0
 
 RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
   && case "${dpkgArch##*-}" in \
diff --git a/11/alpine/Dockerfile b/11/alpine/Dockerfile
index b3ba9da..bb612d2 100644
--- a/11/alpine/Dockerfile
+++ b/11/alpine/Dockerfile
@@ -1,6 +1,6 @@
 FROM alpine:3.8
 
-ENV NODE_VERSION 11.2.0
+ENV NODE_VERSION 11.3.0
 
 RUN addgroup -g 1000 node \
     && adduser -u 1000 -G node -s /bin/sh -D node \
diff --git a/11/slim/Dockerfile b/11/slim/Dockerfile
index 05f8464..1c72a09 100644
--- a/11/slim/Dockerfile
+++ b/11/slim/Dockerfile
@@ -3,7 +3,7 @@ FROM debian:stretch-slim
 RUN groupadd --gid 1000 node \
   && useradd --uid 1000 --gid node --shell /bin/bash --create-home node
 
-ENV NODE_VERSION 11.2.0
+ENV NODE_VERSION 11.3.0
 
 RUN buildDeps='xz-utils' \
     && ARCH= && dpkgArch="$(dpkg --print-architecture)" \
diff --git a/11/stretch/Dockerfile b/11/stretch/Dockerfile
index 699ea2b..b51672a 100644
--- a/11/stretch/Dockerfile
+++ b/11/stretch/Dockerfile
@@ -3,7 +3,7 @@ FROM buildpack-deps:stretch
 RUN groupadd --gid 1000 node \
   && useradd --uid 1000 --gid node --shell /bin/bash --create-home node
 
-ENV NODE_VERSION 11.2.0
+ENV NODE_VERSION 11.3.0
 
 RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
   && case "${dpkgArch##*-}" in \
diff --git a/6/alpine/Dockerfile b/6/alpine/Dockerfile
index 319aa99..dca3ebd 100644
--- a/6/alpine/Dockerfile
+++ b/6/alpine/Dockerfile
@@ -1,6 +1,6 @@
 FROM alpine:3.4
 
-ENV NODE_VERSION 6.14.4
+ENV NODE_VERSION 6.15.0
 
 RUN addgroup -g 1000 node \
     && adduser -u 1000 -G node -s /bin/sh -D node \
diff --git a/6/jessie/Dockerfile b/6/jessie/Dockerfile
index 88aa054..905eef5 100644
--- a/6/jessie/Dockerfile
+++ b/6/jessie/Dockerfile
@@ -21,7 +21,7 @@ RUN set -ex \
     gpg --batch --keyserver hkp://pgp.mit.edu:80 --recv-keys "$key" ; \
   done
 
-ENV NODE_VERSION 6.14.4
+ENV NODE_VERSION 6.15.0
 
 RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
   && case "${dpkgArch##*-}" in \
diff --git a/6/onbuild/Dockerfile b/6/onbuild/Dockerfile
index 870322a..cc0b0cf 100644
--- a/6/onbuild/Dockerfile
+++ b/6/onbuild/Dockerfile
@@ -1,4 +1,4 @@
-FROM node:6.14.4-jessie
+FROM node:6.15.0-jessie
 
 RUN mkdir -p /usr/src/app
 WORKDIR /usr/src/app
diff --git a/6/slim/Dockerfile b/6/slim/Dockerfile
index 10a8e81..0ce6682 100644
--- a/6/slim/Dockerfile
+++ b/6/slim/Dockerfile
@@ -21,7 +21,7 @@ RUN set -ex \
     gpg --batch --keyserver hkp://pgp.mit.edu:80 --recv-keys "$key" ; \
   done
 
-ENV NODE_VERSION 6.14.4
+ENV NODE_VERSION 6.15.0
 
 RUN buildDeps='xz-utils' \
     && ARCH= && dpkgArch="$(dpkg --print-architecture)" \
diff --git a/6/stretch/Dockerfile b/6/stretch/Dockerfile
index b86bf27..da636cc 100644
--- a/6/stretch/Dockerfile
+++ b/6/stretch/Dockerfile
@@ -21,7 +21,7 @@ RUN set -ex \
     gpg --batch --keyserver hkp://pgp.mit.edu:80 --recv-keys "$key" ; \
   done
 
-ENV NODE_VERSION 6.14.4
+ENV NODE_VERSION 6.15.0
 
 RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
   && case "${dpkgArch##*-}" in \
diff --git a/8/alpine/Dockerfile b/8/alpine/Dockerfile
index 5b8de8d..ce0d274 100644
--- a/8/alpine/Dockerfile
+++ b/8/alpine/Dockerfile
@@ -1,6 +1,6 @@
 FROM alpine:3.8
 
-ENV NODE_VERSION 8.13.0
+ENV NODE_VERSION 8.14.0
 
 RUN addgroup -g 1000 node \
     && adduser -u 1000 -G node -s /bin/sh -D node \
diff --git a/8/jessie/Dockerfile b/8/jessie/Dockerfile
index ae8b16a..192d64b 100644
--- a/8/jessie/Dockerfile
+++ b/8/jessie/Dockerfile
@@ -3,7 +3,7 @@ FROM buildpack-deps:jessie
 RUN groupadd --gid 1000 node \
   && useradd --uid 1000 --gid node --shell /bin/bash --create-home node
 
-ENV NODE_VERSION 8.13.0
+ENV NODE_VERSION 8.14.0
 
 RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
   && case "${dpkgArch##*-}" in \
diff --git a/8/onbuild/Dockerfile b/8/onbuild/Dockerfile
index 37fbfc7..2e18ece 100644
--- a/8/onbuild/Dockerfile
+++ b/8/onbuild/Dockerfile
@@ -1,4 +1,4 @@
-FROM node:8.13.0-stretch
+FROM node:8.14.0-stretch
 
 RUN mkdir -p /usr/src/app
 WORKDIR /usr/src/app
diff --git a/8/slim/Dockerfile b/8/slim/Dockerfile
index 8f3fc75..d30c786 100644
--- a/8/slim/Dockerfile
+++ b/8/slim/Dockerfile
@@ -3,7 +3,7 @@ FROM debian:stretch-slim
 RUN groupadd --gid 1000 node \
   && useradd --uid 1000 --gid node --shell /bin/bash --create-home node
 
-ENV NODE_VERSION 8.13.0
+ENV NODE_VERSION 8.14.0
 
 RUN buildDeps='xz-utils' \
     && ARCH= && dpkgArch="$(dpkg --print-architecture)" \
diff --git a/8/stretch/Dockerfile b/8/stretch/Dockerfile
index 85d7e5a..e15dfc3 100644
--- a/8/stretch/Dockerfile
+++ b/8/stretch/Dockerfile
@@ -3,7 +3,7 @@ FROM buildpack-deps:stretch
 RUN groupadd --gid 1000 node \
   && useradd --uid 1000 --gid node --shell /bin/bash --create-home node
 
-ENV NODE_VERSION 8.13.0
+ENV NODE_VERSION 8.14.0
 
 RUN ARCH= && dpkgArch="$(dpkg --print-architecture)" \
   && case "${dpkgArch##*-}" in \
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

tianon added a commit to tianon/docker-node that referenced this pull request Nov 28, 2018
@tianon
Revert "Security releases: 6.15.0, 8.14.0, 10.14.0, 11.3.0 (nodejs#938)"
d2cab2e
This reverts commit 0aae692.
@tianon tianon mentioned this pull request Nov 28, 2018
Revert and re-apply security bump with ONLY version bumps #939
Merged
@rvagg

rvagg commented Nov 28, 2018

Copy link
Copy Markdown
Member Author

@nodejs/docker what did I get wrong here? I ran ./update.sh -s as per https://github.com/nodejs/security-wg/blob/master/processes/security_release_process.md but it's pulled in a bunch of extra cruft.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

SimenB pushed a commit that referenced this pull request Nov 28, 2018
@tianon @SimenB
Revert and re-apply security bump with ONLY version bumps (#939)
ed3e882
This is the result of applying a revert of #938 (d2cab2e) followed by applying my simplified "bump-only" patch from #938 (comment) (a1ad45a).
@SimenB

SimenB commented Nov 28, 2018 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

@rvagg I don't think you did anything wrong.

  • The keys change is because we never ran the update script after keys: add new keys and remove old keys #925
  • The shuffling of the env declaration and gpg download is the same that happened for v8 in Update [email protected] to 8.13.0 w/ Yarn v1.12.3 and Stretch based images #921. @PeterDaveHello thoughts on that one? EDIT: No that doesn't seem right... I'm actually not sure why that happened, the changes in this PR makes it match the template, but that's been unchanged for quite some time. We should dig into that

So I think the changes in this PR are actually more correct, but they are more noisy than they should be since the files were not synced with the update script before the version bump. That's on us, sorry!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@yosifkit yosifkit yosifkit left review comments
@nschonni nschonni nschonni left review comments
@LaurentGoderre LaurentGoderre LaurentGoderre approved these changes
@PeterDaveHello PeterDaveHello Awaiting requested review from PeterDaveHello
@chorrell chorrell Awaiting requested review from chorrell

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

6 participants

@rvagg @tianon @SimenB @yosifkit @LaurentGoderre @nschonni
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.