chore: fix devalue DoS vulnerability (GHSA-77vg-94rm-hx3p)#2011
Draft
mikeharder with Copilot wants to merge 2 commits into
Draft
chore: fix devalue DoS vulnerability (GHSA-77vg-94rm-hx3p)#2011mikeharder with Copilot wants to merge 2 commits into
mikeharder with Copilot wants to merge 2 commits into
Conversation
Copilot
AI
changed the title
[WIP] Fix devalue memory consumption issue due to sparse array deserialization
chore: fix devalue DoS vulnerability (GHSA-77vg-94rm-hx3p)
Jun 24, 2026
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.
Upgrades transitive dependency
devaluefrom5.8.0→5.8.1to patch a sparse-array deserialization bug that could cause excessive memory allocation in some JS engines.Changes
pnpm-workspace.yaml— Addeddevalue: "5.8.1"override; also migrated the existing override set frompackage.json'spnpm.overridesfield, which pnpm v10 silently ignorespackage.json— Removed the now-deadpnpm.overridesblockpnpm-lock.yaml— Regenerated; alldevaluereferences now resolve to5.8.1Reachability
Not directly reachable.
devalueis a transitive dependency of@alloy-js/coreand is never imported in this codebase — the vulnerabledevalue.parseAPI is not called anywhere. This update is primarily to satisfy vulnerability scanners. Confidence: high.Original prompt