Skip to content
This repository has been archived by the owner on Jul 16, 2022. It is now read-only.

🚨 [security] Upgrade ejs: 2.6.1 → 3.1.7 (major) #791

Open
wants to merge 1 commit into
base: indev-4.0.2
Choose a base branch
from

Conversation

depfu[bot]
Copy link

@depfu depfu bot commented Apr 27, 2022


Welcome to Depfu 👋

This is one of the first three pull requests with dependency updates we've sent your way. We tried to start with a few easy patch-level updates. Hopefully your tests will pass and you can merge this pull request without too much risk. This should give you an idea how Depfu works in general.

After you merge your first pull request, we'll send you a few more. We'll never open more than seven PRs at the same time so you're not getting overwhelmed with updates.

Let us know if you have any questions. Thanks so much for giving Depfu a try!



🚨 Your current dependencies have known security vulnerabilities 🚨

This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!


Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ ejs (2.6.1 → 3.1.7) · Repo · Changelog

Security Advisories 🚨

🚨 Template injection in ejs

The ejs (aka Embedded JavaScript templates) package 3.1.6 for Node.js allows server-side template injection in settings[view options][outputFunctionName]. This is parsed as an internal option, and overwrites the outputFunctionName option with an arbitrary OS command (which is executed upon template compilation).

Release Notes

3.1.7

Version 3.1.7

3.1.6

Version 3.1.6

3.1.5

Version 3.1.5

3.0.1 (from changelog)

  • Removed require.extensions (@mde)
  • Removed legacy preprocessor include (@mde)
  • Removed support for EOL Nodes 4 and 6 (@mde)

2.7.4

Bug fixes

  • Fixed Node 4 support, which broke in v2.7.3 (5e42d6c, @mde)

2.7.1 (from changelog)

  • Added deprecation notice for use of require.extensions (@mde)

2.6.2

  • Correctly pass custom escape function to includes (@alecgibson)
  • Fixes for rmWhitespace (@nwoltman)
  • Examples for client-side EJS compiled with Express middleware (@mjgs)
  • Make Template constructor public (@ThisNameWasTaken)
  • Added remove function to cache (@S2-)
  • Recognize both 'Nix and Windows absolute paths (@mde)

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by more commits than we can show here.

🆕 rimraf (added, 3.0.2)


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

@depfu depfu bot added the depfu label Apr 27, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants