Heap-OOB read in urlapi `redirect_url()` via `CURLU_GUESS_SCHEME` + `CURLU_NO_GUESS_SCHEME` flow
该报告还没有中文解读。
原文摘录
摘自原文(3828 字符中的一小部分)
We've found an issue in `lib/urlapi.c` where `redirect_url()` reads past the end of a heap buffer when the source URL it operates on lacks a "scheme://" prefix. This is reachable through documented public APIs (`curl_url_set`) when the caller mixes `CURLU_GUESS_SCHEME` with a subsequent …
原文中的代码
const char *protsep = base + strlen(scheme) + 3;
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @giant_anteater · 版权归作者与 curl 所有