[Aikido] Fix 9 security issues in lodash, uuid, @octokit/endpoint and 3 more - #19
Closed
aikido-autofix[bot] wants to merge 1 commit into
Closed
[Aikido] Fix 9 security issues in lodash, uuid, @octokit/endpoint and 3 more#19aikido-autofix[bot] wants to merge 1 commit into
aikido-autofix[bot] wants to merge 1 commit into
Conversation
Author
|
Closed by Aikido: a new AutoFix has been created → #20 |
aikido-autofix
Bot
deleted the
fix/aikido-security-update-packages-44080728-tx93
branch
June 9, 2026 23:31
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.
Upgrade dependencies to fix critical RCE vulnerability in lodash template injection via options.imports and high-severity buffer overflow in uuid.
✅ No breaking changes from the package upgrades affect this codebase:
lodash (4.17.21 => 4.18.1): The codebase only uses
_.filter()and_.merge()methods. The breaking changes to_.unset(),_.omit(), and_.template()do not affect this code.uuid (8.3.2 => 11.1.1): This package is not used anywhere in the source code.
@octokit packages: These are transitive dependencies through
@actions/github. The action runs on Node 24 (as specified inaction.yml), which is fully supported by all upgraded versions. The code does not pass custom HTTP agents or request options to octokit, so the removal of Node.js Agent support and custom request options restrictions do not apply.All package upgrades are safe for this codebase.
All breaking changes by upgrading lodash from version 4.17.21 to 4.18.1 (CHANGELOG)
_.unset/_.omitnow blockconstructorandprototypeas non-terminal path keys unconditionally. Calls that previously returnedtrueand deleted the property now returnfalseand leave the target untouched._.templatenow throws"Invalid imports option passed into _.template"whenimportskeys contain forbidden identifier characters, which were previously allowed.All breaking changes by upgrading uuid from version 8.3.2 to 11.1.1 (CHANGELOG)
✅ 9 CVEs resolved by this upgrade, including 1 critical 🚨 CVE
This PR will resolve the following CVEs:
linkheaders, allowing attackers to cause denial of service through specially crafted requests.🤖 Remediation details
Fix security vulnerabilities in lodash, uuid, @octokit/endpoint, @octokit/plugin-paginate-rest, @octokit/request, and @octokit/request-error
Short summary
This PR remediates security vulnerabilities in six npm packages: lodash, uuid, @octokit/endpoint, @octokit/plugin-paginate-rest, @octokit/request, and @octokit/request-error. All fixes are applied via manifest edits to the root
package.json(bumping direct dependencies and their ancestors to versions that resolve patched transitive versions) plus a targetedoverridesentry for one instance that had no viable parent-bump path. Thepackage-lock.jsonis updated accordingly throughout.lodash
lodashis a direct dependency declared in the rootpackage.json. Its version spec was raised from^4.17.21to^4.18.1, resolving the lockfile to4.18.1, which is the minimum patched release covering all three lodash advisories in this task.uuid
uuidappears as a transitive dependency via two parent paths. The instance pulled in by@actions/corewas eliminated entirely by bumping@actions/coreto^2.0.0(see below), since@actions/core ≥ 1.11.0no longer depends onuuidat all. The instance nested underaws-sdk(node_modules/aws-sdk/node_modules/uuid@8.0.0) has no fixing parent path becauseaws-sdkv2 is end-of-life and no published v2 release upgrades its pinneduuiddependency; anoverridesentry ("uuid@<11.1.1": "11.1.1") was added to the rootpackage.jsonas a last resort to force that nested copy to11.1.1.@octokit/endpoint
@octokit/endpointis a transitive dependency pulled in through@octokit/request. Fixing it required bumping@actions/githubto^8.0.1, which brings in@octokit/request@^10.x; that version of@octokit/requestdeclares@octokit/endpoint@^11.0.x, resolving the lockfile to11.0.3(well above the9.0.6patched floor).@octokit/plugin-paginate-rest
@octokit/plugin-paginate-restis a transitive dependency pulled in by@actions/github. Bumping@actions/githubto^8.0.1resolves@octokit/plugin-paginate-restto14.0.0, which satisfies the≥9.2.2patched requirement.@octokit/request
@octokit/requestis a transitive dependency pulled in via@actions/github→@octokit/coreand@octokit/graphql. Bumping@actions/githubto^8.0.1brings in@octokit/core@^7.xand@octokit/graphql@^9.x, both of which declare@octokit/request@^10.x, resolving the lockfile to10.0.10(above the8.4.1patched floor).@octokit/request-error
@octokit/request-erroris a transitive dependency pulled in via@octokit/coreand@octokit/request. The same@actions/githubbump to^8.0.1that fixes the other@octokit/*packages also resolves@octokit/request-errorto7.1.0, which satisfies the≥5.1.1patched requirement.Version changes
lodash^4.17.21→4.17.21^4.18.1→4.18.1@actions/core^1.10.0→1.10.0^2.0.0→2.0.3uuidtransitive and pull@actions/http-client@3.x(fixesundici)@actions/github^4.0.0→4.0.0^8.0.1→8.0.1@octokit/endpoint,@octokit/plugin-paginate-rest,@octokit/request,@octokit/request-error, andundicitransitivesuuid8.3.2/8.0.011.1.1@actions/corepath dropped;aws-sdkpath forced via override@octokit/endpoint6.0.1211.0.3@actions/github→@octokit/request@10.x)@octokit/plugin-paginate-rest2.21.314.0.0@actions/github@8.0.1)@octokit/request5.6.310.0.10@actions/github→@octokit/core@7.x,@octokit/graphql@9.x)@octokit/request-error2.1.07.1.0@actions/github→@octokit/core@7.x,@octokit/request@10.x)@actions/http-client2.2.33.0.2@actions/core@2.0.0); also fixesundicipathundici5.29.0(introduced by round 1)6.26.0@actions/github@8.0.1,@actions/http-client@3.0.2)@octokit/core3.6.07.0.6@actions/github@8.0.1)@octokit/graphql4.8.09.0.3@actions/github@8.0.1)@octokit/plugin-rest-endpoint-methods5.x17.0.0@actions/github@8.0.1)