chore(deps): update dependency lodash to v4.18.1 [security]#892
Merged
renovate[bot] merged 1 commit intomasterfrom Apr 10, 2026
Merged
chore(deps): update dependency lodash to v4.18.1 [security]#892renovate[bot] merged 1 commit intomasterfrom
renovate[bot] merged 1 commit intomasterfrom
Conversation
7c3452e to
9fd5040
Compare
jmrenouard
pushed a commit
to jmrenouard/MySQLTuner-perl
that referenced
this pull request
Apr 13, 2026
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
jmrenouard
added a commit
to jmrenouard/MySQLTuner-perl
that referenced
this pull request
Apr 17, 2026
# Release Notes - v2.8.41 **Date**: 2026-04-13 ## 📝 Executive Summary ```text 2.8.41 2026-04-13 - chore: automated project maintenance and cleanup (extracted `RULES.md`, `MEMORY_DB.md`, `TESTS.md`). - feat: implement idiomatic Perl Boolean practices across the project (#34). - feat: add recommendation for `table_open_cache_instances` based on CPU cores (major#480). - feat: improve syslog and systemd journal detection for error logs (major#440). - feat: initialize `$mysqllogin` to avoid uninitialized value warnings (major#490). - fix: Restore compatibility with older Perl versions (by @jasongill). - fix: wrap template loading in `get_template_model()` to avoid `uninitialized value` warnings during `require`. - fix: allow `--updateversion` to work on hosts without `mysql`/`mariadb` installed (#36). - fix: skip local SSL certificate warnings if they are in an inaccessible `datadir` (#33). - fix: correct false positives in `check_removed_innodb_variables` by distinguishing real server variables from internal ones (#32). - fix: improve join_buffer_size recommendation formatting in Variables to Adjust (major#881). - fix: suppress MySQL client warning regarding 'DISABLED' boolean value for SSL (major#887). - fix: correctly handle `--defaults-file` and `--defaults-extra-file` without dropping options (major#605). - fix: restore Debian maintenance account automatic login by using idiomatic boolean checks (major#896). - fix: include `tmp_table_size` in per-thread memory calculation for better accuracy (major#864). - fix: add retry mechanism for initial `SELECT VERSION()` query to improve connection resilience (major#782). - fix: prevent `AUTO_INCREMENT` capacity false positives for empty tables (#37). - fix: refactor InnoDB Redo Log Capacity logic to be workload-based and avoid false positives (major#714, major#737, major#777). - fix: add guards against division by zero in calculations for improved stability (major#435). - fix: add truthiness guards to `mysql_innodb` and `mysql_stats` subroutines. - fix: improve `which` logic for better container/minimal environment support. - fix: enhance login failure reporting with detailed output. - ci: enhance Quality Gate to strictly enforce zero-warning policy on GitHub Actions tests. - ci: implement dynamic CI test environment detection by wrapping configuration extraction. - ci: refactor GitHub Actions release and prerelease workflows to support dynamic versions and checksum generation. - ci: migrate maintenance script to GitHub Actions. - refactor: update CLI metadata to use `undef` as default for string/path options. - refactor: replace non-idiomatic `eq '0'`, `ne 0`, etc., with standard truthiness checks. - refactor: replace "master"/"slave" terminology with "source"/"replica" for cultural sensitivity (major#888). - chore(deps): update docker/setup-buildx-action action to v4. - chore(deps): update docker/build-push-action action to v7. - chore(deps): update docker/login-action action to v4. - chore(deps): update softprops/action-gh-release action to v3. ``` ## 📈 Diagnostic Growth Indicators | Metric | Current | Progress | Status | | :--- | :--- | :--- | :--- | | Total Indicators | 12 | 0 | 🛡️ | | Efficiency Checks | 0 | 0 | 🛡️ | | Risk Detections | 2 | 0 | 🛡️ | | Information Points | 10 | 0 | 🛡️ | ## 🛠️ Internal Commit History - feat: release 2.8.41 (2a8371c) - style: tidy mysqltuner.pl (db23439) - ci: refactor Github release definitions with pre-releases and deliverables support (68f8d12) - ci: enforce zero-warning policy and dynamic test env (2eebcc4) - feat: release 2.8.41 final stabilization (e479ba7) - feat: release 2.8.41 final polish (e8d2751) - feat: release 2.8.41 final polish (bac36cb) - feat: release 2.8.41 (56b9dd7) - Merge pull request #41 from major/master (089a598) - Merge pull request major#885 from major/renovate/docker-setup-buildx-action-4.x (d430513) - Merge pull request major#886 from major/renovate/docker-build-push-action-7.x (9b7dd14) - Merge pull request major#884 from major/renovate/docker-login-action-4.x (5d56ecb) - Merge pull request major#894 from major/renovate/softprops-action-gh-release-3.x (9805873) - Merge pull request major#882 from jasongill/master (d1f3808) - Merge pull request major#895 from jmrenouard/master (2feb466) - Merge pull request #40 from major/master (10fcd37) - Merge branch 'master' into master (c13bb0b) - feat: release 2.8.40 (21d5873) - perltidy mysqltuner.pl (5653056) - chore(deps): update all non-major dependencies to v20.5.0 (major#893) (290b646) - chore(deps): update dependency lodash to v4.18.1 [security] (major#892) (c01e968) - chore: add automerge to Renovate config (633edcc) - Add CodeQL analysis workflow configuration (43a57c9) - Merge pull request #35 from C0RD/master (9474c70) - chore(deps): update all non-major dependencies to v20.5.0 (major#893) (4520d11) - chore(deps): update softprops/action-gh-release action to v3 (75e9cee) - chore(deps): update dependency lodash to v4.18.1 [security] (major#892) (e77d43c) - chore: add automerge to Renovate config (0470fb7) - Merge pull request #38 from jmrenouard/dependabot/npm_and_yarn/npm_and_yarn-b22b4dc46b (69caecf) - Merge pull request #39 from major/master (54dbffd) - chore(deps-dev): bump the npm_and_yarn group across 1 directory with 2 updates (955284a) - chore(deps): update docker/build-push-action action to v7 (a5a6234) - chore(deps): update docker/setup-buildx-action action to v4 (830bbc2) - chore(deps): update docker/login-action action to v4 (2ca8b8d) - Change default update check to disabled (938db61) - Remove r modifier from regex for compatability with older Perl versions (d6f7f97) - chore: bump version to 2.8.41 (3e54167) - Merge pull request major#879 from jmrenouard/master (9b8617f) ## ⚙️ Technical Evolutions *Internal logic hardening (no interface or diagnostic changes).* ## ✅ Laboratory Verification Results - [x] Automated TDD suite passed. - [x] Multi-DB version laboratory execution validated. - [x] Performance indicator delta analysis completed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
4.17.23→4.18.1GitHub Vulnerability Alerts
CVE-2026-4800
Impact
The fix for CVE-2021-23337 added validation for the
variableoption in_.templatebut did not apply the same validation tooptions.importskey names. Both paths flow into the sameFunction()constructor sink.When an application passes untrusted input as
options.importskey names, an attacker can inject default-parameter expressions that execute arbitrary code at template compilation time.Additionally,
_.templateusesassignInWithto merge imports, which enumerates inherited properties viafor..in. IfObject.prototypehas been polluted by any other vector, the polluted keys are copied into the imports object and passed toFunction().Patches
Users should upgrade to version 4.18.0.
The fix applies two changes:
importsKeysagainst the existingreForbiddenIdentifierCharsregex (same check already used for thevariableoption)assignInWithwithassignWithwhen merging imports, so only own properties are enumeratedWorkarounds
Do not pass untrusted input as key names in
options.imports. Only use developer-controlled, static key names.CVE-2026-2950
Impact
Lodash versions 4.17.23 and earlier are vulnerable to prototype pollution in the
_.unsetand_.omitfunctions. The fix for CVE-2025-13465 only guards against string key members, so an attacker can bypass the check by passing array-wrapped path segments. This allows deletion of properties from built-in prototypes such asObject.prototype,Number.prototype, andString.prototype.The issue permits deletion of prototype properties but does not allow overwriting their original behavior.
Patches
This issue is patched in 4.18.0.
Workarounds
None. Upgrade to the patched version.
Release Notes
lodash/lodash (lodash)
v4.18.1Compare Source
Bugs
Fixes a
ReferenceErrorissue inlodashlodash-eslodash-amdandlodash.templatewhen using thetemplateandfromPairsfunctions from the modular builds. See #6167 (comment)These defects were related to how lodash distributions are built from the main branch using https://github.com/lodash-archive/lodash-cli. When internal dependencies change inside lodash functions, equivalent updates need to be made to a mapping in the lodash-cli. (hey, it was ahead of its time once upon a time!). We know this, but we missed it in the last release. It's the kind of thing that passes in CI, but fails bc the build is not the same thing you tested.
There is no diff on main for this, but you can see the diffs for each of the npm packages on their respective branches:
lodash: lodash/lodash@4.18.0-npm...4.18.1-npmlodash-es: lodash/lodash@4.18.0-es...4.18.1-eslodash-amd: lodash/lodash@4.18.0-amd...4.18.1-amdlodash.templatelodash/lodash@4.18.0-npm-packages...4.18.1-npm-packagesv4.18.0Compare Source
v4.18.0
Full Changelog: lodash/lodash@4.17.23...4.18.0
Security
_.unset/_.omit: Fixed prototype pollution viaconstructor/prototypepath traversal (GHSA-f23m-r3pf-42rh, fe8d32e). Previously, array-wrapped path segments and primitive roots could bypass the existing guards, allowing deletion of properties from built-in prototypes. Nowconstructorandprototypeare blocked unconditionally as non-terminal path keys, matchingbaseSet. Calls that previously returnedtrueand deleted the property now returnfalseand leave the target untouched._.template: Fixed code injection viaimportskeys (GHSA-r5fr-rjxr-66jc, CVE-2026-4800, 879aaa9). Fixes an incomplete patch for CVE-2021-23337. Thevariableoption was validated againstreForbiddenIdentifierCharsbutimportsKeyswas left unguarded, allowing code injection via the sameFunction()constructor sink.importskeys containing forbidden identifier characters now throw"Invalid imports option passed into _.template".Docs
_.templatein threat model and API docs (#6099)lower > upperbehavior in_.random(#6115)_.compactjsdoc (#6090)lodash.*modular packagesDiff
We have also regenerated and published a select number of the
lodash.*modular packages.These modular packages had fallen out of sync significantly from the minor/patch updates to lodash. Specifically, we have brought the following packages up to parity w/ the latest lodash release because they have had CVEs on them in the past:
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.