CVE-2022-42915Haxx Curl
High 8.1 No auth needed
Follow: this CVE · Haxx · Haxx Curl We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 3.1
- 8.1
- EPSS
- 3.3% probability of exploitation in 30 days · percentile 89
- Auth required
- No
- Published
- Oct 29, 2022
- Updated
- Oct 14, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-415
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
curl before 7.86.0 has a double free. If curl is told to use an HTTP proxy for a transfer with a non-HTTP(S) URL, it sets up the connection to the remote server by issuing a CONNECT request to the proxy, and then tunnels the rest of the protocol through. An HTTP proxy might refuse this request (HTTP proxies often only allow outgoing connections to specific port numbers, like 443 for HTTPS) and instead return a non-200 status code to the client. Due to flaws in the error/cleanup handling, this could trigger a double free in curl if one of the following schemes were used in the URL for the transfer: dict, gopher, gophers, ldap, ldaps, rtmp, rtmps, or telnet. The earliest affected version is 7.77.0.
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.77.0 < 7.86.0 |
| fedoraproject | fedora | 35 |
| fedoraproject | fedora | 36 |
| fedoraproject | fedora | 37 |
| netapp | h300s_firmware | all |
| netapp | h500s_firmware | all |
| netapp | h700s_firmware | all |
| netapp | h410s_firmware | all |
| netapp | ontap_9 | all |
| apple | macos | ≥ 12.0.0 < 12.6.3 |
| apple | macos | ≥ 13.0 < 13.2 |
| 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
- seclists.org Mailing List Third Party Advisory
- curl.se Vendor Advisory
- lists.fedoraproject.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 Third Party Advisory
- support.apple.com Third Party Advisory
- cert-portal.siemens.com
- cert-portal.siemens.com