[Aikido] Fix 9 security issues in lodash, uuid, @octokit/endpoint and 3 more - #17
Closed
aikido-autofix[bot] wants to merge 1 commit into
Closed
[Aikido] Fix 9 security issues in lodash, uuid, @octokit/endpoint and 3 more#17aikido-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 → #18 |
aikido-autofix
Bot
deleted the
fix/aikido-security-update-packages-41677493-hf4u
branch
June 2, 2026 23:30
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: The codebase uses
@actions/githubv6.0.1, which abstracts the Octokit packages. The code only uses standardoctokit.request()andoctokit.paginate()calls without passing custom agents or advanced request options. The breaking changes related to Node.js http(s) Agents and custom request options do not affect this usage pattern. Additionally, the action runs on Node.js 24 (as specified inaction.yml), which satisfies all Node.js version requirements.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, and @octokit/* transitive dependencies
Short summary
This PR remediates security vulnerabilities in seven npm packages: lodash, uuid, @octokit/endpoint, @octokit/plugin-paginate-rest, @octokit/request, @octokit/request-error, and undici (introduced as a new transitive by the parent bumps required to fix the octokit chain). All fixes are applied via direct dependency version spec changes in the root
package.json, one targetedoverridesentry for a pinned transitive that cannot be reached by any parent bump, and a refreshedpackage-lock.json.lodash
lodashis a direct dependency declared in the rootpackage.json. Its version spec was raised from^4.17.21to^4.18.1, resolving to4.18.1in the lockfile. This was necessary to satisfy the patched-version floor required by three separate advisories affecting the4.17.xline.uuid
uuidappears as a transitive dependency pulled in by two parents:@actions/core(which droppeduuidentirely in1.11.0) andaws-sdk(which exact-pinsuuid@8.0.0and has no published release that upgrades or drops it). The@actions/corepath was resolved by bumping that direct dependency; theaws-sdkpath required anoverridesentry ("uuid@<11.1.1": "11.1.1") because no version ofaws-sdkon the registry ever resolvesuuidto a patched release, making a parent bump impossible for that edge.@octokit/endpoint
@octokit/endpointis a transitive dependency pulled through@octokit/request. Bumping the direct dependency@actions/githubto^8.0.0caused the entire octokit stack to resolve at a new major generation (@octokit/request@10.x), which in turn resolves@octokit/endpointto11.0.3—well above the9.0.6patched floor. No direct manifest entry for@octokit/endpointwas needed.@octokit/plugin-paginate-rest
@octokit/plugin-paginate-restis a transitive dependency pulled by@actions/github. The installed4.0.0release of@actions/githubresolved it to2.21.3, far below the9.2.2patched floor. Bumping@actions/githubto^8.0.0resolves@octokit/plugin-paginate-restto14.0.0, satisfying the requirement.@octokit/request
@octokit/requestis a transitive dependency pulled by@octokit/coreand@octokit/graphql, both of which are themselves pulled by@actions/github. The4.0.0generation of@actions/githubpinned the entire octokit stack at major versions that resolved@octokit/requestto5.6.3, below the8.4.1patched floor. Bumping@actions/githubto^8.0.0moves the whole stack to a new major generation, resolving@octokit/requestto10.0.10.@octokit/request-error
@octokit/request-erroris a transitive dependency pulled by@octokit/coreand@octokit/request. The same root cause as@octokit/requestapplies: the old@actions/github@4.xgeneration pinned the octokit stack such that@octokit/request-errorresolved to2.1.0, below the5.1.1patched floor. Bumping@actions/githubto^8.0.0resolves it to7.1.0.undici
undiciwas not present in the original lockfile but was introduced as a transitive dependency when@actions/githubwas moved to6.x(required to fix the octokit chain). Both@actions/github@6.xand its nested@actions/http-client@2.xresolvedundicito5.29.0, which carries five advisories. Two parent bumps were required:@actions/githubwas raised further to^8.0.0(which carriesundici ^6.23.0directly and nests@actions/http-client@3.x), and@actions/corewas raised to^2.0.0(the first release that depends on@actions/http-client@^3.0.0, which in turn carriesundici ^6.23.0), eliminating the vulnerable5.xinstance entirely and resolvingundicito6.26.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.3undicivia@actions/http-client@3.x@actions/github^4.0.0/4.0.0^8.0.0/8.0.1@octokit/*chain andundiciuuid8.3.2/8.0.0(two instances)11.1.1(one instance)uuid@<11.1.1) foraws-sdk-pinned instance;@actions/corebump dropped the otherundici5.29.0(introduced by@actions/github@6.x)6.26.0@actions/github@8.x,@actions/core@2.x)@actions/http-client2.2.33.0.2@actions/core@2.xparent bump; carries patchedundici ^6.23.0@octokit/endpoint6.0.1211.0.3@actions/github@8.xparent bump@octokit/plugin-paginate-rest2.21.314.0.0@actions/github@8.xparent bump@octokit/request5.6.310.0.10@actions/github@8.xparent bump@octokit/request-error2.1.07.1.0@actions/github@8.xparent bump@octokit/core3.6.07.0.6@actions/github@8.xparent bump@octokit/graphql4.8.09.0.3@actions/github@8.xparent bump@octokit/plugin-rest-endpoint-methods5.16.217.0.0@actions/github@8.xparent bump@octokit/types6.41.013.10.0@actions/github@8.xparent bump