CVE-2021-22924

curl: Bad connection reuse due to flawed path name checks

Published Aug 5, 2021 CVSS 3.1 · 3.7 Low EPSS 6.3% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-2734-1 curl security update
Debian DLA Debian DLA DLA-3085-1 curl security update
Debian DSA Debian DSA DSA-5197-1 curl security update
EUVD EUVD EUVD-2021-10053 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.
Ubuntu USN Ubuntu USN USN-5021-1 curl vulnerabilities
References
Link Providers
https://cert-portal.siemens.com/productcert/html/ssa-389290.html cve-icon
https://cert-portal.siemens.com/productcert/html/ssa-398330.html cve-icon
https://cert-portal.siemens.com/productcert/html/ssa-484086.html cve-icon
https://cert-portal.siemens.com/productcert/html/ssa-732250.html cve-icon
https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf cve-icon cve-icon
https://cert-portal.siemens.com/productcert/pdf/ssa-484086.pdf cve-icon cve-icon
https://cert-portal.siemens.com/productcert/pdf/ssa-732250.pdf cve-icon cve-icon
https://curl.se/docs/CVE-2021-22924.html cve-icon
https://hackerone.com/reports/1223565 cve-icon cve-icon
https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cdev.kafka.apache.org%3E cve-icon cve-icon
https://lists.apache.org/thread.html/r61db8e7dcb56dc000a5387a88f7a473bacec5ee01b9ff3f55308aacc%40%3Cusers.kafka.apache.org%3E cve-icon cve-icon
https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cdev.kafka.apache.org%3E cve-icon cve-icon
https://lists.apache.org/thread.html/rbf4ce74b0d1fa9810dec50ba3ace0caeea677af7c27a97111c06ccb7%40%3Cusers.kafka.apache.org%3E cve-icon cve-icon
https://lists.debian.org/debian-lts-announce/2021/08/msg00017.html cve-icon cve-icon
https://lists.debian.org/debian-lts-announce/2022/08/msg00017.html cve-icon cve-icon
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FRUCW2UVNYUDZF72DQLFQR4PJEC6CF7V/ cve-icon cve-icon
https://nvd.nist.gov/vuln/detail/CVE-2021-22924 cve-icon
https://security.netapp.com/advisory/ntap-20210902-0003/ cve-icon cve-icon
https://www.cve.org/CVERecord?id=CVE-2021-22924 cve-icon
https://www.debian.org/security/2022/dsa-5197 cve-icon cve-icon
https://www.oracle.com/security-alerts/cpujan2022.html cve-icon cve-icon
https://www.oracle.com/security-alerts/cpuoct2021.html cve-icon cve-icon

Subscriptions

Debian Debian Linux
Fedoraproject Fedora
Haxx Libcurl
Netapp Cloud Backup Clustered Data Ontap Solidfire \& Hci Management Node Solidfire Baseboard Management Controller Firmware
Oracle Mysql Server Peoplesoft Enterprise Peopletools
Redhat Enterprise Linux Rhel Dotnet
Siemens Logo\! Cmr2020 Logo\! Cmr2020 Firmware Logo\! Cmr2040 Logo\! Cmr2040 Firmware Ruggedcomrm 1224 Lte Ruggedcomrm 1224 Lte Firmware Scalance M804pb Scalance M804pb Firmware Scalance M812-1 Scalance M812-1 Firmware Scalance M816-1 Scalance M816-1 Firmware Scalance M826-2 Scalance M826-2 Firmware Scalance M874-2 Scalance M874-2 Firmware Scalance M874-3 Scalance M874-3 Firmware Scalance M876-3 Scalance M876-3 Firmware Scalance M876-4 Scalance M876-4 Firmware Scalance Mum856-1 Scalance Mum856-1 Firmware Scalance S615 Scalance S615 Firmware Simatic Cp 1543-1 Simatic Cp 1543-1 Firmware Simatic Cp 1545-1 Simatic Cp 1545-1 Firmware Simatic Rtu3010c Simatic Rtu3010c Firmware Simatic Rtu3030c Simatic Rtu3030c Firmware Simatic Rtu3031c Simatic Rtu3031c Firmware Simatic Rtu 3041c Simatic Rtu 3041c Firmware Sinec Infrastructure Network Services Sinema Remote Connect Sinema Remote Connect Server Siplus Net Cp 1543-1 Siplus Net Cp 1543-1 Firmware
Splunk Universal Forwarder
Weaknesses

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
Oct 14, 2026, 10:57 AM
Reserved
Jan 6, 2021, 12:00 AM
Status
Modified
Published
Aug 5, 2021, 9:15 PM
Modified
Oct 14, 2026, 11:16 AM
Severity
Moderate
Public date
Jul 21, 2021, 6:00 AM