{"id":"CVE-2021-22897","published":"2021-06-11T15:49:38Z","modified":"2026-10-14T10:21:15Z","title":"curl 7.61.0 through 7.76.1 suffers from exposure of data element to wrong session due to a mistake in the code for…","vendor":null,"product":null,"tier":"tail","description":{"text":"curl 7.61.0 through 7.76.1 suffers from exposure of data element to wrong session due to a mistake in the code for CURLOPT_SSL_CIPHER_LIST when libcurl is built to use the Schannel TLS library. The selected cipher set was stored in a single \"static\" variable in the library, which has the surprising side-effect that if an application sets up multiple concurrent transfers, the last one that sets the ciphers will accidentally control the set used by all transfers. In a worst-case scenario, this weakens transport security significantly.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.04265,"percentile":0.91306,"provenance":"source"},"cwes":[{"id":"CWE-840","name":"Business Logic Errors (CWE-840)"}],"references":[{"url":"https://hackerone.com/reports/1172857","tags":["x_refsource_MISC"]},{"url":"https://curl.se/docs/CVE-2021-22897.html","tags":["x_refsource_MISC"]},{"url":"https://github.com/curl/curl/commit/bbb71507b7bab52002f9b1e0880bed6a32834511","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com//security-alerts/cpujul2021.html","tags":["x_refsource_MISC"]},{"url":"https://www.oracle.com/security-alerts/cpujan2022.html","tags":["x_refsource_MISC"]},{"url":"https://security.netapp.com/advisory/ntap-20210727-0007/","tags":["x_refsource_CONFIRM"]},{"url":"https://www.oracle.com/security-alerts/cpuapr2022.html","tags":["x_refsource_MISC"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf","tags":["x_refsource_CONFIRM"]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-389290.html","tags":[]},{"url":"https://cert-portal.siemens.com/productcert/html/ssa-398330.html","tags":[]}],"priority":{"score":22.0,"factors":[{"name":"EPSS percentile","points":18.26},{"name":"CVSS severity","points":3.71}]},"affectedVersions":[{"vendor":"n/a","product":"https://github.com/curl/curl","versions":["7.61.0 through 7.76.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-28T19:47:49.058767Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"A flaw in curl versions 7.61.0 through 7.76.1, when libcurl is built to use the Schannel TLS library, causes the cipher set chosen via CURLOPT_SSL_CIPHER_LIST to be stored in a single static variable shared across all transfers, so the last transfer to set ciphers controls the set used by every concurrent transfer. An attacker with network access and no authentication or user interaction can exploit this in a worst-case scenario to significantly weaken transport security for the affected connections.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:06:46Z"},"euvd":{"id":"EUVD-2021-10029","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-cve-2021-22897-family-cve-2021-22897","children":[{"from":"CVE-2021-22897","to":"CVE-2021-22901","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/vtls/schannel.c"],"commits":["https://github.com/curl/curl/commit/bbb71507b7bab52002f9b1e0880bed6a32834511","https://github.com/curl/curl/commit/7f4a9a9b2a49547eae24d2e19bc5c346e9026479"],"basis":"shared function","functions":["get_alg_id_by_name"]}]}]}}