commit 242aaa0caaf0c15109067b598d58fdeae603c5fd Author: Tobias Nießen Date: Sun Apr 16 22:26:47 2023 +0200 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 CVE-ID: CVE-2023-32559 PR-URL: https://github.com/nodejs-private/node-private/pull/459 Index: node-v14.21.3/doc/api/deprecations.md =================================================================== --- node-v14.21.3.orig/doc/api/deprecations.md +++ node-v14.21.3/doc/api/deprecations.md @@ -2072,6 +2072,9 @@ Type: Documentation-only (supports [`--p `process.binding()` is for use by Node.js internal code only. +While `process.binding()` has not reached End-of-Life status in general, it is +unavailable when [policies][] are enabled. + ### DEP0112: `dgram` private APIs