3.7low
Bad connection reuse due to flawed path name checks
- Severity
- 3.7low CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 5.95% (higher than 93% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- hackerone
- Also known as
- CURL-CVE-2021-22924
Description
libcurl keeps previously used connections in a connection pool for subsequenttransfers to reuse, if one of them matches the setup.Due to errors in the logic, the config matching function did not take 'issuercert' into account and it compared the involved paths *case insensitively*,which could lead to libcurl reusing wrong connections.File paths are, or can be, case sensitive on many systems but not all, and caneven vary depending on used file systems.The comparison also didn't include the 'issuer cert' which a transfer can setto qualify how to verify the server certificate.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| https://github.com/curl/curl | curl 7.10.4 to and include curl 7.77.0 | CVE List |
| https://github.com/curl/curl.git | from 7.10.4 before 7.78.0, from 89721ff04af70f527baae1368f3b992777bf6526 before 5ea3145850ebff1dc2b13d17440300a01ca38161 | curl |
| haxx libcurl | from 7.10.4 before 7.77.0 | NVD |
| fedoraproject fedora | 33 | NVD |
| debian debian_linux | 9.0, 10.0, 11.0 | NVD |
| netapp cloud_backup | Not specified | NVD |
| netapp clustered_data_ontap | Not specified | NVD |
| netapp solidfire_&_hci_management_node | Not specified | NVD |
| netapp solidfire_baseboard_management_controller_firmware | Not specified | NVD |
| oracle mysql_server | from 5.7.0 up to 5.7.36, from 8.0.0 up to 8.0.26 | NVD |
| oracle peoplesoft_enterprise_peopletools | 8.57, 8.58, 8.59 | NVD |
| siemens sinec_infrastructure_network_services | before 1.0.1.1 | NVD |
| siemens sinema_remote_connect_server | before 3.1 | NVD |
| siemens logo!_cmr2040_firmware | Not specified | NVD |
| siemens logo!_cmr2020_firmware | Not specified | NVD |
| siemens ruggedcomrm_1224_lte_firmware | before 7.1 | NVD |
| siemens scalance_m804pb_firmware | before 7.1 | NVD |
| siemens scalance_m812-1_firmware | before 7.1 | NVD |
| siemens scalance_m816-1_firmware | before 7.1 | NVD |
| siemens scalance_m826-2_firmware | before 7.1 | NVD |
| siemens scalance_m874-2_firmware | before 7.1 | NVD |
| siemens scalance_m874-3_firmware | before 7.1 | NVD |
| siemens scalance_m876-3_firmware | before 7.1 | NVD |
| siemens scalance_m876-4_firmware | before 7.1 | NVD |
| siemens scalance_mum856-1_firmware | before 7.1 | NVD |
| siemens scalance_s615_firmware | before 7.1 | NVD |
| siemens simatic_cp_1543-1_firmware | before 3.0.22 | NVD |
| siemens simatic_cp_1545-1_firmware | before 1.1 | NVD |
| siemens simatic_rtu3010c_firmware | before 5.0.14 | NVD |
| siemens simatic_rtu3030c_firmware | before 5.0.14 | NVD |
| siemens simatic_rtu3031c_firmware | before 5.0.14 | NVD |
| siemens simatic_rtu_3041c_firmware | before 5.0.14 | NVD |
| siemens sinema_remote_connect | before 3.1 | NVD |
| siemens siplus_net_cp_1543-1_firmware | before 3.0.22 | NVD |
| splunk universal_forwarder | from 8.2.0 before 8.2.12, from 9.0.0 before 9.0.6, 9.1.0 | NVD |
All scores
| CISA-ADP | 3.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| curl | medium rating | |
| NVD | 3.7low CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 4.3medium CVSS:2.0 | AV:N/AC:M/Au:N/C:P/I:N/A:N |
Classification
What each source says
CVE List
libcurl keeps previously used connections in a connection pool for subsequenttransfers to reuse, if one of them matches the setup.Due to errors in the logic, the config matching function did not take 'issuercert' into account and it compared the involved paths *case insensitively*,which could lead to libcurl reusing wrong connections.File paths are, or can be, case sensitive on many systems but not all, and caneven vary depending on used file systems.The comparison also didn't include the 'issuer cert' which a transfer can setto qualify how to verify the server certificate.
curl
libcurl keeps previously used connections in a connection pool for subsequent transfers to reuse, if one of them matches the setup.
Due to errors in the logic, the config matching function did not take 'issuer cert' into account and it compared the involved paths case insensitively, which could lead to libcurl reusing wrong connections.
File paths are, or can be, case sensitive on many systems but not all, and can even vary depending on used file systems.
The comparison also did not include the 'issuer cert' which a transfer can set to qualify how to verify the server certificate.
NVD (es)
libcurl mantiene las conexiones usadas previamente en un pool de conexiones para reusarlas en posteriores transferencias, si una de ellas coincide con la configuración. Debido a errores en la lógica, la función de coincidencia de la configuración no tenía en cuenta "issuercert" y comparaba las rutas implicadas *sin tener en cuenta el caso*, que podía conllevar a que libcurl reusara conexiones erróneas. Las rutas de los archivos son, o pueden ser, casos confidenciales en muchos sistemas, pero no en todos, y pueden incluso variar dependiendo de los sistemas de archivos usados. La comparación tampoco incluía el "issuercert" que una transferencia puede ajustar para calificar cómo verificar el certificado del servidor
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-22924 changed 2026-10-14 | CVE Terms of Use |
| curl | CURL-CVE-2021-22924 changed 2026-10-25 | MIT |
| NVD | CVE-2021-22924 changed 2026-10-14 | Public domain |