Skip to content

security(vulnerabilities): patch handlebars dependency vulnerabilities (from 4.7.6 to 4.7.7)#707

Merged
arnaudbesnier merged 3 commits into
mainfrom
dependabot/npm_and_yarn/handlebars-4.7.7
Aug 25, 2021
Merged

security(vulnerabilities): patch handlebars dependency vulnerabilities (from 4.7.6 to 4.7.7)#707
arnaudbesnier merged 3 commits into
mainfrom
dependabot/npm_and_yarn/handlebars-4.7.7

Conversation

@dependabot-preview

@dependabot-preview dependabot-preview Bot commented May 6, 2021

Copy link
Copy Markdown
Contributor

Bumps handlebars from 4.7.6 to 4.7.7. This update includes a security fix.

Vulnerabilities fixed

Sourced from The GitHub Security Advisory Database.

Remote code execution in handlebars when compiling templates The package handlebars before 4.7.7 are vulnerable to Remote Code Execution (RCE) when selecting certain compiling options to compile templates coming from an untrusted source.

Affected versions: < 4.7.7

Changelog

Sourced from handlebars's changelog.

v4.7.7 - February 15th, 2021

  • fix weird error in integration tests - eb860c0
  • fix: check prototype property access in strict-mode (#1736) - b6d3de7
  • fix: escape property names in compat mode (#1736) - f058970
  • refactor: In spec tests, use expectTemplate over equals and shouldThrow (#1683) - 77825f8
  • chore: start testing on Node.js 12 and 13 - 3789a30

(POSSIBLY) BREAKING CHANGES:

  • the changes from version 4.6.0 now also apply in when using the compile-option "strict: true". Access to prototype properties is forbidden completely by default, specific properties or methods can be allowed via runtime-options. See #1633 for details. If you are using Handlebars as documented, you should not be accessing prototype properties from your template anyway, so the changes should not be a problem for you. Only the use of undocumented features can break your build.

That is why we only bump the patch version despite mentioning breaking changes.

Commits

Commits
  • a9a8e40 v4.7.7
  • e66aed5 Update release notes
  • 7d4d170 disable IE in Saucelabs tests
  • eb860c0 fix weird error in integration tests
  • b6d3de7 fix: check prototype property access in strict-mode (#1736)
  • f058970 fix: escape property names in compat mode (#1736)
  • 77825f8 refator: In spec tests, use expectTemplate over equals and shouldThrow (#1683)
  • 3789a30 chore: start testing on Node.js 12 and 13
  • See full diff in compare view

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)

@dependabot-preview dependabot-preview Bot added dependencies Pull requests that update a dependency file security Pull requests that address a security vulnerability labels May 6, 2021
@dependabot-preview dependabot-preview Bot force-pushed the dependabot/npm_and_yarn/handlebars-4.7.7 branch from 4dcd6b2 to 4e96eeb Compare May 17, 2021 13:58
@dependabot-preview dependabot-preview Bot force-pushed the dependabot/npm_and_yarn/handlebars-4.7.7 branch from 4e96eeb to 3b49d89 Compare May 25, 2021 10:13
@dependabot-preview dependabot-preview Bot force-pushed the dependabot/npm_and_yarn/handlebars-4.7.7 branch 4 times, most recently from bbd100f to 31c042f Compare June 9, 2021 10:04
@dependabot-preview dependabot-preview Bot force-pushed the dependabot/npm_and_yarn/handlebars-4.7.7 branch 4 times, most recently from 07b6b06 to 683cf1b Compare June 16, 2021 13:19
@dependabot-preview dependabot-preview Bot force-pushed the dependabot/npm_and_yarn/handlebars-4.7.7 branch from 683cf1b to c00e370 Compare June 23, 2021 09:19
@dependabot-preview dependabot-preview Bot force-pushed the dependabot/npm_and_yarn/handlebars-4.7.7 branch from c00e370 to 5d24ac2 Compare June 30, 2021 13:35
@dependabot-preview dependabot-preview Bot force-pushed the dependabot/npm_and_yarn/handlebars-4.7.7 branch 4 times, most recently from c9fc08c to 0806385 Compare July 26, 2021 09:05
@dependabot-preview dependabot-preview Bot force-pushed the dependabot/npm_and_yarn/handlebars-4.7.7 branch from 0806385 to 90c8d63 Compare July 27, 2021 08:06
@dependabot-preview dependabot-preview Bot force-pushed the dependabot/npm_and_yarn/handlebars-4.7.7 branch from 90c8d63 to a0c7ff0 Compare August 3, 2021 11:03
@arnaudbesnier arnaudbesnier changed the title build(deps): [security] bump handlebars from 4.7.6 to 4.7.7 security(vulnerabilities): patch handlebars dependency vulnerabilities (from 4.7.6 to 4.7.7) Aug 25, 2021
@qlty-cloud-legacy

Copy link
Copy Markdown

Code Climate has analyzed commit 290292d and detected 0 issues on this pull request.

The test coverage on the diff in this pull request is 100.0% (65% is the threshold).

This pull request will bring the total coverage in the repository to 58.2%.

View more on Code Climate.

@arnaudbesnier arnaudbesnier merged commit fc7cd1c into main Aug 25, 2021
@arnaudbesnier arnaudbesnier deleted the dependabot/npm_and_yarn/handlebars-4.7.7 branch August 25, 2021 14:59
arnaudbesnier added a commit that referenced this pull request Aug 25, 2021
* build(deps): [security] bump tar from 4.4.13 to 4.4.15

Bumps [tar](https://github.com/npm/node-tar) from 4.4.13 to 4.4.15. **This update includes security fixes.**
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v4.4.13...v4.4.15)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* security(vulnerabilities): patch handlebars dependency vulnerabilities (from 4.7.6 to 4.7.7) (#707)

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Arnaud Besnier <arnaudibesnier@gmail.com>
forest-bot added a commit that referenced this pull request Aug 27, 2021
## [9.2.1](v9.2.0...v9.2.1) (2021-08-27)

### Bug Fixes

* **security:** patch color-string dependency vulnerability ([#768](#768)) ([3b6ea07](3b6ea07))
* **security:** patch handlebars dependency vulnerabilities (from 4.7.6 to 4.7.7) ([#707](#707)) ([be1e186](be1e186))
* **security:** patch hosted-git-info dependency vulnerability ([#708](#708)) ([e8bc9ea](e8bc9ea))
* **security:** patch tar dependency vulnerabilities ([#784](#784)) ([a517464](a517464)), closes [#707](#707)
* **security:** patch ws dependency vulnerability ([#763](#763)) ([d299369](d299369))
ShohanRahman pushed a commit that referenced this pull request Jan 25, 2022
Co-authored-by: Romain Gilliotte <romaing@forestadmin.com>
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.

1 participant