Use After Free in crypto.randomFill
该报告还没有中文解读。
原文摘录
摘自原文(3422 字符中的一小部分)
We can trigger Use-After-Free while running crypto.randomFill, so we can easily read/write heap memory using a typed array pointing a freed backing store.
原文中的代码
void RandomBytesBuffer(const FunctionCallbackInfo<Value>& args) {
...
char* data = Buffer::Data(args[0]); // <------------ Get a backing store from a given argument.
data += offset;
std::unique_ptr<RandomBytesRequest> req(
new RandomBytesRequest(env,
obj, …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 Node.js 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @tunz · 版权归作者与 Node.js 所有