Heap Buffer Overflow in libcurl curl_slist_append via Unterminated String
该报告还没有中文解读。
原文摘录
摘自原文(1800 字符中的一小部分)
Summary A heap buffer overflow vulnerability exists in libcurl's `curl_slist_append()` function in `lib/slist.c:94`. When the function is called with a non-null-terminated string, the internal `strdup()` call triggers `strlen()` to read beyond allocated buffer boundaries, leading to a heap buffer …
原文中的代码
char *buffer = malloc(256); memset(buffer, 'A', 256); // No null termination curl_slist_append(NULL, buffer); // Triggers overflow
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @geeknik · 版权归作者与 curl 所有