RafaelGSS
76f9a7d27f
Working on v16.20.3
...
PR-URL: https://github.com/nodejs-private/node-private/pull/458
2023-08-09 13:29:05 -03:00
RafaelGSS
dadbde963f
2023-08-09, Version 16.20.2 'Gallium' (LTS)
...
This is a security release.
Notable changes:
Following CVEs are fixed in this release:
* CVE-2023-32002: Policies can be bypassed via Module._load (High)
* CVE-2023-32006: Policies can be bypassed by module.constructor.createRequire (Medium)
* CVE-2023-32559: Policies can be bypassed via process.binding (Medium)
* OpenSSL Security Releases
* https://mta.openssl.org/pipermail/openssl-announce/2023-July/000264.html
* https://mta.openssl.org/pipermail/openssl-announce/2023-July/000265.html
* https://mta.openssl.org/pipermail/openssl-announce/2023-July/000267.html
PR-URL: https://github.com/nodejs-private/node-private/pull/458
v16.20.2
2023-08-08 19:21:20 -03:00
RafaelGSS
d8ccfe9ad4
policy: handle Module.constructor and main.extensions bypass
...
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com >
PR-URL: https://github.com/nodejs-private/node-private/pull/445
Refs: https://hackerone.com/bugs?subject=nodejs&report_id=1960870
Refs: https://hackerone.com/bugs?subject=nodejs&report_id=2043807
CVE-ID: CVE-2023-32002,CVE-2023-32006
2023-08-08 10:00:22 -03:00
Tobias Nießen
242aaa0caa
policy: disable process.binding() when enabled
...
process.binding() can be used to trivially bypass restrictions imposed
through a policy. Since the function is deprecated already, simply
replace it with a stub when a policy is being enabled.
Fixes: https://hackerone.com/bugs?report_id=1946470
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
CVE-ID: CVE-2023-32559
PR-URL: https://github.com/nodejs-private/node-private/pull/459
2023-08-08 09:59:12 -03:00
RafaelGSS
40c3958a5a
deps: update archs files for OpenSSL-1.1.1v
...
After an OpenSSL source update, all the config files need to be
regenerated and committed by:
$ make -C deps/openssl/config
$ git add deps/openssl/config/archs
$ git add deps/openssl/openssl/include/crypto/bn_conf.h
$ git add deps/openssl/openssl/include/crypto/dso_conf.h
$ git add deps/openssl/openssl/include/openssl/opensslconf.h
$ git commit
PR-URL: https://github.com/nodejs/node/pull/49043
2023-08-08 09:59:12 -03:00
RafaelGSS
a9ac9da89a
deps: fix openssl crypto clean
...
PR-URL: https://github.com/nodejs/node/pull/49043
2023-08-08 09:59:11 -03:00
RafaelGSS
362d4c7494
deps: upgrade openssl sources to OpenSSL_1_1_1v
...
This updates all sources in deps/openssl/openssl by:
$ git clone https://github.com/quictls/openssl
$ cd openssl
$ git checkout OpenSSL_1_1_1v+quic
$ cd ../node/deps/openssl
$ rm -rf openssl
$ cp -R ../openssl openssl
$ rm -rf openssl/.git* openssl/.travis*
$ git add --all openssl
$ git commit openssl
PR-URL: https://github.com/nodejs/node/pull/49043
2023-08-08 09:59:11 -03:00
RafaelGSS
7447de2794
Working on v16.20.2
...
PR-URL: https://github.com/nodejs-private/node-private/pull/432
2023-06-20 16:09:22 -03:00
RafaelGSS
b53c519953
2023-06-20, Version 16.20.1 'Gallium' (LTS)
...
This is a security release.
Notable changes:
Following CVEs are fixed in this release:
* CVE-2023-30581: `mainModule.__proto__` Bypass Experimental Policy Mechanism (High)
* CVE-2023-30585: Privilege escalation via Malicious Registry Key manipulation during Node.js installer repair process (Medium)
* CVE-2023-30588: Process interuption due to invalid Public Key information in x509 certificates (Medium)
* CVE-2023-30589: HTTP Request Smuggling via Empty headers separated by CR (Medium)
* CVE-2023-30590: DiffieHellman does not generate keys after setting a private key (Medium)
* OpenSSL Security Releases
* https://www.openssl.org/news/secadv/20230328.txt
* https://www.openssl.org/news/secadv/20230420.txt
* https://www.openssl.org/news/secadv/20230530.txt
* c-ares vulnerabilities:
* GHSA-9g78-jv2r-p7vc
* GHSA-8r8p-23f3-64c2
* GHSA-54xr-f67r-4pc4
* GHSA-x6mf-cxr9-8q6v
PR-URL: https://github.com/nodejs-private/node-private/pull/432
v16.20.1
2023-06-19 15:52:18 -03:00
Tobias Nießen
10042683c8
msi: do not create AppData\Roaming\npm
...
This effectively reverts e431cae7e7 due to
security concerns. The directory is being created with elevated
privileges but its path may depend on an unprivileged user's environment
variables. Creating a directory in certain sensitive locations can cause
Windows to become inoperable.
Creating AppData\Roaming\npm was an intentional addition in order to
resolve https://github.com/nodejs/node-v0.x-archive/issues/8141 , which
appears to have been a common issue for users of npm. However, this was
implemented before 4cfe5eb9af , which
changed the MSI installation scope to perMachine. There were concerns
about creating the npm directory in that PR, albeit not related to
security (see https://github.com/nodejs/node-v0.x-archive/pull/25640 ).
Refs: https://github.com/nodejs/node-v0.x-archive/issues/8141
Refs: https://github.com/nodejs/node-v0.x-archive/pull/8838
Refs: https://github.com/nodejs/node-v0.x-archive/pull/25640
PR-URL: https://github.com/nodejs-private/node-private/pull/408
Backport-PR-URL: https://github.com/nodejs-private/node-private/pull/430
Reviewed-By: Rich Trott <rtrott@gmail.com >
CVE-ID: CVE-2023-30585
2023-06-19 15:51:37 -03:00
Michaël Zasso
b77000f4d7
test: allow SIGBUS in signal-handler abort test
...
FreeBSD uses SIGBUS after update to v12.4.
Refs: https://github.com/nodejs/build/issues/3134
PR-URL: https://github.com/nodejs/node/pull/47851
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com >
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2023-06-19 15:50:27 -03:00
Tobias Nießen
5a92ea7a3b
crypto: handle cert with invalid SPKI gracefully
...
When attempting to convert the SPKI of a X509Certificate to a KeyObject,
throw an error if the subjectPublicKey cannot be parsed instead of
aborting the process.
Fixes: https://hackerone.com/bugs?report_id=1884159
PR-URL: https://github.com/nodejs-private/node-private/pull/393/
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
Reviewed-By: Robert Nagy <ronagy@icloud.com >
CVE-ID: CVE-2023-30588
2023-06-19 15:50:27 -03:00
Richard Lau
5df04e893a
deps: set CARES_RANDOM_FILE for c-ares
...
Upstream c-ares renamed `RANDOM_FILE` to `CARES_RANDOM_FILE` some
time ago in c-ares 1.17.2.
PR-URL: https://github.com/nodejs/node/pull/48156
Refs: https://github.com/c-ares/c-ares/pull/397
Reviewed-By: Michael Dawson <midawson@redhat.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2023-06-19 15:50:27 -03:00
RafaelGSS
c171cbd124
deps: update c-ares to 1.19.1
...
PR-URL: https://github.com/nodejs/node/pull/48115
Backport-PR-URL: https://github.com/nodejs-private/node-private/pull/437
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
2023-06-19 15:50:27 -03:00
RafaelGSS
155d3aac02
deps: update archs files for OpenSSL-1.1.1u+quic
...
After an OpenSSL source update, all the config files need to be
regenerated and committed by:
$ make -C deps/openssl/config
$ git add deps/openssl/config/archs
$ git add deps/openssl/openssl/include/crypto/bn_conf.h
$ git add deps/openssl/openssl/include/crypto/dso_conf.h
$ git add deps/openssl/openssl/include/openssl/opensslconf.h
$ git commit
PR-URL: https://github.com/nodejs/node/pull/48369
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2023-06-19 15:50:27 -03:00
RafaelGSS
8d4c8f8ebe
deps: upgrade openssl sources to OpenSSL_1_1_1u
...
This updates all sources in deps/openssl/openssl by:
$ git clone https://github.com/quictls/openssl
$ cd openssl
$ git checkout OpenSSL_1_1_1u+quic
$ cd ../node/deps/openssl
$ rm -rf openssl
$ cp -R ../openssl openssl
$ rm -rf openssl/.git* openssl/.travis*
$ git add --all openssl
$ git commit openssl
PR-URL: https://github.com/nodejs/node/pull/48369
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com >
2023-06-19 15:50:27 -03:00
Paolo Insogna
e42ff4b018
http: disable request smuggling via empty headers
...
PR-URL: https://github.com/nodejs-private/node-private/pull/429
Refs: https://github.com/nodejs-private/node-private/pull/427
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Matteo Collina <matteo.collina@gmail.com >
CVE-ID: CVE-2023-30589
2023-06-19 09:21:06 -03:00
Tobias Nießen
1a5c9284eb
doc,test: clarify behavior of DH generateKeys
...
The DiffieHellman class is an old and thin wrapper around certain
OpenSSL functions, many of which are deprecated in OpenSSL 3.0. Because
the Node.js API mirrors the OpenSSL API, it adopts some of its
peculiarities, but the Node.js documentation does not properly reflect
these. Most importantly, despite the documentation saying otherwise,
diffieHellman.generateKeys() does not generate a new private key when
one has already been set or generated. Based on the documentation alone,
users may be led to misuse the API in a way that results in key reuse,
which can have drastic negative consequences for subsequent operations
that consume the shared secret.
These design issues in this old API have been around for many years, and
we are not currently aware of any misuse in the ecosystem that falls
into the above scenario. Changing the behavior of the API would be a
significant breaking change and is thus not appropriate for a security
release (nor is it a goal.) The reported issue is treated as CWE-1068
(after a vast amount of uncertainty whether to treat it as a
vulnerability at all), therefore, this change only updates the
documentation to match the actual behavior. Tests are also added that
demonstrate this particular oddity.
Newer APIs exist that can be used for some, but not all, Diffie-Hellman
operations (e.g., crypto.diffieHellman() that was added in 2020). We
should keep modernizing crypto APIs, but that is a non-goal for this
security release.
The ECDH class mirrors the DiffieHellman class in many ways, but it does
not appear to be affected by this particular peculiarity. In particular,
ecdh.generateKeys() does appear to always generate a new private key.
PR-URL: https://github.com/nodejs-private/node-private/pull/426
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
CVE-ID: CVE-2023-30590
2023-06-19 09:21:06 -03:00
RafaelGSS
a6f4e87bc9
policy: handle mainModule.__proto__ bypass
...
Backport-PR-URL: https://github.com/nodejs-private/node-private/pull/418
PR-URL: https://github.com/nodejs-private/node-private/pull/416
Fixes: https://hackerone.com/bugs?subject=nodejs&report_id=1877919
Reviewed-By: Rich Trott <rtrott@gmail.com >
CVE-ID: CVE-2023-30581
2023-06-19 09:20:33 -03:00
Beth Griggs
ade4850395
Working on v16.20.1
...
PR-URL: https://github.com/nodejs/node/pull/47272
2023-03-29 18:50:32 +01:00
Beth Griggs
6fd13beae0
2023-03-29, Version 16.20.0 'Gallium' (LTS)
...
Notable changes:
- deps:
- update undici to 5.20.0 (Node.js GitHub Bot)
https://github.com/nodejs/node/pull/46711
- update c-ares to 1.19.0 (Michaël Zasso)
https://github.com/nodejs/node/pull/46415
- upgrade npm to 8.19.4 (npm team)
https://github.com/nodejs/node/pull/46677
- update corepack to 0.17.0 (Node.js GitHub Bot)
https://github.com/nodejs/node/pull/46842
- (SEMVER-MINOR) src: add support for externally shared js builtins
(Michael Dawson) [https://github.com/nodejs/node/pull/44376 ]
PR-URL: https://github.com/nodejs/node/pull/47272
v16.20.0
2023-03-27 20:35:28 +01:00
Vita Batrla
d081032a60
test: fix test-net-connect-reset-until-connected
...
Fixes: https://github.com/nodejs/node/issues/43446
PR-URL: https://github.com/nodejs/node/pull/46781
Reviewed-By: theanarkh <theratliter@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-03-27 17:28:54 +01:00
Rich Trott
086bb2f8d4
Revert "src: let http2 streams end after session close"
...
This reverts commit dee882e94f .
Moved the test that demonstrated what this commit was fixing to the
`known_issues` folder.
Fixes: https://github.com/nodejs/node/issues/46234
PR-URL: https://github.com/nodejs/node/pull/46721
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
2023-03-27 16:41:21 +01:00
Node.js GitHub Bot
24972164fc
deps: update undici to 5.20.0
...
PR-URL: https://github.com/nodejs/node/pull/46711
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Darshan Sen <raisinten@gmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
2023-03-27 16:08:08 +01:00
Michaël Zasso
85f88c6a8d
deps: V8: cherry-pick 90be99fab31c
...
Original commit message:
[intl] Revert date formatting behavior change from ICU 72
Replace U+202F with U+0020 after formatting date. This lets websites
continue to work without any changes.
This matches Firefox behavior, according to
https://bugzilla.mozilla.org/show_bug.cgi?id=1806042#c17 .
Bug: chromium:1414292, chromium:1401829, chromium:1392814
Change-Id: I7c2b58414d0890f8705e737f903403dc54e5fe57
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/4237675
Commit-Queue: Adam Klein <adamk@chromium.org >
Reviewed-by: Shu-yu Guo <syg@chromium.org >
Cr-Commit-Position: refs/heads/main@{#85757}
Refs: https://github.com/v8/v8/commit/90be99fab31c8299568e4114be1f0abd3741d615
PR-URL: https://github.com/nodejs/node/pull/46646
Refs: https://github.com/nodejs/node/issues/46123
Reviewed-By: Jiawen Geng <technicalcute@gmail.com >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de >
2023-03-27 13:07:02 +01:00
Michaël Zasso
b4ebe6d47b
deps: update c-ares to 1.19.0
...
Refs: https://c-ares.org/changelog.html#1_19_0
PR-URL: https://github.com/nodejs/node/pull/46415
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Rich Trott <rtrott@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-03-27 13:04:08 +01:00
Richard Lau and Anna Henningsen
de6dd67790
crypto: avoid hang when no algorithm available
...
Avoid an endless loop if no algorithm is available to seed the
cryptographically secure pseudorandom number generator (CSPRNG).
Co-authored-by: Anna Henningsen <anna@addaleax.net >
PR-URL: https://github.com/nodejs/node/pull/46237
Fixes: https://github.com/nodejs/node/issues/46200
Reviewed-By: Anna Henningsen <anna@addaleax.net >
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl >
2023-03-27 13:03:21 +01:00
Ben Noordhuis
4617512788
crypto: ensure auth tag set for chacha20-poly1305
...
Because OpenSSL v1.x doesn't do that by itself (OpenSSL v3.x does.)
Fixes: https://github.com/nodejs/node/issues/45874
PR-URL: https://github.com/nodejs/node/pull/46185
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
2023-03-27 13:02:52 +01:00
MURAKAMI Masahiko
809371a15f
module: require.resolve.paths returns null with node schema
...
require.resolve.paths should returns null with builtin module.
when builtin module without `node:` schema, `paths` returns null.
But, it don't return null when builtin module with `node:` schema.
Fixes: https://github.com/nodejs/node/issues/45001
PR-URL: https://github.com/nodejs/node/pull/45147
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com >
Reviewed-By: James M Snell <jasnell@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-03-27 13:02:09 +01:00
Antoine du Hamel
efe1be47ec
test: skip test depending on overlapped-checker when not available
...
PR-URL: https://github.com/nodejs/node/pull/45015
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
2023-03-27 13:01:47 +01:00
Bruno Pitrus
768e56227e
tools: make utils.SearchFiles deterministic
...
`glob.glob` on Linux returns files in the order returned by the
filesystem driver, and the output from this function is stuffed by
the Electron build process straight into the `config.gypi` header,
causing non-reproducible builds.
See this log for an example of the nondeterminism:
https://rb.zq1.de/compare.factory-20220901/diffs/nodejs-electron-compare.out
PR-URL: https://github.com/nodejs/node/pull/44496
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Stewart X Addison <sxa@redhat.com >
2023-03-27 13:01:21 +01:00
Jiawen Geng
56cbc7fdda
deps: V8: cherry-pick c2792e58035f
...
Original commit message:
[base] Fix build with gcc-13
See https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes .
Also see Gentoo Linux bug report: https://bugs.gentoo.org/865981
Change-Id: I421f396b02ba37e12ee70048ee33e034f8113566
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3934140
Reviewed-by: Clemens Backes <clemensb@chromium.org >
Reviewed-by: Simon Zünd <szuend@chromium.org >
Commit-Queue: Clemens Backes <clemensb@chromium.org >
Cr-Commit-Position: refs/heads/main@{#83587}
Refs: https://github.com/v8/v8/commit/c2792e58035fcbaa16d0cb70998852fbeb5df4cc
PR-URL: https://github.com/nodejs/node/pull/44961
Fixes: https://github.com/nodejs/node/issues/43642
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Colin Ihrig <cjihrig@gmail.com >
2023-03-27 11:32:51 +01:00
Geoffrey Booth
fc47d58abe
test: remove cjs loader from stack traces
...
PR-URL: https://github.com/nodejs/node/pull/44197
Backport-PR-URL: https://github.com/nodejs/node/pull/46535
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
2023-03-27 11:19:02 +01:00
Filip Skokan
cf76d0790d
test: fix WPT title when no META title is present
...
PR-URL: https://github.com/nodejs/node/pull/46804
Backport-PR-URL: https://github.com/nodejs/node/pull/46768
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
2023-03-23 20:03:28 +00:00
Filip Skokan
0d1485b924
test: fix default WPT titles
...
PR-URL: https://github.com/nodejs/node/pull/46778
Backport-PR-URL: https://github.com/nodejs/node/pull/46768
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-03-23 20:03:10 +00:00
Filip Skokan
088e9cde3d
test: add WPTRunner support for variants and generating WPT reports
...
PR-URL: https://github.com/nodejs/node/pull/46498
Backport-PR-URL: https://github.com/nodejs/node/pull/46768
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
2023-03-23 20:02:47 +00:00
npm CLI robot
7af9bdb31e
deps: upgrade npm to 8.19.4
...
PR-URL: https://github.com/nodejs/node/pull/46677
Reviewed-By: Luke Karrys <luke@lukekarrys.com >
Reviewed-By: Luigi Pinca <luigipinca@gmail.com >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com >
2023-03-23 19:42:56 +00:00
Michael Dawson
6a01d39120
src: add support for externally shared js builtins
...
Refs: https://github.com/nodejs/node/issues/44000
- add infra to support externally shared js builtins in
support of distos that want to externalize deps that
include JS/WASM instead of native code
- add support for externalizing
- cjs_module_lexer/lexer
- cjs_module_lexer/dist/lexer
- undici/undici
Signed-off-by: Michael Dawson <mdawson@devrus.com >
PR-URL: https://github.com/nodejs/node/pull/44376
Backport-PR-URL: https://github.com/nodejs/node/pull/45867
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com >
2023-03-23 18:49:23 +00:00
Node.js GitHub Bot
962a7471b5
deps: update corepack to 0.17.0
...
PR-URL: https://github.com/nodejs/node/pull/46842
Backport-PR-URL: https://github.com/nodejs/node/pull/45644
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
2023-03-23 17:37:07 +00:00
Node.js GitHub Bot
748bc96e35
deps: update corepack to 0.16.0
...
PR-URL: https://github.com/nodejs/node/pull/46710
Backport-PR-URL: https://github.com/nodejs/node/pull/45644
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
2023-03-23 17:37:05 +00:00
Node.js GitHub Bot
a467782499
deps: update corepack to 0.15.3
...
PR-URL: https://github.com/nodejs/node/pull/46037
Backport-PR-URL: https://github.com/nodejs/node/pull/45644
Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com >
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Michaël Zasso <targos@protonmail.com >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
Reviewed-By: Juan José Arboleda <soyjuanarbol@gmail.com >
2023-03-23 17:37:01 +00:00
Node.js GitHub Bot
1913b6763d
deps: update corepack to 0.15.2
...
PR-URL: https://github.com/nodejs/node/pull/45635
Backport-PR-URL: https://github.com/nodejs/node/pull/45644
Reviewed-By: Moshe Atlow <moshe@atlow.co.il >
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com >
2023-03-23 17:36:55 +00:00
Richard Lau
908c4dff44
test: mark test-crypto-key-objects flaky on Linux
...
PR-URL: https://github.com/nodejs/node/pull/46684
Refs: https://github.com/nodejs/node/issues/46683
Reviewed-By: Filip Skokan <panva.ip@gmail.com >
Reviewed-By: Beth Griggs <bethanyngriggs@gmail.com >
2023-02-18 21:46:01 -05:00
Richard Lau
aeee10b002
Working on v16.19.2
...
PR-URL: https://github.com/nodejs-private/node-private/pull/390
2023-02-16 15:43:15 -05:00
Richard Lau
96a4559f25
2023-02-16, Version 16.19.1 'Gallium' (LTS)
...
This is a security release.
Notable changes:
The following CVEs are fixed in this release:
- CVE-2023-23918: Node.js Permissions policies can be bypassed via
process.mainModule (High)
- CVE-2023-23919: Node.js OpenSSL error handling issues in nodejs
crypto library (Medium)
- CVE-2023-23936: Fetch API in Node.js did not protect against CRLF
injection in host headers (Medium)
- CVE-2023-24807: Regular Expression Denial of Service in Headers in
Node.js fetch API (Low)
- CVE-2023-23920: Node.js insecure loading of ICU data through ICU_DATA
environment variable (Low)
Fixed by an update to undici:
- CVE-2023-23936: Fetch API in Node.js did not protect against CRLF
injection in host headers (Medium)
See https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff
for more information.
- CVE-2023-24807: Regular Expression Denial of Service in Headers in
Node.js fetch API (Low)
See https://github.com/nodejs/undici/security/advisories/GHSA-r6ch-mqf9-qc9w
for more information.
- OpenSSL 1.1.1t
PR-URL: https://github.com/nodejs-private/node-private/pull/390
v16.19.1
2023-02-15 18:13:54 +00:00
RafaelGSS
f95ef064f4
lib: makeRequireFunction patch when experimental policy
...
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com >
Backport-PR-URL: https://github.com/nodejs-private/node-private/pull/372
Refs: https://hackerone.com/bugs?subject=nodejs&report_id=1747642
CVE-ID: CVE-2023-23918
PR-URL: https://github.com/nodejs-private/node-private/pull/358
Reviewed-by: Bradley Farias <bradley.meck@gmail.com >
Reviewed-by: Michael Dawson <midawson@redhat.com >
2023-02-15 18:08:34 +00:00
RafaelGSS and Bradley Farias
b02d895137
policy: makeRequireFunction on mainModule.require
...
Co-authored-by: Bradley Farias <bradley.meck@gmail.com >
Backport-PR-URL: https://github.com/nodejs-private/node-private/pull/372
Refs: https://hackerone.com/bugs?subject=nodejs&report_id=1747642
CVE-ID: CVE-2023-23918
PR-URL: https://github.com/nodejs-private/node-private/pull/358
Reviewed-by: Bradley Farias <bradley.meck@gmail.com >
Reviewed-by: Michael Dawson <midawson@redhat.com >
2023-02-15 18:08:34 +00:00
Matteo Collina
2d9ae4f184
deps: update undici to v5.19.1
...
Signed-off-by: Matteo Collina <hello@matteocollina.com >
CVE-ID: CVE-2023-23936, CVE-2023-24807
PR-URL: https://github.com/nodejs-private/node-private/pull/388
Refs: https://github.com/nodejs/undici/security/advisories/GHSA-5r9g-qh6m-jxff
Refs: https://github.com/nodejs/undici/security/advisories/GHSA-r6ch-mqf9-qc9w
Refs: https://hackerone.com/bugs?subject=nodejs&report_id=1820955
Refs: https://hackerone.com/bugs?subject=nodejs&report_id=1784449
Reviewed-By: Richard Lau <rlau@redhat.com >
Reviewed-By: Michael Dawson <midawson@redhat.com >
2023-02-15 18:06:47 +00:00
RafaelGSS
b558e9f476
crypto: clear OpenSSL error on invalid ca cert
...
Signed-off-by: RafaelGSS <rafael.nunu@hotmail.com >
CVE-ID: CVE-2023-23919
PR-URL: https://github.com/nodejs-private/node-private/pull/375
Refs: https://hackerone.com/bugs?report_id=1808596
Reviewed-By: Robert Nagy <ronagy@icloud.com >
Reviewed-By: Richard Lau <rlau@redhat.com >
2023-02-14 17:00:17 +00:00
Filip Skokan
160adb7ffc
crypto: clear OpenSSL error queue after calling X509_check_private_key()
...
Backport-PR-URL: https://github.com/nodejs-private/node-private/pull/375
CVE-ID: CVE-2023-23919
Fixes: https://github.com/nodejs/node/issues/45485
PR-URL: https://github.com/nodejs/node/pull/45495
Refs: https://hackerone.com/bugs?subject=nodejs&report_id=1808596
Reviewed-By: Tobias Nießen <tniessen@tnie.de >
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com >
2023-02-14 16:59:57 +00:00