57: Heap out-of-bounds read in `curl_easy_escape_ccsid()` / `curl_easy_unescape_ccsid()`
该报告还没有中文解读。
原文摘录
摘自原文(6091 字符中的一小部分)
`curl_easy_escape_ccsid()` and `curl_easy_unescape_ccsid()` in `projects/OS400/ccsidcurl.c` discard the converted byte count returned by `dynconvert()` and pass `0` to the downstream `curl_easy_escape()` / `curl_easy_unescape()`. When the caller supplies a positive explicit `length` with …
原文中的代码
// curl_easy_escape_ccsid — line 283 s = dynconvert(ASCII_CCSID, string, length ? length : -1, sccsid, NULL); // ... d = curl_easy_escape(handle, s, 0); // line 288 — 0 means strlen() // curl_easy_unescape_ccsid — line 312 s = dynconvert(ASCII_CCSID, string, length ? length : -1, sccsid, NULL); …
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @giant_anteater · 版权归作者与 curl 所有