devalue 5.8.0〜5.9.2で、サービス拒否により Node.js プロセスが停止する脆弱性
Summary
devalue の stringifyAsync で、非同期の値の処理中に後続の Promise が先に拒否されると、処理されない拒否が発生し、Node.js プロセスが終了することがあります。影響を受けるのは 5.8.0 以上 5.9.3 未満で、5.9.3 に更新すると解消されます。外部から非同期の値のタイミングや失敗を操作できる環境では、早めの更新をおすすめします。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
devalue の stringifyAsync で、非同期の値の処理中に後続の Promise が先に拒否されると、処理されない拒否が発生し、Node.js プロセスが終了することがあります。影響を受けるのは 5.8.0 以上 5.9.3 未満で、5.9.3 に更新すると解消されます。外部から非同期の値のタイミングや失敗を操作できる環境では、早めの更新をおすすめします。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| sveltejsdevalue |
≥ 5.8.0, < 5.9.3→ 5.9.3 |
5.9.3 |
| npmdevalue |
≥ 5.8.0, < 5.9.3→ 5.9.3 |
5.9.3 |
Original description The description as published by the source.
devalue (sveltejs/devalue) 5.8.0 before 5.9.3 contains an unhandled promise rejection in stringifyAsync: when serializing multiple promises, a later promise rejecting before an earlier one settles leaves an internal rejection unhandled, even if the caller catches the returned promise. An attacker able to influence the timing or failure of serialized asynchronous values can terminate the Node.js process.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- package github.com
- web github.com
- web github.com
- web github.com