CVE-2021-22947Haxx Curl
Medium 5.9 No auth needed
Follow: this CVE · Haxx · Haxx Curl We alert you by email or Slack (account required).
- Priority
- 51
- CVSS 3.1
- 5.9
- EPSS
- 3.0% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- Sep 29, 2021
- Updated
- Oct 14, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
What happens
When curl >= 7.20.0 and <= 7.78.0 connects to an IMAP or POP3 server to retrieve data using STARTTLS to upgrade to TLS security, the server can respond and send back multiple responses at once that curl caches. curl would then upgrade to TLS but not flush the in-queue of cached responses but instead continue using and trustingthe responses it got *before* the TLS handshake as if they were authenticated.Using this flaw, it allows a Man-In-The-Middle attacker to first inject the fake responses, then pass-through the TLS traffic from the legitimate server and trick curl into sending data back to the user thinking the attacker's injected data comes from the TLS-protected server.
What to do
- Apply the vendor's security update for Curl.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| haxx | curl | ≥ 7.20.0 < 7.79.0 |
| fedoraproject | fedora | 33 |
| fedoraproject | fedora | 35 |
| debian | debian_linux | 9.0 |
| debian | debian_linux | 10.0 |
| debian | debian_linux | 11.0 |
| netapp | cloud_backup | all |
| netapp | clustered_data_ontap | all |
| netapp | h300s_firmware | all |
| netapp | h500s_firmware | all |
| netapp | h700s_firmware | all |
| netapp | h300e_firmware | all |
| netapp | h500e_firmware | all |
| netapp | h700e_firmware | all |
| netapp | h410s_firmware | all |
| netapp | solidfire_baseboard_management_controller_firmware | all |
| 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 |
| oracle | communications_cloud_native_core_network_repository_function | 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 | mysql_server | ≥ 5.7.0 ≤ 5.7.35 |
| oracle | mysql_server | ≥ 8.0.0 ≤ 8.0.26 |
| oracle | peoplesoft_enterprise_peopletools | 8.57 |
| oracle | peoplesoft_enterprise_peopletools | 8.58 |
| oracle | peoplesoft_enterprise_peopletools | 8.59 |
| siemens | sinec_infrastructure_network_services | < 1.0.1.1 |
| apple | macos | < 12.3 |
| oracle | commerce_guided_search | 11.3.2 |
| oracle | communications_cloud_native_core_binding_support_function | 22.1.3 |
| oracle | communications_cloud_native_core_console | 22.2.0 |
| oracle | communications_cloud_native_core_network_repository_function | 22.1.2 |
| oracle | communications_cloud_native_core_network_repository_function | 22.2.0 |
| oracle | communications_cloud_native_core_security_edge_protection_proxy | 22.1.1 |
| splunk | universal_forwarder | ≥ 8.2.0 < 8.2.12 |
| splunk | universal_forwarder | ≥ 9.0.0 < 9.0.6 |
| splunk | universal_forwarder | 9.1.0 |
Official sources
References
Links published by the sources. Open them with care.
- seclists.org Mailing List Third Party Advisory
- cert-portal.siemens.com Patch Third Party Advisory
- hackerone.com Exploit Issue Tracking Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- lists.fedoraproject.org Mailing List Third Party Advisory
- security.gentoo.org Third Party Advisory
- security.netapp.com Third Party Advisory
- support.apple.com Release Notes Third Party Advisory
- www.debian.org Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory
- cert-portal.siemens.com
- cert-portal.siemens.com