Memory leak in Curl_auth_create_ntlm_type3_message
该报告还没有中文解读。
原文摘录
摘自原文(4142 字符中的一小部分)
Summary: When handling NTLMv2, if the decoded type-2 “TargetInfo” is large enough that `ntresplen+header_size` exceeds `NTLM_BUFSIZE` (1024), the code returns early without freeing `ntlmv2resp`, causing a memory leak.
原文中的代码
./build/curl_fuzzer_http input.bin
[input.bin] Opened.. Read 1408 bytes, fuzzing.. complete !!
=================================================================
==2757954==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 964 byte(s) in 1 object(s) allocated from:
#0 0x563de804999d …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @tjbecker_theori · 版权归作者与 curl 所有