Unexpected input validation of octal literals in nodejs v15.12.0 and below returns defined values for all undefined octal literals.
代码执行 / Use of Inherently Dangerous Function / #1141623
该报告还没有中文解读。
原文摘录
摘自原文(4494 字符中的一小部分)
**Summary:** Unexpected input validation of octal literals in the nodejs implementation of V8 JavaScript engine V8 9.0.257.13 and below returns defined values for all undefined octal literals where otherwise should return undefined. Input data 08, 09... 078, 079 should return undefined, as evinced …
原文中的代码
console.log(04); console.log(05); console.log(06); console.log(07); console.log(08); console.log(09); console.log(010); console.log(0o4); console.log(0o5); console.log(0o6); console.log(0o7); console.log(0o8); console.log(0o9);
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Node.js 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @sickcodes · 版权归作者与 Node.js 所有