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

Update dependency lodash to v4.17.21 [SECURITY] #5876

merged 1 commit into from Jan 10, 2022


Copy link

@renovate renovate bot commented Jan 10, 2022

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
lodash (source) 4.17.20 -> 4.17.21 age adoption passing confidence

GitHub Vulnerability Alerts


lodash versions prior to 4.17.21 are vulnerable to Command Injection via the template function.


All versions of package lodash prior to 4.17.21 are vulnerable to Regular Expression Denial of Service (ReDoS) via the toNumber, trim and trimEnd functions. Steps to reproduce (provided by reporter Liyuan Chen): var lo = require('lodash'); function build_blank (n) { var ret = "1" for (var i = 0; i < n; i++) { ret += " " } return ret + "1"; } var s = build_blank(50000) var time0 =; lo.trim(s) var time_cost0 = - time0; console.log("time_cost0: " + time_cost0) var time1 =; lo.toNumber(s) var time_cost1 = - time1; console.log("time_cost1: " + time_cost1) var time2 =; lo.trimEnd(s) var time_cost2 = - time2; console.log("time_cost2: " + time_cost2)

Release Notes



Compare Source


📅 Schedule: "" (UTC).

🚦 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, click this checkbox.

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

@renovate renovate bot requested review from allspain and hsubox76 as code owners Jan 10, 2022
Copy link

@changeset-bot changeset-bot bot commented Jan 10, 2022

⚠️ No Changeset found

Latest commit: 63b0aa5

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

@google-oss-bot google-oss-bot commented Jan 10, 2022

Copy link

@google-oss-bot google-oss-bot commented Jan 10, 2022

@hsubox76 hsubox76 merged commit 4ddf556 into master Jan 10, 2022
19 checks passed
@hsubox76 hsubox76 deleted the renovate/npm-lodash-vulnerability branch Jan 10, 2022
@firebase firebase locked and limited conversation to collaborators Feb 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

4 participants