[nextcloud/server] Moment.js vulnerable to Inefficient Regular Expression Complexity
该报告还没有中文解读。
原文摘录
摘自原文(4268 字符中的一小部分)
Describe the bugs: 🐛 moment is a lightweight JavaScript date library for parsing, validating, manipulating, and formatting dates. affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via the preprocessRFC2822() function in from-string.js, when processing …
原文中的代码
moment("(".repeat(500000))默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Nextcloud 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @mik-patient · 版权归作者与 Nextcloud 所有