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

fix(deps): update dependency handlebars to v4.3.0 [security] #1839

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 26, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
handlebars (source) 4.2.0 -> 4.3.0 age adoption passing confidence

GitHub Vulnerability Alerts

CVE-2019-19919

Versions of handlebars prior to 3.0.8 or 4.3.0 are vulnerable to Prototype Pollution leading to Remote Code Execution. Templates may alter an Objects' __proto__ and __defineGetter__ properties, which may allow an attacker to execute arbitrary code through crafted payloads.

Recommendation

Upgrade to version 3.0.8, 4.3.0 or later.


Release Notes

handlebars-lang/handlebars.js (handlebars)

v4.3.0

Compare Source

Fixes:

  • Security: Disallow calling "helperMissing" and "blockHelperMissing" directly - 2078c72
  • Disallow calling "helperMissing" and "blockHelperMissing" directly - 2078c72

Features:

  • Add new runtime option allowCallsToHelperMissing to allow calling blockHelperMissing and helperMissing.

Breaking changes:

Compatibility notes:

  • Compiler revision increased - 06b7224

    • This means that template compiled with versions prior to 4.3.0 will not work with runtimes >= 4.3.0
      The increase was done because the "helperMissing" and "blockHelperMissing" are now moved from the helpers
      to the internal "container.hooks" object, so old templates will not be able to call them anymore. We suggest
      that you always recompile your templates with the latest compiler in your build pipelines.
  • Disallow calling "helperMissing" and "blockHelperMissing" directly - 2078c72

    • Calling "helperMissing" and "blockHelperMissing" directly from a template (like in {{blockHelperMissing}} was
      never intended and was part of the exploits that have been revealed early in 20https://github.com/handlebars-lang/handlebars.js/issues/1495s.js/issues/1495). It is also part of a new exploit that
      is not captured by the earlier fix.
      In order to harden Handlebars against such exploits, calling thos helpers
      is now not possible anymore. Overriding those helpers is still possible.
    • If you really need this behavior, you can set the runtime option allowCallsToHelperMissing to true and the
      calls will again be possible

Both bullet points imly that Handlebars is not 100% percent compatible to 4.2.0, despite the minor version bump.

We consider it more important to resolve a major security issue than to maintain 100% compatibility.

Commits

v4.2.2

Compare Source

  • Error message for syntax error missing location in 4.2.1+ (#​1562)

Commits

v4.2.1

Compare Source

Bugfixes:

  • The "browser" property in the package.json has been updated to use the common-js builds instead of the minified UMD - c55a7be, #​1553

Compatibility notes:

  • No compatibility issues should arise

Commits


Configuration

📅 Schedule: Branch creation - "" in timezone Europe/Paris, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the dependencies Pull requests that update a dependency file label Sep 26, 2022
@trollepierre trollepierre removed their request for review September 28, 2022 07:45
@renovate renovate bot force-pushed the renovate/npm-handlebars-vulnerability branch from ba42a8f to 42b1e4a Compare November 9, 2022 16:17
@renovate renovate bot changed the title fix(deps): update dependency handlebars to v4.7.7 [security] Update dependency handlebars to v4.7.7 [SECURITY] Dec 17, 2022
@renovate renovate bot changed the title Update dependency handlebars to v4.7.7 [SECURITY] fix(deps): update dependency handlebars to v4.7.7 [security] Dec 17, 2022
@renovate renovate bot changed the title fix(deps): update dependency handlebars to v4.7.7 [security] fix(deps): update dependency handlebars to v4.7.7 [security] - autoclosed Feb 2, 2023
@renovate renovate bot closed this Feb 2, 2023
@renovate renovate bot deleted the renovate/npm-handlebars-vulnerability branch February 2, 2023 02:31
@renovate renovate bot changed the title fix(deps): update dependency handlebars to v4.7.7 [security] - autoclosed fix(deps): update dependency handlebars to v4.7.7 [security] Feb 2, 2023
@renovate renovate bot reopened this Feb 2, 2023
@renovate renovate bot force-pushed the renovate/npm-handlebars-vulnerability branch from 42b1e4a to c4d8244 Compare March 2, 2023 13:23
@renovate renovate bot force-pushed the renovate/npm-handlebars-vulnerability branch from c4d8244 to 206a4ed Compare March 10, 2023 07:31
@renovate renovate bot changed the title fix(deps): update dependency handlebars to v4.7.7 [security] Update dependency handlebars to v4.7.7 [SECURITY] Jul 7, 2023
@renovate renovate bot changed the title Update dependency handlebars to v4.7.7 [SECURITY] fix(deps): update dependency handlebars to v4.7.7 [security] Jul 10, 2023
@renovate renovate bot changed the title fix(deps): update dependency handlebars to v4.7.7 [security] Update dependency handlebars to v4.7.7 [SECURITY] Oct 17, 2023
@renovate renovate bot changed the title Update dependency handlebars to v4.7.7 [SECURITY] fix(deps): update dependency handlebars to v4.7.7 [security] Oct 18, 2023
@renovate renovate bot changed the title fix(deps): update dependency handlebars to v4.7.7 [security] Update dependency handlebars to v4.7.7 [SECURITY] Nov 16, 2023
@renovate renovate bot changed the title Update dependency handlebars to v4.7.7 [SECURITY] fix(deps): update dependency handlebars to v4.7.7 [security] Nov 16, 2023
@renovate renovate bot changed the title fix(deps): update dependency handlebars to v4.7.7 [security] Update dependency handlebars to v4.7.7 [SECURITY] Dec 21, 2023
@renovate renovate bot changed the title Update dependency handlebars to v4.7.7 [SECURITY] fix(deps): update dependency handlebars to v4.7.7 [security] Dec 21, 2023
@renovate renovate bot changed the title fix(deps): update dependency handlebars to v4.7.7 [security] Update dependency handlebars to v4.7.7 [SECURITY] Dec 21, 2023
@renovate renovate bot changed the title Update dependency handlebars to v4.7.7 [SECURITY] fix(deps): update dependency handlebars to v4.7.7 [security] Dec 29, 2023
@renovate renovate bot changed the title fix(deps): update dependency handlebars to v4.7.7 [security] Update dependency handlebars to v4.7.7 [SECURITY] Mar 18, 2024
@renovate renovate bot changed the title Update dependency handlebars to v4.7.7 [SECURITY] fix(deps): update dependency handlebars to v4.7.7 [security] Mar 19, 2024
@renovate renovate bot changed the title fix(deps): update dependency handlebars to v4.7.7 [security] Update dependency handlebars to v4.7.7 [SECURITY] Mar 19, 2024
@renovate renovate bot changed the title Update dependency handlebars to v4.7.7 [SECURITY] fix(deps): update dependency handlebars to v4.7.7 [security] Mar 19, 2024
@renovate renovate bot changed the title fix(deps): update dependency handlebars to v4.7.7 [security] Update dependency handlebars to v4.7.7 [SECURITY] Mar 19, 2024
@renovate renovate bot changed the title Update dependency handlebars to v4.7.7 [SECURITY] fix(deps): update dependency handlebars to v4.7.7 [security] Mar 20, 2024
@renovate renovate bot changed the title fix(deps): update dependency handlebars to v4.7.7 [security] Update dependency handlebars to v4.7.7 [SECURITY] Mar 20, 2024
@renovate renovate bot changed the title Update dependency handlebars to v4.7.7 [SECURITY] fix(deps): update dependency handlebars to v4.7.7 [security] Mar 21, 2024
@renovate renovate bot changed the title fix(deps): update dependency handlebars to v4.7.7 [security] Update dependency handlebars to v4.7.7 [SECURITY] Mar 21, 2024
@renovate renovate bot changed the title Update dependency handlebars to v4.7.7 [SECURITY] fix(deps): update dependency handlebars to v4.7.7 [security] Mar 21, 2024
@renovate renovate bot changed the title fix(deps): update dependency handlebars to v4.7.7 [security] Update dependency handlebars to v4.7.7 [SECURITY] Mar 27, 2024
@renovate renovate bot changed the title Update dependency handlebars to v4.7.7 [SECURITY] fix(deps): update dependency handlebars to v4.7.7 [security] Mar 27, 2024
@renovate renovate bot changed the title fix(deps): update dependency handlebars to v4.7.7 [security] Update dependency handlebars to v4.7.7 [SECURITY] Mar 27, 2024
@renovate renovate bot changed the title Update dependency handlebars to v4.7.7 [SECURITY] fix(deps): update dependency handlebars to v4.7.7 [security] Apr 2, 2024
@renovate renovate bot changed the title fix(deps): update dependency handlebars to v4.7.7 [security] Update dependency handlebars to v4.7.7 [SECURITY] Apr 2, 2024
@renovate renovate bot changed the title Update dependency handlebars to v4.7.7 [SECURITY] fix(deps): update dependency handlebars to v4.7.7 [security] Apr 4, 2024
@renovate renovate bot force-pushed the renovate/npm-handlebars-vulnerability branch from 206a4ed to 1888bc0 Compare April 10, 2024 11:10
@renovate renovate bot changed the title fix(deps): update dependency handlebars to v4.7.7 [security] fix(deps): update dependency handlebars to v4.3.0 [security] Apr 10, 2024
@renovate renovate bot force-pushed the renovate/npm-handlebars-vulnerability branch 2 times, most recently from f42d836 to 42b128d Compare April 21, 2024 09:07
@renovate renovate bot force-pushed the renovate/npm-handlebars-vulnerability branch from 42b128d to d6495bd Compare April 25, 2024 07:21
@renovate renovate bot force-pushed the renovate/npm-handlebars-vulnerability branch from d6495bd to 4de686d Compare April 29, 2024 08:04
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants