Original description
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.
Affected software
- curl ≥ 7.61.0 ≤ 7.76.1 exact match
Details
- Published
- 2021-06-11
- Last modified
- 2026-10-14
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N- CWE
- CWE-840, CWE-668
- EPSS (30-day exploit probability)
- 4.27% (percentile 91)
References
- cve.org/CVE-2021-22897
- nvd.nist.gov/vuln/detail/CVE-2021-22897
- cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- curl.se/docs/CVE-2021-22897.html
- github.com/curl/curl/commit/bbb71507b7bab52002f9b1e0880bed6a32834511
- hackerone.com/reports/1172857
- security.netapp.com/advisory/ntap-20210727-0007/
- www.oracle.com//security-alerts/cpujul2021.html
- www.oracle.com/security-alerts/cpuapr2022.html
- www.oracle.com/security-alerts/cpujan2022.html
- cert-portal.siemens.com/productcert/html/ssa-389290.html
- cert-portal.siemens.com/productcert/html/ssa-398330.html
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.