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

[Security] Bump ejs from 2.4.2 to 3.1.5 #46

Closed
wants to merge 1 commit into from

Conversation

dependabot-preview[bot]
Copy link

Bumps ejs from 2.4.2 to 3.1.5. This update includes security fixes.

Vulnerabilities fixed

Sourced from The GitHub Security Advisory Database.

Moderate severity vulnerability that affects ejs nodejs ejs version older than 2.5.5 is vulnerable to a Cross-site-scripting in the ejs.renderFile() resulting in code injection

Affected versions: < 2.5.5

Sourced from The GitHub Security Advisory Database.

High severity vulnerability that affects ejs nodejs ejs version older than 2.5.5 is vulnerable to a denial-of-service due to weak input validation in the ejs.renderFile()

Affected versions: < 2.5.5

Sourced from The GitHub Security Advisory Database.

High severity vulnerability that affects ejs nodejs ejs versions older than 2.5.3 is vulnerable to remote code execution due to weak input validation in ejs.renderFile() function

Affected versions: < 2.5.3

Release notes

Sourced from ejs's releases.

v3.1.5

Version 3.1.5

v3.0.2

No release notes provided.

v2.7.4

Bug fixes

v2.7.3

Bug fixes

v2.7.2

Features

  • Added support for destructuring locals (#452, @ExE-Boss)
  • Added support for disabling legacy include directives (#458, #459, @ExE-Boss)
  • Compiled functions are now shown in the debugger (#456, @S2-)
  • function.name is now set to the file base name in environments that support this (#466, @ExE-Boss)

Bug Fixes

  • The error message when async != true now correctly mention the existence of the async option (#460, @ExE-Boss)
  • Improved performance of HTML output generation (#470, @nwoltman)

v2.7.1

Deprecated:

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

v2.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)

v2.5.8

  • Add filename to error when include file cannot be found (@Leon)
  • Node v9 in CI (@Thomas)
  • Fixed special case for Express caching (@mde)
  • Added Promise/async-await support to renderFile (@mde)
  • Added notes on IDE support to README (@Betanu701)

v2.5.7

  • Pass configured escape function to rethrow (@straker)
Changelog

Sourced from ejs's changelog.

v3.0.1: 2019-11-23

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

v2.7.4: 2019-11-19

Bug fixes

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

v2.7.3: 2019-11-19

Bug fixes

v2.7.2: 2019-11-13

Features

  • Added support for destructuring locals (#452, @ExE-Boss)
  • Added support for disabling legacy include directives (#458, #459, @ExE-Boss)
  • Compiled functions are now shown in the debugger (#456, @S2-)
  • function.name is now set to the file base name in environments that support this (#466, @ExE-Boss)

Bug Fixes

  • The error message when async != true now correctly mention the existence of the async option (#460, @ExE-Boss)
  • Improved performance of HTML output generation (#470, @nwoltman)

v2.7.1: 2019-09-02

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

v2.6.2: 2019-06-19

  • 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)

v2.6.1: 2018-04-18

  • Async rendering (@Viko)

v2.5.9: 2018-04-18

  • Fixed options-passing for Express (@mde)
  • Re-enabled performance tests (@mde)

v2.5.8: 2018-03-25

  • Add filename to error when include file cannot be found (@Leon)
  • Node v9 in CI (@Thomas)
Commits
  • 1f58d4b Version 3.1.5
  • 6f4a0aa Version 3.1.4
  • 4c5e560 Removed arrow
  • 4317967 Linting
  • 86f1e7f Removed post-install script
  • 8831f6c Merge pull request #526 from brittharr/fix-cli-passthrough
  • 0cf97ae convert cli passthrough hyphen case options to camelcase before rendering
  • 5c38c53 failing test for hyphen case cli options
  • ec66df2 Merge pull request #523 from chemecse/fix-cli-includes
  • bb4e4a4 Fix cli includes by defaulting views to the current working directory
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by mde, a new releaser for ejs since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Bumps [ejs](https://github.com/mde/ejs) from 2.4.2 to 3.1.5. **This update includes security fixes.**
- [Release notes](https://github.com/mde/ejs/releases)
- [Changelog](https://github.com/mde/ejs/blob/master/CHANGELOG.md)
- [Commits](mde/ejs@v2.4.2...v3.1.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability labels Aug 17, 2020
@dependabot-preview
Copy link
Author

Superseded by #58.

@dependabot-preview dependabot-preview bot deleted the dependabot/npm_and_yarn/ejs-3.1.5 branch February 8, 2021 11:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants