CVE-2021-22897
CWE-840Published: June 11, 2021· Updated: Jun 17, 2026
Official 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.
Technical Analysis
CVE-2021-22897 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (17)
Quick Facts
Related CVEs (CWE-840)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2021-22897 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts