child_process: fix incomplete prototype pollution hardening · nodejs/node@993bb3b · GitHub
Skip to content

Commit 993bb3b

Browse files
lirantalmarco-ippolito
authored andcommitted
child_process: fix incomplete prototype pollution hardening
Prior pull request (#48726) hardened against prototype pollution vulnerabilities but effectively missed some use-cases which opened a window for prototype pollution for some child_process functions such as spawn(), spawnSync(), and execFileSync(). PR-URL: #53781 Reviewed-By: Vinícius Lourenço Claro Cardoso <contact@viniciusl.com.br> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
1 parent 9c5beab commit 993bb3b

2 files changed

Lines changed: 34 additions & 1 deletion

File tree

lib/child_process.js

Lines changed: 1 addition & 0 deletions

test/parallel/test-child-process-prototype-tampering.mjs

Lines changed: 33 additions & 1 deletion

0 commit comments

Comments
 (0)