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

[Deprecated] not found #10

Merged
merged 4 commits into from
Nov 23, 2023
Merged

Conversation

namnguyen-plutoflume
Copy link
Owner

@namnguyen-plutoflume namnguyen-plutoflume commented Nov 22, 2023

This PR contains the following updates:

Package Type Update Change
lodash (source) dependencies patch 4.17.20 -> 4.17.21

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


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 has been generated by Renovate Bot.

@namnguyen-plutoflume
Copy link
Owner Author

Renovate Ignore Notification

Because you closed this PR without merging, Renovate will ignore this update (^4.17.20). You will get a PR once a newer version is released. To ignore this dependency forever, add it to the ignoreDeps array of your Renovate config.

If you accidentally closed this PR, or if you changed your mind: rename this PR to get a fresh replacement PR.

@namnguyen-plutoflume namnguyen-plutoflume restored the renovate/npm-lodash-vulnerability branch November 23, 2023 15:57
@namnguyen-plutoflume namnguyen-plutoflume merged commit d3fded1 into main Nov 23, 2023
1 check passed
@namnguyen-plutoflume namnguyen-plutoflume deleted the renovate/npm-lodash-vulnerability branch November 23, 2023 16:54
@namnguyen-plutoflume namnguyen-plutoflume changed the title Update dependency lodash to v4.17.21 [SECURITY] [Deprecated] not found Nov 24, 2023
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.

2 participants