HTTP/2 proxy CONNECT tunnel unbounded 1xx chain (missing Curl_bump_headersize cap in cf-h2-proxy.c)
拒绝服务 / Allocation of Resources Without Limits or Throttling / #3734020
该报告还没有中文解读。
原文摘录
摘自原文(3954 字符中的一小部分)
A malicious HTTPS-on-HTTP/2 proxy can grow a libcurl client's resident set without bound during the CONNECT phase by streaming 1xx informational responses. The CVE-2023-38039 cap (`MAX_HTTP_RESP_HEADER_SIZE`, 300 KiB, enforced through `Curl_bump_headersize`) is not applied on the HTTP/2 proxy path. …
原文中的代码
openssl req -x509 -newkey rsa:2048 -keyout /tmp/proxy.key -out /tmp/proxy.crt -days 1 -nodes -subj "/CN=localhost" 2>/dev/null && pip3 install --quiet --break-system-packages h2
默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @giant_anteater · 版权归作者与 curl 所有