stream-json 是一个用于处理 JSON 和 JSONC 的微型流组件库,旨在实现极低的内存占用。在 2.0.0 至 3.7.0 版本中,FlexAssembler 将字符串和正则表达式路径过滤器编译为匹配器,这些匹配器会在每个容器(对象或数组)启动时,对整个键栈(key stack)执行连接(join)操作。由于键栈的长度会随着对象或数组的嵌套深度无限制地增长,一个嵌套深度为 D 的文档将触发 D 次连接操作,而每次连接的成本又随当前深度线性增加,从而导致在单线程事件循环中产生二次方(O(n²))的 CP
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| uhop | stream-json | >= 2.0.0, < 3.7.0 |
affected |
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| uhop | stream-json | >= 2.0.0, < 3.7.0 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet