[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 → #5 |
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.1 viaastroparent spec updateShort summary
This PR fixes a high-severity vulnerability in the transitive dependency
devalue(CVE-2026-42570). The vulnerable version (5.7.1) was resolved inpackage-lock.jsonas a transitive dependency ofastro. The fix updates the declared version spec forastroin the rootpackage.jsonand refreshespackage-lock.jsonso thatdevalueresolves to the patched version5.8.1.devalue
devalueis pulled in transitively byastro, which declares it as^5.6.2. Althoughastro@5.18.1was already installed and its declared range permitsdevalue@5.8.1, the lockfile held a stale pin at5.7.1thatnpm update devalue --package-lock-onlyalone would not refresh. To force re-resolution, theastrospec in the rootpackage.jsonwas tightened from^5.7.10to^5.18.1(a minor floor bump within the same major), andnpm install --package-lock-onlywas run to produce a fresh lockfile entry resolvingdevalueto5.8.1.Version changes
astro^5.7.10(declared)^5.18.1(declared)devaluedevalue5.7.1(resolved)5.8.1(resolved)astro)