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 code for CURLOPT_SSL_CIPHER_LIS…

CVE-2021-22897 affects 124 listed versions of Oracle MySQL in the Dawnsentry catalogue.

5.3CVSS medium
Proof of concept publicexploitation
4%EPSS (next 30 days)
11 June 2021published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Oracle MySQL

124 of 221 listed versions are affected. No fixed release is named. The newest release, 26.10.0, is not affected.

5.7.34 5.7.33 5.7.32 5.7.31 5.7.30 5.6.51 5.6.50 5.6.49 5.6.48 5.6.47 5.6.46 5.6.45 5.6.44 5.6.43 5.6.42 5.6.41 5.6.40 5.6.39 5.6.38 5.6.37 5.5.63 5.5.62 5.5.61 5.5.60 5.5.59 5.5.58 5.5.57 5.5.56 5.5.55 5.5.54 5.5.53 5.5.52 5.5.51 5.5.50 5.5.49 5.3.13 5.1.73 5.1.72 5.1.71 5.1.70 5.1.69 5.1.68 5.1.67 5.1.66 5.1.65 5.1.64 5.1.63 5.1.62 5.1.61 5.1.60 5.1.59 5.0.96 5.0.94 5.0.93 5.0.92 5.0.91 5.0.90 5.0.89 5.0.88 5.0.87-sp1 and 64 more

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N (NVD)

Published by Hackerone on 11 June 2021. Last changed 14 October 2026.

Sources

Check one version you run: look CVE-2021-22897 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.