Repository navigation
[Aikido] Fix security issue in devalue via minor version upgrade from 5.6.3 to 5.9.4 - #18
Open
aikido-autofix[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
fordN
self-requested a review
October 21, 2026 21:08
This branch was successfully deployed
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 devalue to fix DoS vulnerabilities in parse/uneval causing exponential payload expansion, massive ArrayBuffer creation, and event-loop blocking.
✅ There are no breaking changes
✅ 11 CVEs resolved by this upgrade
This PR will resolve the following CVEs:
parsed and then passed tounevalcould turn a small payload into a very large serialized string.parsecould create massive ArrayBuffers with very small input. This required a malformedArrayBuffercustom reviver.__proto__as an own property during parsing. While unlikely to cause issues, the vulnerability was addressed to prevent potential prototype pollution attacks.unevalperforms synchronous work proportional to a sparse array's declared length, allowing attackers to block the event loop by passing maliciously crafted sparse arrays.unevalperforms synchronous work proportional to a sparse array's declared length, potentially blocking the event loop when processing arrays with very large lengths and many holes.parseandunflattenfunctions fail to validate revived backing buffers before passing them to typed-array constructors, allowing a malicious reviver to trigger excessive memory allocation via a crafted length value, causing denial of service.__proto__to bypass validation, enabling prototype replacement when the result is copied to another object.__proto__own properties, enabling prototype pollution attacks when downstream code uses unsafe operations likeObject.assignto merge the parsed result, potentially leading to arbitrary code execution or application compromise.🔗 Related Tasks
🤖 Remediation details
Fix transitive
devaluevulnerability via lockfile refreshVulnerable package
devaluewas resolved from5.6.3to5.9.4inpnpm-lock.yaml. No manifest (package.json) edits were required — the parent's existing declared range already admitted the patched version, so a lockfile-only refresh was sufficient.devalue
devalueappeared as a single transitive instance at5.6.3, pulled in by the direct dependencyastro@5.18.0. All reported advisories are patched at≥5.9.3. Becauseastroalready declared a range permitting5.9.3+, no manifest change or override was needed — runningpnpm update devalue --lockfile-onlyresolved the package to5.9.4(the latest compatible release), clearing all eleven advisories in one step.Version changes
devalue5.6.35.9.4astro@5.18.0; patched floor5.9.3