CVE-2021-22897
Reported by hackerone · Published June 11, 2021
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| essbase | oracle | 21.3, 11.1.2.4.047 |
| curl | haxx | 7.76.1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | https://github.com/curl/curl | 7.61.0 through 7.76.1 |
| alpine | curl | * |
| n/a | https://github.com/curl/curl | 7.61.0 |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| arch | curl | 7.76.1-1 |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | 3.1.0 |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | 3.1.0 |
Timeline
- May 26, 2021 PoC Published (2 in total, the first dated here)
- Jun 11, 2021 CVE Published
- Jun 12, 2021 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory (16 in total, the first dated here)
- Jul 2, 2026 Distribution Patch (11 in total, the first dated here)
- Aug 25, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2021-22897
vulnetix vdb fixes CVE-2021-22897
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-22897/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_MISC
- x_refsource_CONFIRM
- x_refsource_MISC
- x_refsource_CONFIRM
- https://cert-portal.siemens.com/productcert/html/ssa-389290.html url
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html url