CURLOPT_PROXY_CAINFO_BLOB silently activates native CA store on Apple builds
该报告还没有中文解读。
原文摘录
摘自原文(3947 字符中的一小部分)
`CURLOPT_PROXY_CAINFO_BLOB` (introduced 7.77.0) never sets `proxy_ssl.custom_cablob`. On `USE_APPLE_SECTRUST` / `CURL_CA_NATIVE` builds this causes curl to silently fall back to the system keychain for proxy TLS verification, nullifying the caller's blob-only trust policy.
原文中的代码
/* CURLOPT_CAINFO_BLOB — correct */
if(Curl_ssl_supports(data, SSLSUPP_CAINFO_BLOB)) {
s->ssl.custom_cablob = TRUE; /* ← set */
return Curl_setblobopt(&s->blobs[BLOB_CAINFO], blob);
}
/* CURLOPT_PROXY_CAINFO_BLOB — bug */
if(Curl_ssl_supports(data, SSLSUPP_CAINFO_BLOB))
return …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @giant_anteater · 版权归作者与 curl 所有