# SCURLOPT_SSH_KNOWNHOSTS and host fingerprint pins are silently bypassed when an SSH connection is reused from the connection pool
代码执行 / Exposed Dangerous Method or Function / #3645415
该报告还没有中文解读。
原文摘录
摘自原文(14205 字符中的一小部分)
**libcurl** (all versions, all platforms, compiled with `USE_SSH`) Protocols affected: `sftp://`, `scp://`
原文中的代码
#ifdef USE_SSH
static bool ssh_config_matches(struct connectdata *one,
struct connectdata *two)
{
struct ssh_conn *sshc1, *sshc2;
sshc1 = Curl_conn_meta_get(one, CURL_META_SSH_CONN);
sshc2 = Curl_conn_meta_get(two, CURL_META_SSH_CONN);
return sshc1 && sshc2 …默认不展示报告全文。以上为简短摘录,完整复现过程请阅读原文。版权归研究员与 curl 所有。
时间线
- 报告提交
- 公开披露
阅读 HackerOne 原文 ↗作者 @spiderchan26 · 版权归作者与 curl 所有