Intel

AIKIDO-2026-535243

devalue is vulnerable to Denial of Service (DoS)

Denial of Service (DoS)GHSA-hx4r-w6wj-j8fg Published Yesterday

53

Medium Risk

This Affects:

JSdevalue
0.0.1 - 5.9.2
Fixed in 5.9.3
Are you affected? Scan for Free

TL;DR

uneval does synchronous work proportional to a sparse array's declared length, because traversal and shared-array population visit every hole. Passing a sparse array with a very large length to uneval can block the event loop. Building that sparse array from untrusted input is difficult, so practical exploitation is limited. The fix walks only own enumerable indices and no longer scans holes.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application passes sparse arrays to uneval.

Background info

devalue is vulnerable to Denial of Service (DoS) in versions 0.0.1 - 5.9.2.

How to fix this

Upgrade the devalue library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform