← 返回地图破甲

Curl_compareheader() fails to match multi-value HTTP headers

业务逻辑 / Expected Behavior Violation / #3598444

厂商
curl
严重程度
低危
赏金
—
弱点
Expected Behavior Violation
研究员
@henriqueg
披露日期
2026-03-12
资产
https://github.com/curl/curl
CVE
—

该报告还没有中文解读。

原文摘录

摘自原文(4529 字符中的一小部分)
`Curl_compareheader()` in `lib/http.c` fails to scan the full value of HTTP headers for substring matches. Due to an incorrect loop condition, only the first byte position of the header value is checked. This causes curl to miss connection options like `close` when they appear as non-first tokens …
原文中的代码
for(len = curlx_strlen(&val); len >= curlx_strlen(&val); len--, p++) {

默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。

时间线

阅读 HackerOne 原文 ↗作者 @henriqueg · 版权归作者与 curl 所有

同类报告

CURL_NETRC_REQUIRED sends the URL password when the .netrc file has no matching entrycurl · 2026-10-23CVE-2023-28322: more POST-after-PUT confusioncurl · 2023-05-18CVE-2022-32221: POST following PUT confusioncurl · 2022-11-26