[Aikido] Fix 9 security issues in lodash, uuid, @octokit/endpoint and 3 more - #20
Closed
aikido-autofix[bot] wants to merge 1 commit into
Closed
[Aikido] Fix 9 security issues in lodash, uuid, @octokit/endpoint and 3 more#20aikido-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 → #21 |
aikido-autofix
Bot
deleted the
fix/aikido-security-update-packages-47030590-ivog
branch
July 29, 2026 01:04
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.
✅ Code not affected by breaking changes.
✅ No breaking changes from these 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): The
uuidpackage is not directly used in the source code. It only appears as a transitive dependency through@actions/github.@octokit packages: The
@actions/githubpackage (v6.0.1) already depends on the newer versions of@octokit/endpoint(v9.x),@octokit/plugin-paginate-rest(v9.x),@octokit/request(v8.x), and@octokit/request-error(v5.x). The codebase doesn't pass custom HTTP agents or custom request options to Octokit, and doesn't use any deprecated endpoints. The action runs on Node.js 24, which satisfies all version requirements.All upgrades are compatible with the current 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)
All breaking changes by upgrading @octokit/endpoint from version 6.0.12 to 9.0.6 (CHANGELOG)
All breaking changes by upgrading @octokit/plugin-paginate-rest from version 2.21.3 to 9.2.2 (CHANGELOG)
@octokit/coreto v5@octokit/typesto v11All breaking changes by upgrading @octokit/request from version 5.6.3 to 8.4.1 (CHANGELOG)
node-fetchin favor of globalmethod,headers,body,signal,dataAll breaking changes by upgrading @octokit/request-error from version 2.1.0 to 5.1.1 (CHANGELOG)
@octokit/typesto v11✅ 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 changes are applied via the root
package.json(declared dependency version specs) and realized inpackage-lock.json; no workspace members are involved. Two targetedoverridesentries handle transitive instances that have no fixing parent release.lodash
lodashis a direct dependency in the rootpackage.json. Its declared spec was raised from^4.17.21to^4.18.1, resolving the lockfile entry from4.17.21to4.18.1. The bump was necessary to satisfy the patched-version floor required by three CVEs affecting the4.17.xline.uuid
uuidappears as a transitive dependency via two parents. The instance pulled in by@actions/corewas eliminated entirely by bumping@actions/corefrom^1.10.0to^1.11.0, since1.11.0dropped itsuuiddependency. The instance nested underaws-sdk(which exact-pinsuuidat8.0.0and has no fixing release across its entire published history) was addressed with a scoped override"uuid@<11.1.1": "11.1.1", the minimum patched version, targeting only vulnerable instances.undici
undiciwas introduced as a new transitive dependency when@actions/githubwas bumped to^6.0.0in the same remediation pass;@actions/github@6.xpulls in@actions/http-client@^2.2.x, which depends onundici@^5.25.4, resolving to the vulnerable5.29.0. Bumping@actions/githubfurther to^7.0.0brought in@actions/http-client@^3.0.1(≥ 3.0.2), which depends onundici@^6.23.0, resolving to the patched6.24.0. Because@actions/github@7.xalso carries its own directundici@^5.28.5edge, a scoped override"undici@<6.24.0": "6.24.0"was added to force that remaining 5.x pin to the patched floor without globally affecting other consumers.@octokit/endpoint
@octokit/endpointis a transitive dependency pulled in by@octokit/request. The installed version6.0.12is below the patched floor of9.0.6. Bumping@actions/githubto^7.0.0caused@octokit/requestto resolve to8.4.1, which declares@octokit/endpoint@^9.0.0; npm then resolved@octokit/endpointto9.0.6, satisfying the patched-version requirement.@octokit/plugin-paginate-rest
@octokit/plugin-paginate-restis a transitive dependency of@actions/github. The installed version2.21.3is far below the patched floor of9.2.2. Bumping@actions/githubfrom^4.0.0to^7.0.0was required because@actions/github@6.0.0is the first release that declares@octokit/plugin-paginate-rest@^9.0.0, and7.0.0pins it at^9.2.2, allowing npm to resolve directly to the patched9.2.2.@octokit/request
@octokit/requestis a transitive dependency shared by@actions/github,@octokit/core, and@octokit/graphql. The installed version5.6.3is below the patched floor of8.4.1. Bumping@actions/githubto^7.0.0pulled in@octokit/core@^5.0.1and@octokit/graphql@^7.0.0, both of which declare@octokit/request@^8.x; npm resolved the single shared instance to8.4.1.@octokit/request-error
@octokit/request-erroris a transitive dependency of@octokit/coreand@octokit/request. The installed version2.1.0is below the patched floor of5.1.1. The same parent-chain bump that fixed@octokit/request— raising@actions/githubto^7.0.0and thereby pulling in@octokit/core@5.xand@octokit/request@8.4.1— caused both parents to declare@octokit/request-error@^5.x, resolving to the patched5.1.1.Version changes
lodash^4.17.21→4.17.21^4.18.1→4.18.1@actions/core^1.10.0→1.10.0^1.11.0→1.10.1uuidtransitive@actions/github^4.0.0→4.0.0^7.0.0→7.0.0@octokit/plugin-paginate-rest,@octokit/request,@octokit/request-error,@octokit/endpoint, andundiciundici5.29.06.24.0@actions/githubbump + scoped overrideuuid8.3.2/8.0.011.1.1@actions/corebump dropped one instance, scoped override fixedaws-sdk-nested instance@octokit/plugin-paginate-rest2.21.39.2.2@actions/githubparent bump@octokit/request5.6.38.4.1@actions/github→@octokit/core/@octokit/graphqlparent bump@octokit/request-error2.1.05.1.1@actions/github→@octokit/core/@octokit/requestparent bump@octokit/endpoint6.0.129.0.6@octokit/requestparent bump@actions/http-client2.2.33.0.2@actions/githubparent bump; carries patchedundici@^6.23.0@octokit/core3.6.05.2.2@actions/githubparent bump; required for@octokit/requestand@octokit/request-errorfix@octokit/graphql4.8.07.1.1@actions/githubparent bump; required for@octokit/requestfix