mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
499533f72a
It is possible to bypass parameter validation in crypto.scrypt and crypto.scryptSync by crafting option objects with malicious getters as demonstrated in the regression test. After bypassing validation, any value can be passed to the C++ layer, causing an assertion to crash the process. Fixes: https://github.com/nodejs/node/issues/28836 PR-URL: https://github.com/nodejs/node/pull/28838 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> |
||
---|---|---|
.. | ||
assert | ||
bootstrap | ||
cluster | ||
console | ||
crypto | ||
dns | ||
fs | ||
http2 | ||
main | ||
modules | ||
per_context | ||
policy | ||
process | ||
readline | ||
repl | ||
streams | ||
test | ||
util | ||
vm | ||
worker | ||
assert.js | ||
async_hooks.js | ||
buffer.js | ||
child_process.js | ||
cli_table.js | ||
constants.js | ||
dgram.js | ||
dtrace.js | ||
encoding.js | ||
error-serdes.js | ||
errors.js | ||
fixed_queue.js | ||
freelist.js | ||
freeze_intrinsics.js | ||
http.js | ||
idna.js | ||
inspector_async_hook.js | ||
js_stream_socket.js | ||
linkedlist.js | ||
net.js | ||
options.js | ||
priority_queue.js | ||
querystring.js | ||
readme.md | ||
repl.js | ||
socket_list.js | ||
stream_base_commons.js | ||
timers.js | ||
tls.js | ||
trace_events_async_hooks.js | ||
tty.js | ||
url.js | ||
util.js | ||
v8_prof_polyfill.js | ||
v8_prof_processor.js | ||
validators.js | ||
worker.js |
Internal Modules
The modules in lib/internal
are intended for internal use in Node.js core
only, and are not accessible with require()
from user modules. These modules
can be changed at any time. Reliance on these modules outside of core
is not supported in any way.