[Aikido] Fix 19 security issues in h3, lodash, thirdweb and 4 more#433
Closed
aikido-autofix[bot] wants to merge 1 commit intomainfrom
Closed
[Aikido] Fix 19 security issues in h3, lodash, thirdweb and 4 more#433aikido-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 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 SSE injection, arbitrary code execution via template imports, and authentication bypass vulnerabilities.
All breaking changes by upgrading lodash from version 4.17.21 to 4.18.0 (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)
✅ 19 CVEs resolved by this upgrade, including 3 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.ipRestriction()middleware fails to normalize IPv4-mapped IPv6 addresses (e.g.,::ffff:127.0.0.1) before applying IPv4 rules, allowing denied clients to bypass restrictions or legitimate clients to be incorrectly rejected. This is an authorization bypass vulnerability affecting IPv4-based access control policies.toSSG()allows attackers to write files outside the configured output directory by injecting traversal sequences intossgParamsvalues during static site generation. This could lead to arbitrary file writes affecting build artifacts and deployment outputs.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 the
package.jsonfiles and dependency versions across multiple packages, enhancing linting configurations, and improving package management for better compatibility and performance.Detailed summary
packageManagertopnpm@10.30.3.lint-stagedconfiguration for better formatting.h3,lodash,hono,socket.io-parser,axios,defu) with specific version constraints.typesVersionsformat inpackages/agw-react/package.json.thirdwebversion to5.93.5-nightly.pnpm-lock.yaml.@walletconnectpackages, indicating reliability improvements.