node-linux-x64 16.13.1 → 16.13.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +52 -0
- package/bin/node +0 -0
- package/include/node/config.gypi +93 -93
- package/include/node/node_version.h +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
</tr>
|
|
10
10
|
<tr>
|
|
11
11
|
<td>
|
|
12
|
+
<a href="#16.13.2">16.13.2</a><br/>
|
|
12
13
|
<a href="#16.13.1">16.13.1</a><br/>
|
|
13
14
|
<a href="#16.13.0">16.13.0</a><br/>
|
|
14
15
|
</td>
|
|
@@ -54,6 +55,57 @@
|
|
|
54
55
|
* [io.js](CHANGELOG\_IOJS.md)
|
|
55
56
|
* [Archive](CHANGELOG\_ARCHIVE.md)
|
|
56
57
|
|
|
58
|
+
<a id="16.13.2"></a>
|
|
59
|
+
|
|
60
|
+
## 2022-01-10, Version 16.13.2 'Gallium' (LTS), @danielleadams
|
|
61
|
+
|
|
62
|
+
This is a security release.
|
|
63
|
+
|
|
64
|
+
### Notable changes
|
|
65
|
+
|
|
66
|
+
#### Improper handling of URI Subject Alternative Names (Medium)(CVE-2021-44531)
|
|
67
|
+
|
|
68
|
+
Accepting arbitrary Subject Alternative Name (SAN) types, unless a PKI is specifically defined to use a particular SAN type, can result in bypassing name-constrained intermediates. Node.js was accepting URI SAN types, which PKIs are often not defined to use. Additionally, when a protocol allows URI SANs, Node.js did not match the URI correctly.
|
|
69
|
+
|
|
70
|
+
Versions of Node.js with the fix for this disable the URI SAN type when checking a certificate against a hostname. This behavior can be reverted through the `--security-revert` command-line option.
|
|
71
|
+
|
|
72
|
+
More details will be available at [CVE-2021-44531](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44531) after publication.
|
|
73
|
+
|
|
74
|
+
#### Certificate Verification Bypass via String Injection (Medium)(CVE-2021-44532)
|
|
75
|
+
|
|
76
|
+
Node.js converts SANs (Subject Alternative Names) to a string format. It uses this string to check peer certificates against hostnames when validating connections. The string format was subject to an injection vulnerability when name constraints were used within a certificate chain, allowing the bypass of these name constraints.
|
|
77
|
+
|
|
78
|
+
Versions of Node.js with the fix for this escape SANs containing the problematic characters in order to prevent the injection. This behavior can be reverted through the `--security-revert` command-line option.
|
|
79
|
+
|
|
80
|
+
More details will be available at [CVE-2021-44532](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44532) after publication.
|
|
81
|
+
|
|
82
|
+
#### Incorrect handling of certificate subject and issuer fields (Medium)(CVE-2021-44533)
|
|
83
|
+
|
|
84
|
+
Node.js did not handle multi-value Relative Distinguished Names correctly. Attackers could craft certificate subjects containing a single-value Relative Distinguished Name that would be interpreted as a multi-value Relative Distinguished Name, for example, in order to inject a Common Name that would allow bypassing the certificate subject verification.
|
|
85
|
+
|
|
86
|
+
Affected versions of Node.js do not accept multi-value Relative Distinguished Names and are thus not vulnerable to such attacks themselves. However, third-party code that uses node's ambiguous presentation of certificate subjects may be vulnerable.
|
|
87
|
+
|
|
88
|
+
More details will be available at [CVE-2021-44533](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-44533) after publication.
|
|
89
|
+
|
|
90
|
+
#### Prototype pollution via `console.table` properties (Low)(CVE-2022-21824)
|
|
91
|
+
|
|
92
|
+
Due to the formatting logic of the `console.table()` function it was not safe to allow user controlled input to be passed to the `properties` parameter while simultaneously passing a plain object with at least one property as the first parameter, which could be `__proto__`. The prototype pollution has very limited control, in that it only allows an empty string to be assigned numerical keys of the object prototype.
|
|
93
|
+
|
|
94
|
+
Versions of Node.js with the fix for this use a null protoype for the object these properties are being assigned to.
|
|
95
|
+
|
|
96
|
+
More details will be available at [CVE-2022-21824](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-21824) after publication.
|
|
97
|
+
|
|
98
|
+
Thanks to Patrik Oldsberg (rugvip) for reporting this vulnerability.
|
|
99
|
+
|
|
100
|
+
### Commits
|
|
101
|
+
|
|
102
|
+
* [[`8dd4ca4537`](https://github.com/nodejs/node/commit/8dd4ca4537)] - **console**: fix prototype pollution via console.table (Tobias Nießen) [nodejs-private/node-private#307](https://github.com/nodejs-private/node-private/pull/307)
|
|
103
|
+
* [[`e52882da4c`](https://github.com/nodejs/node/commit/e52882da4c)] - **crypto,tls**: implement safe x509 GeneralName format (Tobias Nießen) [nodejs-private/node-private#300](https://github.com/nodejs-private/node-private/pull/300)
|
|
104
|
+
* [[`9a0a189b0b`](https://github.com/nodejs/node/commit/9a0a189b0b)] - **src**: add cve reverts and associated tests (Michael Dawson) [nodejs-private/node-private#300](https://github.com/nodejs-private/node-private/pull/300)
|
|
105
|
+
* [[`4a262d42bc`](https://github.com/nodejs/node/commit/4a262d42bc)] - **src**: remove unused x509 functions (Tobias Nießen) [nodejs-private/node-private#300](https://github.com/nodejs-private/node-private/pull/300)
|
|
106
|
+
* [[`965536fe3d`](https://github.com/nodejs/node/commit/965536fe3d)] - **tls**: fix handling of x509 subject and issuer (Tobias Nießen) [nodejs-private/node-private#300](https://github.com/nodejs-private/node-private/pull/300)
|
|
107
|
+
* [[`a2cbfa95ff`](https://github.com/nodejs/node/commit/a2cbfa95ff)] - **tls**: drop support for URI alternative names (Tobias Nießen) [nodejs-private/node-private#300](https://github.com/nodejs-private/node-private/pull/300)
|
|
108
|
+
|
|
57
109
|
<a id="16.13.1"></a>
|
|
58
110
|
|
|
59
111
|
## 2021-12-01, Version 16.13.1 'Gallium' (LTS), @BethGriggs
|
package/bin/node
CHANGED
|
Binary file
|
package/include/node/config.gypi
CHANGED
|
@@ -29,109 +29,110 @@
|
|
|
29
29
|
'node_debug_lib': 'false',
|
|
30
30
|
'node_enable_d8': 'false',
|
|
31
31
|
'node_install_npm': 'true',
|
|
32
|
-
'node_library_files': [ 'lib/
|
|
33
|
-
'lib/
|
|
34
|
-
'lib/
|
|
35
|
-
'lib/
|
|
36
|
-
'lib/_http_server.js',
|
|
32
|
+
'node_library_files': [ 'lib/string_decoder.js',
|
|
33
|
+
'lib/inspector.js',
|
|
34
|
+
'lib/wasi.js',
|
|
35
|
+
'lib/_http_client.js',
|
|
37
36
|
'lib/_stream_wrap.js',
|
|
38
|
-
'lib/
|
|
39
|
-
'lib/
|
|
40
|
-
'lib/
|
|
37
|
+
'lib/zlib.js',
|
|
38
|
+
'lib/events.js',
|
|
39
|
+
'lib/path.js',
|
|
40
|
+
'lib/worker_threads.js',
|
|
41
41
|
'lib/console.js',
|
|
42
42
|
'lib/constants.js',
|
|
43
|
-
'lib/
|
|
44
|
-
'lib/
|
|
45
|
-
'lib/
|
|
46
|
-
'lib/
|
|
43
|
+
'lib/_http_common.js',
|
|
44
|
+
'lib/trace_events.js',
|
|
45
|
+
'lib/crypto.js',
|
|
46
|
+
'lib/tls.js',
|
|
47
|
+
'lib/fs.js',
|
|
47
48
|
'lib/module.js',
|
|
48
|
-
'lib/tty.js',
|
|
49
|
-
'lib/process.js',
|
|
50
|
-
'lib/_http_agent.js',
|
|
51
49
|
'lib/_http_incoming.js',
|
|
50
|
+
'lib/process.js',
|
|
51
|
+
'lib/http.js',
|
|
52
|
+
'lib/url.js',
|
|
53
|
+
'lib/net.js',
|
|
52
54
|
'lib/sys.js',
|
|
55
|
+
'lib/_http_outgoing.js',
|
|
56
|
+
'lib/async_hooks.js',
|
|
57
|
+
'lib/dgram.js',
|
|
58
|
+
'lib/child_process.js',
|
|
59
|
+
'lib/_http_server.js',
|
|
53
60
|
'lib/assert.js',
|
|
61
|
+
'lib/punycode.js',
|
|
62
|
+
'lib/timers.js',
|
|
63
|
+
'lib/_stream_readable.js',
|
|
64
|
+
'lib/_stream_transform.js',
|
|
65
|
+
'lib/_stream_writable.js',
|
|
54
66
|
'lib/buffer.js',
|
|
55
|
-
'lib/
|
|
67
|
+
'lib/util.js',
|
|
68
|
+
'lib/tty.js',
|
|
56
69
|
'lib/cluster.js',
|
|
57
|
-
'lib/
|
|
58
|
-
'lib/
|
|
59
|
-
'lib/
|
|
60
|
-
'lib/
|
|
61
|
-
'lib/
|
|
62
|
-
'lib/
|
|
70
|
+
'lib/perf_hooks.js',
|
|
71
|
+
'lib/_stream_duplex.js',
|
|
72
|
+
'lib/diagnostics_channel.js',
|
|
73
|
+
'lib/_stream_passthrough.js',
|
|
74
|
+
'lib/_tls_wrap.js',
|
|
75
|
+
'lib/v8.js',
|
|
63
76
|
'lib/domain.js',
|
|
64
77
|
'lib/_tls_common.js',
|
|
65
|
-
'lib/
|
|
78
|
+
'lib/https.js',
|
|
66
79
|
'lib/vm.js',
|
|
67
|
-
'lib/
|
|
68
|
-
'lib/_tls_wrap.js',
|
|
80
|
+
'lib/http2.js',
|
|
69
81
|
'lib/os.js',
|
|
70
|
-
'lib/
|
|
82
|
+
'lib/_http_agent.js',
|
|
83
|
+
'lib/dns.js',
|
|
84
|
+
'lib/querystring.js',
|
|
71
85
|
'lib/readline.js',
|
|
72
86
|
'lib/repl.js',
|
|
73
|
-
'lib/inspector.js',
|
|
74
|
-
'lib/v8.js',
|
|
75
|
-
'lib/_stream_passthrough.js',
|
|
76
|
-
'lib/_stream_readable.js',
|
|
77
87
|
'lib/stream.js',
|
|
78
|
-
'lib/
|
|
79
|
-
'lib/tls.js',
|
|
80
|
-
'lib/trace_events.js',
|
|
81
|
-
'lib/worker_threads.js',
|
|
82
|
-
'lib/http2.js',
|
|
83
|
-
'lib/util.js',
|
|
84
|
-
'lib/dgram.js',
|
|
85
|
-
'lib/diagnostics_channel.js',
|
|
86
|
-
'lib/_stream_duplex.js',
|
|
87
|
-
'lib/async_hooks.js',
|
|
88
|
-
'lib/fs/promises.js',
|
|
88
|
+
'lib/assert/strict.js',
|
|
89
89
|
'lib/stream/consumers.js',
|
|
90
90
|
'lib/stream/promises.js',
|
|
91
91
|
'lib/stream/web.js',
|
|
92
|
+
'lib/timers/promises.js',
|
|
92
93
|
'lib/internal/assert.js',
|
|
93
|
-
'lib/internal/
|
|
94
|
+
'lib/internal/freeze_intrinsics.js',
|
|
94
95
|
'lib/internal/constants.js',
|
|
95
96
|
'lib/internal/dtrace.js',
|
|
96
|
-
'lib/internal/options.js',
|
|
97
97
|
'lib/internal/js_stream_socket.js',
|
|
98
|
+
'lib/internal/stream_base_commons.js',
|
|
98
99
|
'lib/internal/fixed_queue.js',
|
|
99
100
|
'lib/internal/heap_utils.js',
|
|
100
|
-
'lib/internal/priority_queue.js',
|
|
101
|
-
'lib/internal/socketaddress.js',
|
|
102
|
-
'lib/internal/socket_list.js',
|
|
103
101
|
'lib/internal/error_serdes.js',
|
|
104
|
-
'lib/internal/repl.js',
|
|
105
|
-
'lib/internal/async_hooks.js',
|
|
106
|
-
'lib/internal/timers.js',
|
|
107
|
-
'lib/internal/tty.js',
|
|
108
|
-
'lib/internal/util.js',
|
|
109
102
|
'lib/internal/trace_events_async_hooks.js',
|
|
110
|
-
'lib/internal/freeze_intrinsics.js',
|
|
111
103
|
'lib/internal/histogram.js',
|
|
112
|
-
'lib/internal/
|
|
113
|
-
'lib/internal/
|
|
114
|
-
'lib/internal/
|
|
115
|
-
'lib/internal/
|
|
104
|
+
'lib/internal/socket_list.js',
|
|
105
|
+
'lib/internal/inspector_async_hook.js',
|
|
106
|
+
'lib/internal/abort_controller.js',
|
|
107
|
+
'lib/internal/async_hooks.js',
|
|
116
108
|
'lib/internal/encoding.js',
|
|
109
|
+
'lib/internal/net.js',
|
|
110
|
+
'lib/internal/priority_queue.js',
|
|
111
|
+
'lib/internal/querystring.js',
|
|
112
|
+
'lib/internal/http.js',
|
|
113
|
+
'lib/internal/timers.js',
|
|
114
|
+
'lib/internal/tty.js',
|
|
115
|
+
'lib/internal/blob.js',
|
|
116
|
+
'lib/internal/child_process.js',
|
|
117
|
+
'lib/internal/event_target.js',
|
|
117
118
|
'lib/internal/linkedlist.js',
|
|
119
|
+
'lib/internal/validators.js',
|
|
118
120
|
'lib/internal/freelist.js',
|
|
121
|
+
'lib/internal/socketaddress.js',
|
|
122
|
+
'lib/internal/repl.js',
|
|
123
|
+
'lib/internal/dgram.js',
|
|
119
124
|
'lib/internal/watchdog.js',
|
|
120
|
-
'lib/internal/
|
|
121
|
-
'lib/internal/querystring.js',
|
|
125
|
+
'lib/internal/blocklist.js',
|
|
122
126
|
'lib/internal/v8_prof_polyfill.js',
|
|
123
|
-
'lib/internal/v8_prof_processor.js',
|
|
124
|
-
'lib/internal/net.js',
|
|
125
127
|
'lib/internal/cli_table.js',
|
|
126
|
-
'lib/internal/
|
|
127
|
-
'lib/internal/buffer.js',
|
|
128
|
-
'lib/internal/dgram.js',
|
|
129
|
-
'lib/internal/event_target.js',
|
|
128
|
+
'lib/internal/v8_prof_processor.js',
|
|
130
129
|
'lib/internal/worker.js',
|
|
131
|
-
'lib/internal/
|
|
130
|
+
'lib/internal/idna.js',
|
|
131
|
+
'lib/internal/options.js',
|
|
132
|
+
'lib/internal/url.js',
|
|
133
|
+
'lib/internal/util.js',
|
|
134
|
+
'lib/internal/buffer.js',
|
|
132
135
|
'lib/internal/errors.js',
|
|
133
|
-
'lib/internal/blob.js',
|
|
134
|
-
'lib/internal/abort_controller.js',
|
|
135
136
|
'lib/internal/assert/assertion_error.js',
|
|
136
137
|
'lib/internal/assert/calltracker.js',
|
|
137
138
|
'lib/internal/bootstrap/environment.js',
|
|
@@ -151,6 +152,12 @@
|
|
|
151
152
|
'lib/internal/cluster/round_robin_handle.js',
|
|
152
153
|
'lib/internal/console/global.js',
|
|
153
154
|
'lib/internal/console/constructor.js',
|
|
155
|
+
'lib/internal/crypto/rsa.js',
|
|
156
|
+
'lib/internal/crypto/scrypt.js',
|
|
157
|
+
'lib/internal/crypto/sig.js',
|
|
158
|
+
'lib/internal/crypto/util.js',
|
|
159
|
+
'lib/internal/crypto/webcrypto.js',
|
|
160
|
+
'lib/internal/crypto/x509.js',
|
|
154
161
|
'lib/internal/crypto/aes.js',
|
|
155
162
|
'lib/internal/crypto/certificate.js',
|
|
156
163
|
'lib/internal/crypto/cipher.js',
|
|
@@ -165,31 +172,25 @@
|
|
|
165
172
|
'lib/internal/crypto/mac.js',
|
|
166
173
|
'lib/internal/crypto/pbkdf2.js',
|
|
167
174
|
'lib/internal/crypto/random.js',
|
|
168
|
-
'lib/internal/crypto/rsa.js',
|
|
169
|
-
'lib/internal/crypto/scrypt.js',
|
|
170
|
-
'lib/internal/crypto/sig.js',
|
|
171
|
-
'lib/internal/crypto/util.js',
|
|
172
|
-
'lib/internal/crypto/webcrypto.js',
|
|
173
|
-
'lib/internal/crypto/x509.js',
|
|
174
175
|
'lib/internal/dns/promises.js',
|
|
175
176
|
'lib/internal/dns/utils.js',
|
|
176
|
-
'lib/internal/fs/utils.js',
|
|
177
|
-
'lib/internal/fs/watchers.js',
|
|
178
|
-
'lib/internal/fs/promises.js',
|
|
179
|
-
'lib/internal/fs/rimraf.js',
|
|
180
|
-
'lib/internal/fs/streams.js',
|
|
181
177
|
'lib/internal/fs/dir.js',
|
|
182
|
-
'lib/internal/fs/
|
|
178
|
+
'lib/internal/fs/streams.js',
|
|
183
179
|
'lib/internal/fs/sync_write_stream.js',
|
|
180
|
+
'lib/internal/fs/promises.js',
|
|
181
|
+
'lib/internal/fs/read_file_context.js',
|
|
182
|
+
'lib/internal/fs/rimraf.js',
|
|
183
|
+
'lib/internal/fs/utils.js',
|
|
184
|
+
'lib/internal/fs/watchers.js',
|
|
184
185
|
'lib/internal/fs/cp/cp-sync.js',
|
|
185
186
|
'lib/internal/fs/cp/cp.js',
|
|
186
187
|
'lib/internal/http2/compat.js',
|
|
187
188
|
'lib/internal/http2/util.js',
|
|
188
189
|
'lib/internal/http2/core.js',
|
|
189
|
-
'lib/internal/main/check_syntax.js',
|
|
190
190
|
'lib/internal/main/eval_stdin.js',
|
|
191
191
|
'lib/internal/main/prof_process.js',
|
|
192
192
|
'lib/internal/main/run_main_module.js',
|
|
193
|
+
'lib/internal/main/check_syntax.js',
|
|
193
194
|
'lib/internal/main/print_help.js',
|
|
194
195
|
'lib/internal/main/repl.js',
|
|
195
196
|
'lib/internal/main/eval_string.js',
|
|
@@ -199,7 +200,6 @@
|
|
|
199
200
|
'lib/internal/modules/run_main.js',
|
|
200
201
|
'lib/internal/modules/cjs/helpers.js',
|
|
201
202
|
'lib/internal/modules/cjs/loader.js',
|
|
202
|
-
'lib/internal/modules/esm/translators.js',
|
|
203
203
|
'lib/internal/modules/esm/create_dynamic_module.js',
|
|
204
204
|
'lib/internal/modules/esm/get_format.js',
|
|
205
205
|
'lib/internal/modules/esm/get_source.js',
|
|
@@ -208,6 +208,7 @@
|
|
|
208
208
|
'lib/internal/modules/esm/module_job.js',
|
|
209
209
|
'lib/internal/modules/esm/module_map.js',
|
|
210
210
|
'lib/internal/modules/esm/resolve.js',
|
|
211
|
+
'lib/internal/modules/esm/translators.js',
|
|
211
212
|
'lib/internal/per_context/domexception.js',
|
|
212
213
|
'lib/internal/per_context/messageport.js',
|
|
213
214
|
'lib/internal/per_context/primordials.js',
|
|
@@ -232,25 +233,28 @@
|
|
|
232
233
|
'lib/internal/source_map/source_map_cache.js',
|
|
233
234
|
'lib/internal/source_map/prepare_stack_trace.js',
|
|
234
235
|
'lib/internal/source_map/source_map.js',
|
|
235
|
-
'lib/internal/streams/legacy.js',
|
|
236
|
-
'lib/internal/streams/passthrough.js',
|
|
237
|
-
'lib/internal/streams/compose.js',
|
|
238
|
-
'lib/internal/streams/duplex.js',
|
|
239
|
-
'lib/internal/streams/end-of-stream.js',
|
|
240
|
-
'lib/internal/streams/readable.js',
|
|
241
|
-
'lib/internal/streams/utils.js',
|
|
242
236
|
'lib/internal/streams/buffer_list.js',
|
|
243
237
|
'lib/internal/streams/from.js',
|
|
244
238
|
'lib/internal/streams/lazy_transform.js',
|
|
245
239
|
'lib/internal/streams/state.js',
|
|
246
240
|
'lib/internal/streams/add-abort-signal.js',
|
|
241
|
+
'lib/internal/streams/compose.js',
|
|
247
242
|
'lib/internal/streams/destroy.js',
|
|
243
|
+
'lib/internal/streams/duplex.js',
|
|
248
244
|
'lib/internal/streams/duplexify.js',
|
|
245
|
+
'lib/internal/streams/end-of-stream.js',
|
|
249
246
|
'lib/internal/streams/pipeline.js',
|
|
247
|
+
'lib/internal/streams/readable.js',
|
|
250
248
|
'lib/internal/streams/transform.js',
|
|
249
|
+
'lib/internal/streams/utils.js',
|
|
251
250
|
'lib/internal/streams/writable.js',
|
|
251
|
+
'lib/internal/streams/legacy.js',
|
|
252
|
+
'lib/internal/streams/passthrough.js',
|
|
252
253
|
'lib/internal/test/binding.js',
|
|
253
254
|
'lib/internal/test/transfer.js',
|
|
255
|
+
'lib/internal/tls/parse-cert-string.js',
|
|
256
|
+
'lib/internal/tls/secure-context.js',
|
|
257
|
+
'lib/internal/tls/secure-pair.js',
|
|
254
258
|
'lib/internal/util/comparisons.js',
|
|
255
259
|
'lib/internal/util/debuglog.js',
|
|
256
260
|
'lib/internal/util/inspector.js',
|
|
@@ -260,9 +264,6 @@
|
|
|
260
264
|
'lib/internal/vm/module.js',
|
|
261
265
|
'lib/internal/worker/io.js',
|
|
262
266
|
'lib/internal/worker/js_transferable.js',
|
|
263
|
-
'lib/internal/tls/parse-cert-string.js',
|
|
264
|
-
'lib/internal/tls/secure-context.js',
|
|
265
|
-
'lib/internal/tls/secure-pair.js',
|
|
266
267
|
'lib/internal/webstreams/encoding.js',
|
|
267
268
|
'lib/internal/webstreams/queuingstrategies.js',
|
|
268
269
|
'lib/internal/webstreams/transfer.js',
|
|
@@ -286,9 +287,8 @@
|
|
|
286
287
|
'lib/dns/promises.js',
|
|
287
288
|
'lib/path/posix.js',
|
|
288
289
|
'lib/path/win32.js',
|
|
289
|
-
'lib/timers/promises.js',
|
|
290
290
|
'lib/util/types.js',
|
|
291
|
-
'lib/
|
|
291
|
+
'lib/fs/promises.js'],
|
|
292
292
|
'node_module_version': 93,
|
|
293
293
|
'node_no_browser_globals': 'false',
|
|
294
294
|
'node_prefix': '/',
|