[Aikido] Fix 9 security issues in lodash, uuid, @octokit/endpoint and 3 more - #14
Closed
aikido-autofix[bot] wants to merge 1 commit into
Closed
[Aikido] Fix 9 security issues in lodash, uuid, @octokit/endpoint and 3 more#14aikido-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 → #15 |
aikido-autofix
Bot
deleted the
fix/aikido-security-update-packages-39118959-9mrp
branch
May 25, 2026 23:25
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: The codebase only uses
_.filter()and_.merge()methods (insrc/gh.js). The breaking changes in lodash 4.18.x only affect_.unset(),_.omit(), and_.template(), which are not used in this project.uuid: This package is not imported or used anywhere in the source code.
@octokit packages: These are transitive dependencies through
@actions/github. The code uses the high-levelgithub.getOctokit()API without passing custom request options, HTTP agents, or using any deprecated features. The Node.js version requirement changes don't affect this project since it runs on Node.js 24.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.✅ 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 direct dependency version spec changes in the root
package.json, withpackage-lock.jsonupdated accordingly. Because all six vulnerable packages are transitive dependencies (exceptlodash, which is a direct dependency), the fixes required bumping the direct dependencies that own each vulnerable package's resolution chain — specifically@actions/core,@actions/github, andlodashitself. Bumping@actions/githubto^8.0.1also introduced and then resolved a secondary regression in the transitiveundicipackage, which required a further bump of@actions/coreto^2.0.0.lodash
lodashis a direct dependency declared in the rootpackage.json. Its spec was widened from^4.17.21to^4.18.1, resolving the lockfile to4.18.1, which is the minimum patched version covering all three lodash advisories. No parent chain traversal was needed.uuid
uuidappears as a transitive dependency in two places. The instance undernode_modules/uuidwas pulled in by@actions/core@1.10.0(spec^8.3.2); bumping@actions/coreto^1.11.0(later further to^2.0.0) caused that version to drop itsuuiddependency entirely, removing the vulnerable instance from the lockfile. A second instance atnode_modules/aws-sdk/node_modules/uuidremains at8.0.0becauseaws-sdk@2.xexact-pinsuuidat that version and no published release ofaws-sdk@2.xever resolvesuuidto a patched major (11.x / 12.x / 13.x); this instance cannot be fixed without replacing theaws-sdkpackage itself.@octokit/endpoint
@octokit/endpointis a transitive dependency pulled in by@octokit/request, which is itself pulled in through the@actions/github→@octokit/core/@octokit/graphqlchain. Bumping@actions/githubfrom^4.0.0to^8.0.1caused the entire@octokitstack to resolve to a generation that declares@octokit/endpoint@^9.0.0(and later^11.0.0), satisfying the≥9.0.6patched floor. The lockfile resolved to11.0.3.@octokit/plugin-paginate-rest
@octokit/plugin-paginate-restis a transitive dependency of@actions/github. At@actions/github@4.0.0it resolved to2.21.3; bumping@actions/githubto^8.0.1pulled in a version that declares@octokit/plugin-paginate-rest@^14.0.0, well above the≥9.2.2patched floor. The lockfile resolved to14.0.0.@octokit/request
@octokit/requestis a transitive dependency shared by@octokit/coreand@octokit/graphql, both of which are pulled in by@actions/github. At@actions/github@4.0.0it resolved to5.6.3; bumping@actions/githubto^8.0.1caused resolution to@octokit/request@10.0.9, which satisfies the≥8.4.1patched floor.@octokit/request-error
@octokit/request-erroris a transitive dependency of@octokit/coreand@octokit/request. At@actions/github@4.0.0it resolved to2.1.0; bumping@actions/githubto^8.0.1caused the entire@octokitstack to resolve to a generation that declares@octokit/request-error@^7.0.0, satisfying the≥5.1.1patched floor. The lockfile resolved to7.1.0.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.3uuidinstance and to resolveundiciregression via@actions/http-client@^3.0.2@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; also resolvesundiciCVEsuuid8.3.2(root instance)@actions/core@2.xdroppeduuiddependency)@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)@octokit/core3.6.07.0.6@actions/github)@octokit/graphql4.8.09.0.3@actions/github)@actions/http-client2.2.33.0.2@actions/core@2.x); required to resolveundicito patched6.xundici5.29.06.25.0@actions/github@8.x,@actions/http-client@3.x); fixes undici CVEs introduced by the@actions/githubmajor bump@octokit/plugin-rest-endpoint-methods5.16.213.3.0@actions/github)@octokit/types6.41.013.10.0@actions/github)@octokit/auth-token2.5.05.1.2@actions/github→@octokit/core@7.x)