拒绝服务漏洞: 可以利用运行长度编码来锁定 JS 线程
作者: gvergnaud创建于 2025年1月9日更新于 2026年8月26日
标签bug
Checklist
- Are you reporting a bug? Use GitHub issues for bug reports and feature requests. For general questions, please use https://discuss.yjs.dev/
- Try to report your issue in the correct repository. Yjs consists of many modules. When in doubt, report it to https://GitHub.com/yjs/yjs/issues/
Describe the bug
It's possible to craft an invalid Uint8Array that will exploit run-length encoding to make Yjs' internals loop forever or eat up all your RAM when decoding an update.
内容来源: yjs/yjs