Lucene search

K
hackeroneLeodog896H1:1946470
HistoryApr 13, 2023 - 11:35 p.m.

Node.js: Dependency Policy Bypass via process.binding

2023-04-1323:35:52
leodog896
hackerone.com
18
node.js
deprecation
api
policy mechanism
internal modules
vulnerability
experimental feature
cve
bug bounty

0.001 Low

EPSS

Percentile

19.3%

The use of the deprecated API process.binding() can bypass the policy mechanism by requiring internal modules and eventually take advantage of process.binding('spawn_sync') run arbitrary code, outside of the limits defined in a policy.json file.

This vulnerability affects all users using the experimental policy mechanism in all active release lines: 16.x, 18.x and, 20.x.

Please note that at the time this CVE was issued, the policy is an experimental feature of Node.js.