Files
node/lib/internal
Matteo Collina 36e29bf400 tls: route callback exceptions through error handlers
Wrap pskCallback and ALPNCallback invocations in try-catch blocks
to route exceptions through owner.destroy() instead of letting them
become uncaught exceptions. This prevents remote attackers from
crashing TLS servers or causing resource exhaustion.

Fixes: https://hackerone.com/reports/3473882
PR-URL: https://github.com/nodejs-private/node-private/pull/782
Backport-PR-URL: https://github.com/nodejs/node/pull/61044
CVE-ID: CVE-2026-21637
Refs: https://github.com/nodejs/node/pull/57643
2026-02-04 15:32:53 +01:00
..
2025-11-18 13:16:10 +01:00
…
…
…
2026-01-27 22:52:28 +01:00
…
2025-07-21 10:59:01 +02:00
2025-08-21 19:01:02 +02:00
2025-10-06 16:27:09 +02:00
…
2026-01-19 19:19:22 +01:00
2025-07-21 10:58:59 +02:00
…

Internal Modules

The modules located in lib/internal directory are exclusively meant for internal usage within the Node.js core. They are not intended to be accessed via user modules require(). These modules may change at any point in time. Relying on these internal modules outside the core is not supported and can lead to unpredictable behavior.

In certain scenarios, accessing these internal modules for debugging or experimental purposes might be necessary. Node.js provides the --expose-internals flag to expose these modules to userland code. This flag only exists to assist Node.js maintainers with debugging internals. It is not meant for use outside the project.