[Aikido] Fix security issue in devalue via minor version upgrade from 5.7.1 to 5.8.1#4
Closed
aikido-autofix[bot] wants to merge 1 commit into
Closed
Conversation
Author
|
Closed by Aikido: a new AutoFix has been created → #6 |
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 HIGH severity DoS vulnerability in sparse array deserialization causing excessive memory consumption.
✅ There are no breaking changes
✅ 1 CVE resolved by this upgrade
This PR will resolve the following CVEs:
devalue.parsecould, due to quirks in some JavaScript engines, be convinced to allocate much more memory than was needed when deserializing sparse arrays, leading to excessive memory consumption.🤖 Remediation details
Fix CVE-2026-42570: bump transitive
devalueto 5.8.1Short summary
This PR remediates a high-severity vulnerability in the
devaluepackage by updating its resolved version inpackage-lock.json. Nopackage.jsonmanifest changes were required. The fix is a lockfile-only transitive update;devalueis pulled in by the direct dependencyastro.devalue
devalueis a transitive dependency ofastro(declared as"^5.6.2"byastro@5.18.1). The lockfile was resolvingdevalueto5.7.1, which is vulnerable; the patched floor is5.8.1. Because5.8.1satisfiesastro's declared range, no manifest edit or override was needed — runningnpm update devalue --package-lock-onlywas sufficient to advance the resolved version to5.8.1and close the vulnerability.Version changes
devalue5.7.15.8.1astro's existing^5.6.2range