PT-2026-56499 · Npm · Immutable-Js
CVSS v4.0
8.7
High
| Vector | AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Name of the Vulnerable Software and Affected Versions
Immutable.js versions prior to 4.3.9
Immutable.js versions prior to 5.1.8
Description
Immutable.Map and Immutable.Set store keys with identical 32-bit hashes in a HashCollisionNode collision bucket that is scanned linearly. An attacker capable of controlling keys inserted into a Map—via
Immutable.Map(obj), Immutable.fromJS(obj), state.merge(userObject), or mergeDeep—can craft numerous colliding keys. This results in degraded insertion and lookup performance, leading to disproportionate CPU consumption.Recommendations
Update to version 4.3.9 or later.
Update to version 5.1.8 or later.
Exploit
Fix
Resource Exhaustion
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Immutable-Js