Skip to content

fix(deps): update dependency lodash to v4.17.21 [security] #71

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

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented May 30, 2023

This PR contains the following updates:

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

GitHub Vulnerability Alerts

CVE-2020-28500

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 = Date.now();
lo.trim(s) 
var time_cost0 = Date.now() - time0;
console.log("time_cost0: " + time_cost0);
var time1 = Date.now();
lo.toNumber(s) var time_cost1 = Date.now() - time1;
console.log("time_cost1: " + time_cost1);
var time2 = Date.now();
lo.trimEnd(s);
var time_cost2 = Date.now() - time2;
console.log("time_cost2: " + time_cost2);

CVE-2021-23337

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


Release Notes

lodash/lodash (lodash)

v4.17.21

Compare Source

v4.17.20

Compare Source

v4.17.19

v4.17.16

Compare Source


Configuration

📅 Schedule: Branch creation - "" (UTC), 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 was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/npm-lodash-vulnerability branch from 577abdb to 11cd8de Compare January 24, 2025 03:34
@renovate renovate bot force-pushed the renovate/npm-lodash-vulnerability branch from 11cd8de to d03ad88 Compare January 31, 2025 19:15
@renovate renovate bot force-pushed the renovate/npm-lodash-vulnerability branch from d03ad88 to 75c7099 Compare February 11, 2025 04:03
@renovate renovate bot force-pushed the renovate/npm-lodash-vulnerability branch from 75c7099 to 7071feb Compare March 5, 2025 04:02
@renovate renovate bot force-pushed the renovate/npm-lodash-vulnerability branch 2 times, most recently from 686df13 to ac1930f Compare March 14, 2025 03:31
@renovate renovate bot force-pushed the renovate/npm-lodash-vulnerability branch from ac1930f to e172809 Compare March 20, 2025 03:40
@renovate renovate bot force-pushed the renovate/npm-lodash-vulnerability branch 2 times, most recently from e1546b3 to 5141953 Compare April 10, 2025 04:09
@renovate renovate bot force-pushed the renovate/npm-lodash-vulnerability branch from 5141953 to 298828d Compare April 26, 2025 19:38
@renovate renovate bot force-pushed the renovate/npm-lodash-vulnerability branch from 298828d to 7544045 Compare May 24, 2025 12:18
@renovate renovate bot force-pushed the renovate/npm-lodash-vulnerability branch 2 times, most recently from 599fe5b to 4aeb691 Compare June 5, 2025 03:57
@renovate renovate bot force-pushed the renovate/npm-lodash-vulnerability branch from 4aeb691 to d68b237 Compare June 28, 2025 04:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants