Skip to content

[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
mainfrom
fix/aikido-security-OPS-1248-update-packages-152385559-61nj
Open

aikido-autofix[bot] wants to merge 1 commit into
mainfrom
fix/aikido-security-OPS-1248-update-packages-152385559-61nj

Conversation

@aikido-autofix

Copy link
Copy Markdown

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:

Issue Severity           Description
GHSA-mcm9-63f2-9j32
HIGH
[devalue] Under very constrained circumstances, data that was parsed and then passed to uneval could turn a small payload into a very large serialized string.
GHSA-r9w8-h9r3-54w4
HIGH
[devalue] Under very specific circumstances, parse could create massive ArrayBuffers with very small input. This required a malformed ArrayBuffer custom reviver.
GHSA-4q55-j62x-fr9h
MEDIUM
[devalue] A defensive measure against prototype pollution where certain payloads could create objects with __proto__ as an own property during parsing. While unlikely to cause issues, the vulnerability was addressed to prevent potential prototype pollution attacks.
GHSA-hx4r-w6wj-j8fg
MEDIUM
[devalue] A denial-of-service vulnerability exists where uneval performs synchronous work proportional to a sparse array's declared length, allowing attackers to block the event loop by passing maliciously crafted sparse arrays.
AIKIDO-2026-354683
MEDIUM
[devalue] A vulnerability allows attackers to cause quadratic output expansion through repeated primitives in serialized data, leading to CPU and memory exhaustion (Denial of Service) during the serialization process.
AIKIDO-2026-535243
MEDIUM
[devalue] A denial-of-service vulnerability where uneval performs 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.
AIKIDO-2026-674264
LOW
[devalue] The parse and unflatten functions 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.
AIKIDO-2026-583329
LOW
[devalue] A sparse array vulnerability allows attackers to craft malicious input that generates code allocating excessive memory when evaluated, causing denial of service through memory exhaustion in the runtime.
AIKIDO-2026-403281
LOW
[devalue] Prototype pollution vulnerability in parse and unflatten functions allows non-string keys coercing to __proto__ to bypass validation, enabling prototype replacement when the result is copied to another object.
GHSA-mwv9-gp5h-frr4
LOW
[devalue] The parsing functions can emit objects with __proto__ own properties, enabling prototype pollution attacks when downstream code uses unsafe operations like Object.assign to merge the parsed result, potentially leading to arbitrary code execution or application compromise.
GHSA-wf3x-273g-mvxv
LOW
[devalue] Sparse array evaluation can cause excessive memory allocation proportional to declared length, leading to denial of service through memory exhaustion when evaluating serialized output.
🔗 Related Tasks
🤖 Remediation details

Fix transitive devalue vulnerability via lockfile refresh

Vulnerable package devalue was resolved from 5.6.3 to 5.9.4 in pnpm-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

devalue appeared as a single transitive instance at 5.6.3, pulled in by the direct dependency astro@5.18.0. All reported advisories are patched at ≥5.9.3. Because astro already declared a range permitting 5.9.3+, no manifest change or override was needed — running pnpm update devalue --lockfile-only resolved the package to 5.9.4 (the latest compatible release), clearing all eleven advisories in one step.

Version changes

Package From To Why updated
devalue 5.6.3 5.9.4 Lockfile refresh only — transitive via astro@5.18.0; patched floor 5.9.3

@vercel

vercel Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
amp Ready Ready Preview Oct 21, 2026 7:44pm UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — a8fa1080 Deployed Oct 21, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant