# CVE-2021-22897: Schannel cipher selection surprise

- Severity: Medium 5.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 4.25%, higher than 91% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2021-05-26T08:00:00.000Z
- Modified: 2026-10-25T01:04:45.728Z
- Also known as: CURL-CVE-2021-22897
- Weaknesses: CWE-668, CWE-840
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: hackerone

## 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.

(As written by CVE List.)

## Affected

- https://github.com/curl/curl: 7.61.0 through 7.76.1
- https://github.com/curl/curl.git: from 7.61.0 before 7.77.0; from 9aefbff30d280c60fc9d8cc3e0b2f19fc70a2f28 before bbb71507b7bab52002f9b1e0880bed6a32834511
- haxx curl: from 7.61.0 up to 7.76.1
- oracle communications_cloud_native_core_binding_support_function: 1.11.0
- oracle communications_cloud_native_core_network_function_cloud_native_environment: 1.10.0
- oracle communications_cloud_native_core_network_repository_function: 1.15.0; 1.15.1
- oracle communications_cloud_native_core_network_slice_selection_function: 1.8.0
- oracle communications_cloud_native_core_service_communication_proxy: 1.15.0
- oracle essbase: before 11.1.2.4.047; from 21.0 before 21.3
- oracle mysql_server: up to 5.7.34; from 8.0.0 up to 8.0.25
- netapp cloud_backup: no versions given
- netapp solidfire,_enterprise_sds_&_hci_storage_node: no versions given
- netapp solidfire_&_hci_management_node: no versions given
- netapp solidfire_baseboard_management_controller_firmware: no versions given
- netapp hci_compute_node_firmware: no versions given
- netapp h300e_firmware: no versions given
- netapp h300s_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp h500e_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700e_firmware: no versions given
- netapp h700s_firmware: no versions given
- siemens sinec_infrastructure_network_services: before 1.0.1.1
- splunk universal_forwarder: from 8.2.0 before 8.2.12; from 9.0.0 before 9.0.6; 9.1.0

## Every score

- CISA-ADP: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- curl: rating Low
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:P/I:N/A:N`

## References

- <https://hackerone.com/reports/1172857> (exploit, issue-tracking, third-party-advisory)
- <https://curl.se/docs/CVE-2021-22897.html> (patch, vendor-advisory)
- <https://github.com/curl/curl/commit/bbb71507b7bab52002f9b1e0880bed6a32834511> (patch, third-party-advisory)
- <https://www.oracle.com//security-alerts/cpujul2021.html> (patch, third-party-advisory)
- <https://www.oracle.com/security-alerts/cpujan2022.html> (patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20210727-0007/> (third-party-advisory)
- <https://www.oracle.com/security-alerts/cpuapr2022.html> (patch, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf> (patch, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-389290.html>
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Sources

- CVE List: [CVE-2021-22897](https://www.cve.org/CVERecord?id=CVE-2021-22897), CVE Terms of Use, modified 2026-10-14
- curl: [CURL-CVE-2021-22897](https://osv.dev/vulnerability/CURL-CVE-2021-22897), MIT, modified 2026-10-25
- NVD: [CVE-2021-22897](https://nvd.nist.gov/vuln/detail/CVE-2021-22897), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2021-22897 · Whole record: https://cve.day/CVE-2021-22897.json · Rebuilt by cve.day 2026-11-25T22:58:01.808Z
