Files
node/lib
Antoine du Hamel 2e2dc99115 esm: protect ESM loader from prototype pollution
In a previous commit, the loader implementation was modified to be
protected against most prototype pollution, but was kept vulnerable to
`Array.prototype` pollution. This commit fixes that, the tradeoff is
that it modifies the `ESMLoader.prototype.import` return type from an
`Array` to an array-like object.

Refs: https://github.com/nodejs/node/pull/45044
PR-URL: https://github.com/nodejs/node/pull/45175
Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com>
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
2022-10-27 20:09:07 +00:00
..
…
…
2022-01-30 14:07:32 +00:00
2022-06-11 12:18:15 +02:00
…
2022-10-19 19:26:43 +00:00
2022-08-11 13:07:52 +00:00
2022-06-11 12:18:11 +02:00
2022-08-17 16:08:58 +00:00
…
…
2022-10-04 09:44:08 +00:00
…
2022-10-19 04:26:16 +02:00
2022-09-08 09:33:20 +00:00