← 返回地图破甲

TLS session cache ignores CURLOPT_SSL_CTX_FUNCTION identity and resumes one client's session for another

密码学缺陷 / 证书校验不当 / #4129638

厂商
curl
严重程度
低危
赏金
—
弱点
证书校验不当
研究员
@jashu19
披露日期
2026-10-20
资产
https://github.com/curl/curl
CVE
CVE-2016-5419CVE-2017-7468

该报告还没有中文解读。

原文摘录

摘自原文(7005 字符中的一小部分)
**Researcher:** Maturi Jaswanth Sai **Program:** curl (HackerOne) **Asset:** github.com/curl/curl, `lib/vtls/vtls_scache.c` **Affected:** curl 8.21.0, 8.22.0 and 8.23.0 (tag `curl-8_23_0`, 2026-10-14), plus master `eb2b201a` (8.23.1-DEV, 2026-10-19) **Weakness:** CWE-295, wrong client identity on a …
原文中的代码
  if(ssl->clientcert && ssl->clientcert[0]) {
    result = cf_ssl_peer_key_add_path(buf, "CCERT", ssl->clientcert, is_local);
    ...
  if(ssl->key && ssl->key[0]) {
    result = cf_ssl_peer_key_add_path(buf, "KEY", ssl->key, is_local);
    ...
  if(ssl->key_blob) {
    result = …

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

时间线

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

同类报告

[3DS][SSL] Improper certificate validation allows an attacker to perform MitM attacksNintendo · 2020-12-18SameSite restrictions are lifted, and SameSite:Strict cookie are being sent.Brave Software · 2025-10-15CVE-2025-5025: No QUIC certificate pinning with wolfSSLcurl · 2025-05-28CVE-2020-8286: Inferior OCSP verificationcurl · 2020-12-09CVE-2024-2466: TLS certificate check bypass with mbedTLS (reward request)Internet Bug Bounty · 2024-03-29 · $2,580CVE-2025-10966: missing SFTP host verification with wolfSSHcurl · 2025-11-05