CVE-2021-22897: curl 7.61.0 through 7.76.1 suffers from exposure of data element to wrong session due to a mistake in the c...
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.
Security readout for executives and security teams
Plain-English summary
This curl/libcurl issue can make one transfer's TLS cipher preference unintentionally affect other concurrent transfers. The main business risk is weakened transport security for applications using affected libcurl versions with the Windows Schannel TLS backend. It is not listed in KEV, and the provided sources do not show active exploitation.
Executive priority
Treat this as a targeted hygiene fix, not an emergency. Prioritize internet-facing or sensitive-data systems using affected Windows Schannel libcurl builds, especially embedded vendor products. Remediate through normal patch cycles unless local inventory confirms high-value concurrent transfer workloads.
Technical view
In curl 7.61.0 through 7.76.1, CURLOPT_SSL_CIPHER_LIST state was stored in a static variable when libcurl used Schannel. Concurrent transfers could therefore share the last configured cipher list, causing the wrong session to use an unintended cipher set. CVSS 3.1 is 5.3, confidentiality impact low, with no integrity or availability impact scored.
Likely exposure
Exposure is most likely in Windows applications or products embedding libcurl 7.61.0 through 7.76.1, built with Schannel, using CURLOPT_SSL_CIPHER_LIST, and running concurrent transfers. Downstream products may be affected through bundled curl, as reflected by vendor advisories from Oracle, NetApp, and Siemens.
Exploitation context
The source bundle marks KEV as false and provides no cited evidence of active exploitation. The weakness requires a specific runtime pattern: affected Schannel-backed libcurl, customized cipher lists, and concurrent transfers. The impact is transport security weakening rather than direct code execution or service outage.
Researcher notes
The key exposure discriminator is not just curl version; it is Schannel plus CURLOPT_SSL_CIPHER_LIST plus concurrency. Evidence in the bundle supports confidentiality risk through unintended cipher selection. It does not support claims of active exploitation, broad remote compromise, or impact outside the affected backend and versions.
Mitigation direction
Upgrade curl/libcurl to a non-affected release per curl guidance.
Apply downstream vendor updates for products embedding affected curl versions.
Prioritize Windows Schannel deployments using custom cipher lists and concurrent transfers.
Review Oracle, NetApp, and Siemens advisories for product-specific remediation.
If immediate upgrade is unavailable, ask the vendor for supported compensating controls.
Validation and detection
Inventory curl and libcurl versions across servers, appliances, and packaged products.
Confirm whether libcurl is built with the Schannel TLS backend.
Identify applications setting CURLOPT_SSL_CIPHER_LIST during concurrent transfers.
Check vendor advisories for embedded curl exposure and fixed releases.
Validate that updated builds isolate cipher configuration per transfer.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · low confidence lookup
CWE-840: Exact CWE lookup
Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-840 · source CWE mapping
Business Logic Errors
Business Logic Errors represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.