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 — deps: define OPENSSLDIR and ENGINESDIR explicitly by shigeki · Pull Request #29455 · nodejs/node

Conversation

@shigeki

@shigeki shigeki commented Sep 5, 2019 •
edited by sam-github
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

According to CVE-2019-1552(*), it is encouraged to change OPENSSLDIR from the default of /usr/local/ssl to a privileged directory on Windows. "C:\Program Files\Common Files\SSL" is set as it is the default path in OpenSSL-1.1.1.

This is also described in openssl/openssl@d333eba for the forthcoming release of OpenSSL-1.0.2t.

It breaks the compatibility of the OPENSSLDIR path with the previous v8 LTS releases. For v8 LTS will be ended after 4 months and its severity is LOW, I do not mind if this is not fixed.

(*) https://www.openssl.org/news/secadv/20190730.txt

Fixes: #29445

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Sorry, something went wrong.

Uh oh!

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

Trott reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@shigeki
deps: define OPENSSLDIR and ENGINESDIR explicitly
d768b62
According to CVE-2019-1552(*), it is encouraged to change OPENSSLDIR
from the default of /usr/local/ssl to a privileged directory on
Windows. "C:\Program Files\Common Files\SSL" is set as it is the
default path in OpenSSL-1.1.1.

(*) https://www.openssl.org/news/secadv/20190730.txt

Fixes: nodejs#29445
@shigeki shigeki added openssl Issues and PRs related to the OpenSSL dependency. land-on-v8.x labels Sep 5, 2019
@nodejs-github-bot nodejs-github-bot added the v8.x label Sep 5, 2019
This was referenced Sep 5, 2019
OpenSSL sec releases upcoming #29445
Closed
deps: fix OPENSSLDIR on Windows #29456
Closed
@shigeki shigeki removed the land-on-v8.x label Sep 5, 2019
@sam-github

sam-github commented Sep 5, 2019

Copy link
Copy Markdown
Contributor

@nodejs/tsc opinions? @nodejs/lts ?

I'm OK with following @shigeki's advice: don't fix, its low priority and on an almost EOL release line.

@nodejs/platform-windows , you should take careful note -- this is specific to Windows, do you have an opinion?

Trott reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

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

@sam-github sam-github added the tsc-agenda Issues and PRs to discuss during Technical Steering Committee meetings. label Sep 5, 2019
@mhdawson mhdawson mentioned this pull request Sep 9, 2019
Node.js Foundation Technical Steering Committee (TSC) Meeting 2019-09-11 nodejs/TSC#753
Closed
@mhdawson

mhdawson commented Sep 9, 2019

Copy link
Copy Markdown
Member

I'm OK with following @shigeki's advice as well.

Once concern is what happens if you upgrade from an earlier version and had config files in /usr/local/ssl. Would you run without the configuration you expected and not know it?

Maybe we should look to see if there is config in /usr/local/ssl and warn that it's not going to be used in the current version?

All reactions

Sorry, something went wrong.

Uh oh!

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

@mhdawson

mhdawson commented Sep 9, 2019

Copy link
Copy Markdown
Member

I'm OK with following @shigeki's advice: don't fix, its low priority and on an almost EOL release line.

All reactions

Sorry, something went wrong.

Uh oh!

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

@shigeki

shigeki commented Sep 11, 2019

Copy link
Copy Markdown
Contributor Author

Once concern is what happens if you upgrade from an earlier version and had config files in /usr/local/ssl. Would you run without the configuration you expected and not know it?

It depends. openssl.cnf can change various default values such as TLS versions and ciphers. Some changes might be known to a user but some might not.

Maybe we should look to see if there is config in /usr/local/ssl and warn that it's not going to be used in the current version?

/usr/local/ssl has no problems if it is protected by the privileged user. Node-v10 and later had a bug of the default path setting on Windows. No one would use it.

All reactions

Sorry, something went wrong.

Uh oh!

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

@Trott Trott removed the tsc-agenda Issues and PRs to discuss during Technical Steering Committee meetings. label Sep 11, 2019
@BethGriggs

BethGriggs commented Sep 26, 2019

Copy link
Copy Markdown
Member

It looks like we're agreeing to not land this change in v8.x?
Just as an FYI, the final scheduled release of v8.x is due to go out on 8th Oct (#29617).

sam-github reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

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

@shigeki

shigeki commented Sep 27, 2019

Copy link
Copy Markdown
Contributor Author

Close this for we agreed not to land this.

All reactions

Sorry, something went wrong.

Uh oh!

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

@shigeki shigeki closed this Sep 27, 2019
Trott pushed a commit to Trott/io.js that referenced this pull request Dec 6, 2019
@shigeki @Trott
deps: fix OPENSSLDIR on Windows
eea5bb4
Backslashes and spaces are need to be escaped to define OPENSSLDIR to
"C:\Program Files\Common Files\SSL".

PR-URL: nodejs#29456
Refs: nodejs#29455
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Sam Roberts <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
targos pushed a commit that referenced this pull request Dec 9, 2019
@shigeki @targos
deps: fix OPENSSLDIR on Windows
4588606
Backslashes and spaces are need to be escaped to define OPENSSLDIR to
"C:\Program Files\Common Files\SSL".

PR-URL: #29456
Refs: #29455
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Sam Roberts <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
targos pushed a commit that referenced this pull request Jan 13, 2020
@shigeki @targos
deps: fix OPENSSLDIR on Windows
b27b420
Backslashes and spaces are need to be escaped to define OPENSSLDIR to
"C:\Program Files\Common Files\SSL".

PR-URL: #29456
Refs: #29455
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Sam Roberts <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
BethGriggs pushed a commit that referenced this pull request Feb 6, 2020
@shigeki @BethGriggs
deps: fix OPENSSLDIR on Windows
ff82ccb
Backslashes and spaces are need to be escaped to define OPENSSLDIR to
"C:\Program Files\Common Files\SSL".

PR-URL: #29456
Refs: #29455
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Sam Roberts <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

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

Assignees

No one assigned

Labels

openssl Issues and PRs related to the OpenSSL dependency.

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

@shigeki @sam-github @mhdawson @BethGriggs @Trott @nodejs-github-bot
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.