Lodash "difference" (possibly others) Function Denial of Service Through Unvalidated Input
该报告还没有中文解读。
原文摘录
摘自原文(6024 字符中的一小部分)
> NOTE! Thanks for submitting a report! Please replace *all* the [square] sections below with the pertinent details. Remember, the more detail you provide, the easier it is for us to triage and respond quickly, so be sure to take your time filling out the report!
原文中的代码
const _ = require('lodash')
user_supplied_array = [1, 2, 3]
values_to_compare_to = {'length': 5} // An object with the "length" property defined to an integer will be accepted as an array by the _.difference function
_.difference(values_to_compare_to, user_supplied_array) // This will output a …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Node.js third-party modules 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @spengietz · 版权归作者与 Node.js third-party modules 所有