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 — Upgrade to openssl-1.0.2b by shigeki · Pull Request #1950 · nodejs/node

Conversation

@shigeki

@shigeki shigeki commented Jun 11, 2015

Copy link
Copy Markdown
Contributor

This is an update of openssl-1.0.2a to 1.0.2b. I made

  • update all sources
  • replace all symlnk headers
  • alt cert patches no longer needed but a new floating patch of -no_rand_screen option for s_client was added.
  • config files in all platforms are not changed.
  • asm files updated for especially armv8

This is a bug fix release so that no API/ABI are changed.

CI result of https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/811/ are fine except test failures of test-cluster-worker-wait-server-close.js. They are not related to this PR.

make test-internet is also fine to confirm that alt cert path works fine.

ia32 build for Win32 was tested on my machine and I found no error except test-http-pipeline-flood.js but it is not related to this PR.

R= @bnoordhuis @indutny

Sorry, something went wrong.

Uh oh!

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

All reactions
Shigeki Ohtsu and others added 8 commits June 12, 2015 00:00
Shigeki Ohtsu
deps: upgrade openssl sources to 1.0.2b
37742d5
This just replaces all sources of openssl-1.0.2b.tar.gz
into deps/openssl/openssl
@indutny Shigeki Ohtsu
deps: fix openssl assembly error on ia32 win32
5365c74
`x86masm.pl` was mistakenly using .486 instruction set, why `cpuid` (and
perhaps others) are requiring .686 .

Fixes: nodejs#589
PR-URL: nodejs#1389
Reviewed-By: Fedor Indutny <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Shigeki Ohtsu <[email protected]>
Shigeki Ohtsu
deps: fix asm build error of openssl in x86_win32
2c45d18
See
https://mta.openssl.org/pipermail/openssl-dev/2015-February/000651.html

iojs needs to stop using masm and move to nasm or yasm on Win32.

Fixes: nodejs#589
PR-URL: nodejs#1389
Reviewed-By: Fedor Indutny <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Shigeki Ohtsu
openssl: fix keypress requirement in apps on win32
a12f8bb
Reapply b910613 .

Fixes: nodejs#589
PR-URL: nodejs#1389
Reviewed-By: Fedor Indutny <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
Shigeki Ohtsu
deps: add -no_rand_screen to openssl s_client
ef14143
In openssl s_client on Windows, RAND_screen() is invoked to initialize
random state but it takes several seconds in each connection.
This added -no_rand_screen to openssl s_client on Windows to skip
RAND_screen() and gets a better performance in the unit test of
test-tls-server-verify.
Do not enable this except to use in the unit test.

Fixes: nodejs#1461
PR-URL: nodejs#1836
Reviewed-By: Ben Noordhuis <[email protected]>
Shigeki Ohtsu
deps: replace all headers in openssl
c710e8f
Change all openssl/include/openssl/*.h to include resolved symbolic
links and openssl/crypto/opensslconf.h to refer config/opensslconf.h
Shigeki Ohtsu
deps: update asm files for openssl-1.0.2b
c6abf52
asm files are generated as
  - In `deps/openssl/asm/`, make with CC=gcc and ASM=nasm
  - In `deps/openssl/asm_obsolute/`, make with no envs for compilers
Shigeki Ohtsu
deps: update UPGRADING.md doc to openssl-1.0.2b
3737def
@shigeki

shigeki commented Jun 11, 2015

Copy link
Copy Markdown
Contributor Author

Fixes: #1921

All reactions

Sorry, something went wrong.

Uh oh!

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

@mscdex mscdex added the openssl Issues and PRs related to the OpenSSL dependency. label Jun 11, 2015
@shigeki

shigeki commented Jun 11, 2015

Copy link
Copy Markdown
Contributor Author

@indutny Does CVE-2015-1789 (Exploitable out-of-bounds read in X509_cmp_time) affect OCSPResponse ?

All reactions

Sorry, something went wrong.

Uh oh!

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

@indutny

indutny commented Jun 11, 2015

Copy link
Copy Markdown
Member

@shigeki yeah, I think so. But we don't really provide much APIs on this atm :) asn1.js is not vulnerable.

All reactions

Sorry, something went wrong.

Uh oh!

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

@indutny

indutny commented Jun 11, 2015

Copy link
Copy Markdown
Member

LGTM, @shigeki !

All reactions

Sorry, something went wrong.

Uh oh!

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

@shigeki

shigeki commented Jun 11, 2015

Copy link
Copy Markdown
Contributor Author

@indutny Yes, I agree. Thanks. Wait for another review form Ben.

All reactions

Sorry, something went wrong.

Uh oh!

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

@shigeki

shigeki commented Jun 11, 2015

Copy link
Copy Markdown
Contributor Author

From https://jbp.io/2015/06/11/cve-2015-1788-openssl-binpoly-hang/ , iojs is vulnerable to DoS of CVE-2015-1788. I've just confirmed that accessing to https://binpoly.jbp.io:4433 with TLS client of iojs leads 100% cpu load.

All reactions

Sorry, something went wrong.

Uh oh!

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

@bnoordhuis

bnoordhuis commented Jun 11, 2015

Copy link
Copy Markdown
Member

LGTM

All reactions

Sorry, something went wrong.

Uh oh!

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

@Fishrock123

Fishrock123 commented Jun 12, 2015

Copy link
Copy Markdown
Contributor

The CI seems a little unhappy recently but here's a run nonetheless: https://jenkins-iojs.nodesource.com/view/iojs/job/iojs+any-pr+multi/816/

All reactions

Sorry, something went wrong.

Uh oh!

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

@shigeki

shigeki commented Jun 12, 2015

Copy link
Copy Markdown
Contributor Author

Most of them are from test-cluster-worker-wait-server-close.js. But there are no error outputs to console.log.

All reactions

Sorry, something went wrong.

Uh oh!

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

@shigeki

shigeki commented Jun 12, 2015

Copy link
Copy Markdown
Contributor Author

No changes. Test failures are occurred only in test-cluster-worker-wait-server-close.js.
@Fishrock123 Can I land this PR?

All reactions

Sorry, something went wrong.

Uh oh!

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

@shigeki

shigeki commented Jun 12, 2015

Copy link
Copy Markdown
Contributor Author

@rvagg Should I also land this to v1.x branch for v1.8.3?

All reactions

Sorry, something went wrong.

Uh oh!

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

@rvagg

rvagg commented Jun 12, 2015

Copy link
Copy Markdown
Member

running CI again https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/817/

@shigeki yes, that's a good idea, please do once this lands

All reactions

Sorry, something went wrong.

Uh oh!

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

shigeki pushed a commit to shigeki/node that referenced this pull request Jun 12, 2015
Shigeki Ohtsu
deps: upgrade openssl sources to 1.0.2b
c21b24d
This just replaces all sources of openssl-1.0.2b.tar.gz
into deps/openssl/openssl

Fixes: nodejs#1921
PR-URL: nodejs#1950
Reviewed-By: Fedor Indutny <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
shigeki pushed a commit to shigeki/node that referenced this pull request Jun 12, 2015
Shigeki Ohtsu
deps: replace all headers in openssl
3844491
Change all openssl/include/openssl/*.h to include resolved symbolic
links and openssl/crypto/opensslconf.h to refer config/opensslconf.h

Fixes: nodejs#1921
PR-URL: nodejs#1950
Reviewed-By: Fedor Indutny <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
shigeki pushed a commit to shigeki/node that referenced this pull request Jun 12, 2015
Shigeki Ohtsu
deps: update asm files for openssl-1.0.2b
9480496
asm files are generated as
  - In `deps/openssl/asm/`, make with CC=gcc and ASM=nasm
  - In `deps/openssl/asm_obsolute/`, make with no envs for compilers

Fixes: nodejs#1921
PR-URL: nodejs#1950
Reviewed-By: Fedor Indutny <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
@shigeki

shigeki commented Jun 12, 2015

Copy link
Copy Markdown
Contributor Author

The errors of test-cluster-worker-wait-server-close.js in CI is to be resolved by #1953.

All reactions

Sorry, something went wrong.

Uh oh!

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

@shigeki

shigeki commented Jun 12, 2015

Copy link
Copy Markdown
Contributor Author

Thanks for reviewing, @indutny and @bnoordhuis .

Landed in c21b24d dcd67cc f624d01 a130132 f62b613 3844491 and 9480496 to the current master.

All reactions

Sorry, something went wrong.

Uh oh!

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

shigeki pushed a commit to shigeki/node that referenced this pull request Jun 12, 2015
Shigeki Ohtsu
deps: upgrade openssl sources to 1.0.2b
2a3367a
This just replaces all sources of openssl-1.0.2b.tar.gz
into deps/openssl/openssl

Fixes: nodejs#1921
PR-URL: nodejs#1950
Reviewed-By: Fedor Indutny <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
shigeki pushed a commit to shigeki/node that referenced this pull request Jun 12, 2015
Shigeki Ohtsu
deps: replace all headers in openssl
151720f
Change all openssl/include/openssl/*.h to include resolved symbolic
links and openssl/crypto/opensslconf.h to refer config/opensslconf.h

Fixes: nodejs#1921
PR-URL: nodejs#1950
Reviewed-By: Fedor Indutny <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
shigeki pushed a commit to shigeki/node that referenced this pull request Jun 12, 2015
Shigeki Ohtsu
deps: update asm files for openssl-1.0.2b
1feaa68
asm files are generated as
  - In `deps/openssl/asm/`, make with CC=gcc and ASM=nasm
  - In `deps/openssl/asm_obsolute/`, make with no envs for compilers

Fixes: nodejs#1921
PR-URL: nodejs#1950
Reviewed-By: Fedor Indutny <[email protected]>
Reviewed-By: Ben Noordhuis <[email protected]>
@shigeki

shigeki commented Jun 12, 2015

Copy link
Copy Markdown
Contributor Author

CI is running for upgrading in v1.x branch https://jenkins-iojs.nodesource.com/job/iojs+any-pr+multi/818/

All reactions

Sorry, something went wrong.

Uh oh!

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

@shigeki

shigeki commented Jun 12, 2015

Copy link
Copy Markdown
Contributor Author

Tests of tls-dhe using 512bits key are failed since missing #1739 in v1.x. I will backport them too.

All reactions

Sorry, something went wrong.

Uh oh!

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

@rvagg

rvagg commented Jun 12, 2015

Copy link
Copy Markdown
Member

I must have missed something but why is that cluster test failing so much all of a sudden?

All reactions

Sorry, something went wrong.

Uh oh!

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

@shigeki

shigeki commented Jun 12, 2015

Copy link
Copy Markdown
Contributor Author

@rvagg This error has been initially occurred since it was landed in https://jenkins-iojs.nodesource.com/view/iojs/job/iojs+any-pr+multi/788/

All reactions

Sorry, something went wrong.

Uh oh!

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

@shigeki

shigeki commented Jun 12, 2015

Copy link
Copy Markdown
Contributor Author

CI are happy.
Landed in 2a3367a d593b55 2836428 2cd7f73 139da6a 151720f 1feaa68 and c65484a to v1.x branch.

@rvagg Please note in CHANGELOG that all iojs prior this upgrade were vulnerable to CVE-2015-1788.

All reactions

Sorry, something went wrong.

Uh oh!

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

@shigeki shigeki closed this Jun 12, 2015
@shigeki shigeki mentioned this pull request Jun 12, 2015
Pending OpenSSL 1.0.2b upgrade #1921
Closed
@rvagg rvagg mentioned this pull request Jun 13, 2015
Release proposal: 2.3.0 #1939
Closed
rvagg added a commit that referenced this pull request Jun 13, 2015
@rvagg
2015-06-13 io.js v2.3.0 Release
41951d4
Notable Changes:

* libuv: Upgraded to 1.6.0 and 1.6.1, see full ChangeLog for details.
  (Saúl Ibarra Corretgé) #1905 #1889. Highlights include:
  - Fix TTY becoming blocked on OS X
  - Fix UDP send callbacks to not to be synchronous
  - Add uv_os_homedir() (exposed as os.homedir(), see below)
* npm: See full release notes for details. (Kat Marchán) #1899. Highlight:
  - Use GIT_SSH_COMMAND (available as of Git 2.3)
* openssl:
  - Upgrade to 1.0.2b and 1.0.2c, introduces DHE man-in-the-middle protection
    (Logjam) and fixes malformed ECParameters causing infinite loop
    (CVE-2015-1788). See the security advisory for full details.
    (Shigeki Ohtsu) #1950 #1958
  - Support FIPS mode of OpenSSL, see README for instructions.
    (Fedor Indutny) #1890
* os: Add os.homedir() method. (Colin Ihrig) #1791
* smalloc: Deprecate whole module. (Vladimir Kurchatkin) #1822
* Add new collaborators:
  - Alex Kocharin (@rlidwka)
  - Christopher Monsanto (@monsanto)
  - Ali Ijaz Sheikh (@ofrobots)
  - Oleg Elifantiev (@Olegas)
  - Domenic Denicola (@domenic)
  - Rich Trott (@Trott)
rvagg added a commit that referenced this pull request Jul 4, 2015
@rvagg
2015-07-04 io.js v1.8.3 Release
766a3b4
Maintenance release

Notable Changes:

* v8: Fixed an out-of-band write in utf8 decoder. This is an important
  security update as it can be used to cause a denial of service
  attack.
* openssl: - Upgrade to 1.0.2b and 1.0.2c, introduces DHE
  man-in-the-middle protection (Logjam) and fixes malformed
  ECParameters causing infinite loop (CVE-2015-1788). See the
  security advisory for full details. (Shigeki Ohtsu) #1950 #1958
* build:
  - Added support for compiling with Microsoft Visual C++ 2015
  - Started building and distributing headers-only tarballs along with
    binaries
rvagg added a commit to rvagg/io.js that referenced this pull request Sep 16, 2015
@rvagg
2015-07-04 io.js v1.8.3 Release
f85b662
Maintenance release

Notable Changes:

* v8: Fixed an out-of-band write in utf8 decoder. This is an important
  security update as it can be used to cause a denial of service
  attack.
* openssl: - Upgrade to 1.0.2b and 1.0.2c, introduces DHE
  man-in-the-middle protection (Logjam) and fixes malformed
  ECParameters causing infinite loop (CVE-2015-1788). See the
  security advisory for full details. (Shigeki Ohtsu) nodejs#1950 nodejs#1958
* build:
  - Added support for compiling with Microsoft Visual C++ 2015
  - Started building and distributing headers-only tarballs along with
    binaries
ChALkeR pushed a commit to ChALkeR/io.js that referenced this pull request Dec 20, 2015
@rvagg @ChALkeR
2015-07-04 io.js v1.8.3 Release
8e724e6
Maintenance release

Notable Changes:

* v8: Fixed an out-of-band write in utf8 decoder. This is an important
  security update as it can be used to cause a denial of service
  attack.
* openssl: - Upgrade to 1.0.2b and 1.0.2c, introduces DHE
  man-in-the-middle protection (Logjam) and fixes malformed
  ECParameters causing infinite loop (CVE-2015-1788). See the
  security advisory for full details. (Shigeki Ohtsu) nodejs#1950 nodejs#1958
* build:
  - Added support for compiling with Microsoft Visual C++ 2015
  - Started building and distributing headers-only tarballs along with
    binaries
scovetta pushed a commit to scovetta/node that referenced this pull request Apr 2, 2016
@rvagg Michael Scovetta
2015-07-04 io.js v1.8.3 Release
a0a5abe
Maintenance release

Notable Changes:

* v8: Fixed an out-of-band write in utf8 decoder. This is an important
  security update as it can be used to cause a denial of service
  attack.
* openssl: - Upgrade to 1.0.2b and 1.0.2c, introduces DHE
  man-in-the-middle protection (Logjam) and fixes malformed
  ECParameters causing infinite loop (CVE-2015-1788). See the
  security advisory for full details. (Shigeki Ohtsu) nodejs#1950 nodejs#1958
* build:
  - Added support for compiling with Microsoft Visual C++ 2015
  - Started building and distributing headers-only tarballs along with
    binaries
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 @indutny @bnoordhuis @Fishrock123 @rvagg @mscdex
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.