This repository was archived by the owner on Apr 18, 2026. It is now read-only.
[Aikido] Fix 21 security issues in h3, lodash, thirdweb and 5 more#442
Open
aikido-autofix[bot] wants to merge 1 commit intomainfrom
Open
[Aikido] Fix 21 security issues in h3, lodash, thirdweb and 5 more#442aikido-autofix[bot] wants to merge 1 commit intomainfrom
aikido-autofix[bot] wants to merge 1 commit intomainfrom
Conversation
|
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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 vulnerabilities: H3 SSE injection, Lodash code execution via template imports, Axios proxy bypass/SSRF, and Hono authentication bypass in static file serving.
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 socket.io-parser from version 4.2.4 to 4.2.6 (CHANGELOG)
All breaking changes by upgrading defu from version 6.1.4 to 6.1.5 (CHANGELOG)
✅ 21 CVEs resolved by this upgrade, including 4 critical 🚨 CVEs
This PR will resolve the following CVEs:
\r) characters in data and comment fields, allowing attackers to inject arbitrary SSE events, spoof event types, and split single push() calls into multiple browser-parsed events. This bypasses a prior fix that only addressed newline (\n) injection.setCookie(),serialize(), orserializeSigned(), allowing invalid characters that can cause malformed Set-Cookie headers and runtime errors when processing untrusted cookie names.parseBody({ dot: true })where specially crafted form field names like__proto__.xcreate objects with__proto__properties, potentially enabling prototype pollution if merged unsafely into other objects.basicAuthandbearerAuthmiddlewares used non-timing-safe string comparison for hash validation, potentially allowing timing-based analysis attacks. The vulnerability has been fixed by implementing constant-time comparison to prevent early termination.__proto__payloads in unsanitized user input, potentially leading to application logic bypass or information disclosure.🔗 Related Tasks
PR-Codex overview
This PR focuses on updating various dependencies in the
package.jsonandpnpm-lock.yamlfiles, enhancing the project’s compatibility and performance. It also modifies the structure oflint-stagedconfigurations and adjusts type definitions for better clarity.Detailed summary
packageManagerversion inpackage.json.lint-stagedconfiguration to use array syntax.tmp,h3,lodash,axios,hono,socket.io-parser,defu, andfollow-redirects.typesVersionsstructure inpackages/agw-react/package.json.filesfield inpackages/agw-react/package.jsonto array format.thirdwebversion inpackages/agw-react/package.json.pnpm-lock.yaml, including@tanstack/react-queryandviem.pnpm-lock.yaml.