Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

esm: protect ESM loader from prototype pollution #45175

Merged
merged 5 commits into from
Oct 27, 2022

Commits on Oct 25, 2022

  1. 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: nodejs#45044
    aduh95 committed Oct 25, 2022
    Configuration menu
    Copy the full SHA
    4225d1b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d82537b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    00f3c45 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f93851d View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2022

  1. Configuration menu
    Copy the full SHA
    ae20149 View commit details
    Browse the repository at this point in the history