CVE-2021-22897
published medium CVSS 3.1 · 5.3curl: Cipher settings shared for all connections when using schannel TLS backed
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | https://github.com/curl/curl7.61.0 through 7.76.1 | Affected | Not stated | hackerone |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Alpine Linux | edge | curl | Fixed | 0 | Package fix record |
| Alpine Linux | v3.11 | curl | Fixed | 0 | Package fix record |
| Alpine Linux | v3.12 | curl | Fixed | 0 | Package fix record |
| Alpine Linux | v3.13 | curl | Fixed | 0 | Package fix record |
Show 13 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Alpine Linux | v3.14 | curl | Fixed | 0 | Package fix record |
| Alpine Linux | v3.15 | curl | Fixed | 0 | Package fix record |
| Alpine Linux | v3.16 | curl | Fixed | 0 | Package fix record |
| Alpine Linux | v3.17 | curl | Fixed | 0 | Package fix record |
| Alpine Linux | v3.18 | curl | Fixed | 0 | Package fix record |
| Alpine Linux | v3.19 | curl | Fixed | 0 | Package fix record |
| Alpine Linux | v3.20 | curl | Fixed | 0 | Package fix record |
| Alpine Linux | v3.21 | curl | Fixed | 0 | Package fix record |
| Alpine Linux | v3.22 | curl | Fixed | 0 | Package fix record |
| Alpine Linux | v3.23 | curl | Fixed | 0 | Package fix record |
| Alpine Linux | v3.24 | curl | Fixed | 0 | Package fix record |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | https://github.com/curl/curl | 7.61.0 through 7.76.1 (affected) | hackerone · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
1- CWE-840 Business Logic Errors (CWE-840)
References
10- https://cert-portal.siemens.com/productcert/html/ssa-389290.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://curl.se/docs/CVE-2021-22897.html
- https://github.com/curl/curl/commit/bbb71507b7bab52002f9b1e0880bed6a32834511
- https://hackerone.com/reports/1172857
- https://security.netapp.com/advisory/ntap-20210727-0007/
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujan2022.html
Provider assertions
4hackerone · cna
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- f7b8a233e43f120f9d41755062c903db696b871adacb363821a8af80635cc700
- Ingested
- 14 Oct 2026, 14:23:10 UTC
- Source record
- Official CVE record