[Aikido] Fix 9 security issues in lodash, uuid, @octokit/endpoint and 3 more - #16
Closed
aikido-autofix[bot] wants to merge 1 commit into
Closed
[Aikido] Fix 9 security issues in lodash, uuid, @octokit/endpoint and 3 more#16aikido-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 → #17 |
aikido-autofix
Bot
deleted the
fix/aikido-security-update-packages-41163133-qizp
branch
May 29, 2026 23:29
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 affect this codebase.
The codebase runs on Node.js 24 (as specified in
action.yml), which satisfies all Node.js version requirements from the upgraded packages. The lodash upgrade's breaking changes only affect_.unset,_.omit, and_.template, but this codebase only uses_.filterand_.mergeinsrc/gh.js. The uuid package is not used at all. The @octokit packages are used indirectly through@actions/github, but the code doesn't use any deprecated features like custom HTTP agents, preview APIs, OAuth Authorizations APIs, or required workflow endpoints.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 six were either direct dependencies or transitives pulled in through
@actions/core,@actions/github, andaws-sdk. Changes touch the rootpackage.json(four declared-version bumps and one newoverridesentry) and are realized inpackage-lock.json. A regression introduced during the fix — five newundiciCVEs pulled in at a vulnerable version by the initial@actions/githubbump — was also resolved in the same pass.lodash
lodashis a direct dependency declared in the rootpackage.json. The declared spec was widened from^4.17.21to^4.18.1, which causesnpm installto resolve the lockfile to4.18.1— the minimum version that carries all three patches. No parent chain was involved.uuid
uuidappears as a transitive dependency in two places. The copy under@actions/corewas eliminated entirely by bumping@actions/coreto^2.0.0(that major no longer depends onuuid). The copy nested insideaws-sdkis exact-pinned at8.0.0byaws-sdk's own manifest, and no published version ofaws-sdkresolvesuuidto a patched release, so a targetedoverridesentry ("uuid@<11.1.1": "11.1.1") was added to the rootpackage.jsonas the only remaining option — overrides were used only after confirming no parent bump could fix this instance.@octokit/endpoint
@octokit/endpointis a transitive dependency pulled in by@octokit/request. Fixing it required bumping@actions/githubto^8.0.1, which transitively resolves@octokit/requestto10.x— a version whose declared range for@octokit/endpointis^11.0.3, satisfying the patched floor. No direct declaration of@octokit/endpointexists in the project manifests.@octokit/plugin-paginate-rest
@octokit/plugin-paginate-restis a transitive dependency of@actions/github. Bumping@actions/githubto^8.0.1resolves this package to14.0.0, well above the patched minimum of9.2.2. The parent bump was necessary because the previously installed@actions/github@4.xpinned a2.xrelease of this package.@octokit/request
@octokit/requestis a transitive dependency shared by@actions/github,@octokit/core, and@octokit/graphql. Bumping@actions/githubto^8.0.1pulls in a new@octokit/coremajor (7.x) whose declared range for@octokit/requestresolves to10.0.10, satisfying the patched floor of8.4.1. The old@actions/github@4.x→@octokit/core@3.xchain was the root cause of the stale version.@octokit/request-error
@octokit/request-erroris a transitive dependency of@octokit/request,@octokit/core, and@actions/github. The same@actions/githubbump to^8.0.1that fixed@octokit/requestalso resolves@octokit/request-errorto7.1.0, above the patched minimum of5.1.1, because the new@octokit/request@10.xdeclares@octokit/request-error@^7.x.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 in@actions/http-client@3.x(fixesuuidandundici)@actions/github^4.0.0→4.0.0^8.0.1→8.0.1@octokit/plugin-paginate-rest,@octokit/request,@octokit/request-error,@octokit/endpoint, andundicitransitivesuuid8.3.2(root),8.0.0(underaws-sdk)11.1.1(underaws-sdkvia override; root copy removed)aws-sdk-nested copy; root copy eliminated by@actions/corebump@octokit/endpoint6.0.1211.0.3@actions/github→8.0.1)@octokit/plugin-paginate-rest2.21.314.0.0@actions/github→8.0.1)@octokit/request5.6.310.0.10@actions/github→8.0.1)@octokit/request-error2.1.07.1.0@actions/github→8.0.1)undici5.29.06.26.0@actions/github→8.0.1,@actions/core→2.0.0)@actions/http-client2.2.33.0.2@actions/core→2.0.0); required to resolveundicito a patched version@octokit/core3.6.07.0.6@actions/github→8.0.1)@octokit/graphql4.8.09.0.3@actions/github→8.0.1)