[Aikido] Fix 9 security issues in lodash, uuid, @octokit/endpoint and 3 more - #13
Closed
aikido-autofix[bot] wants to merge 1 commit into
Closed
[Aikido] Fix 9 security issues in lodash, uuid, @octokit/endpoint and 3 more#13aikido-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 → #14 |
aikido-autofix
Bot
deleted the
fix/aikido-security-update-packages-38427254-n65z
branch
May 24, 2026 23:43
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 (insrc/gh.js). The breaking changes to_.unset(),_.omit(), and_.template()do not affect this code.uuid (8.3.2 => 11.1.1): The uuid package is not used anywhere in the source code.
@octokit packages: These packages are used indirectly through
@actions/github. The codebase usesgithub.getOctokit()without passing custom HTTP agents or request options, so the removal of Node.js Agent support and custom request options does not affect the code. The action runs onnode24runtime (Node.js 24), which satisfies all Node.js version requirements from the upgrades.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, undici, @octokit/endpoint, @octokit/plugin-paginate-rest, @octokit/request, and @octokit/request-error
Short summary
This PR remediates security vulnerabilities in seven npm packages: lodash, uuid, undici, @octokit/endpoint, @octokit/plugin-paginate-rest, @octokit/request, and @octokit/request-error. All fixes are applied via direct dependency version spec changes in the root
package.json, with one targetedoverridesentry for a case where no parent bump was possible. 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 it to4.18.1in the lockfile. This was necessary to satisfy the patched version floor required by three separate CVEs affecting the4.xline.uuid
uuidis a transitive dependency pulled in byaws-sdk, which exact-pins it at8.0.0— no published version ofaws-sdkships a fixeduuid. Because no parent bump was possible, a targeted override"uuid@<11.1.1": "11.1.1"was added to the rootpackage.json. This forces the single nested instance (underaws-sdk) to resolve to11.1.1, the minimum patched version, without globally overridinguuidfor consumers that already resolve a safe version.undici
undiciis a transitive dependency introduced by the@actions/github→@actions/http-clientchain. The installed version5.29.0is vulnerable; the fix requiresundici ≥ 6.23.0, which is only declared by@actions/http-client ≥ 3.0.2, which in turn is only pulled in by@actions/core ≥ 2.0.0and@actions/github ≥ 8.0.1. Both direct dependencies were bumped inpackage.json(@actions/coreto^2.0.0,@actions/githubto^8.0.1), causingundicito resolve to6.25.0and eliminating all five undici CVEs.@octokit/endpoint
@octokit/endpointis a transitive dependency. The installed version6.0.12is vulnerable; the fix requires≥ 9.0.6. Bumping@actions/githubto^8.0.1pulls in a new@octokit/coreand@octokit/requestlineage that declares@octokit/endpoint@^11.0.3, resolving it to11.0.3in the lockfile — well above the patched floor.@octokit/plugin-paginate-rest
@octokit/plugin-paginate-restis a transitive dependency pulled in by@actions/github. The installed version2.21.3is vulnerable; the fix requires≥ 9.2.2. Bumping@actions/githubto^8.0.1causes it to resolve to14.0.0, satisfying the patched version requirement.@octokit/request
@octokit/requestis a transitive dependency. The installed version5.6.3is vulnerable; the fix requires≥ 8.4.1. Bumping@actions/githubto^8.0.1brings in an updated@octokit/coreand@octokit/graphqlthat both declare@octokit/request@^10.0.x, resolving it to10.0.9in the lockfile.@octokit/request-error
@octokit/request-erroris a transitive dependency. The installed version2.1.0is vulnerable; the fix requires≥ 5.1.1. Bumping@actions/githubto^8.0.1pulls in@octokit/core,@octokit/request, and@actions/githubitself all declaring@octokit/request-error@^7.x, resolving it to7.1.0in the lockfile.Version changes
lodash^4.17.21→4.17.21^4.18.1→4.18.1@actions/core^1.10.0→1.10.1^2.0.0→2.0.3@actions/http-client@^3.0.0→undici@^6.23.0@actions/github^4.0.0→4.0.0^8.0.1→8.0.1undici,@octokit/endpoint,@octokit/plugin-paginate-rest,@octokit/request,@octokit/request-erroruuid8.0.0(nested underaws-sdk)11.1.1aws-sdkparent version existsundici5.29.06.25.0@actions/github,@actions/core)@octokit/endpoint6.0.1211.0.3@actions/github)@octokit/plugin-paginate-rest2.21.314.0.0@actions/github)@octokit/request5.6.310.0.9@actions/github)@octokit/request-error2.1.07.1.0@actions/github)@actions/http-client2.2.33.0.2@actions/core,@actions/github)@octokit/core3.6.07.0.6@actions/github)@octokit/graphql4.8.09.0.3@actions/github)@octokit/plugin-rest-endpoint-methods5.16.217.x@actions/github)