CVE-2022-42915CWE-415

CVE-2022-42915

High · published October 30, 2022

CVSS v3.1
8.1
EPSS
3%
Percentile
87.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.1 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.02926 · 87.0th percentile
Weakness
CWE-415 · Double Free
Published
2022-10-30T00:15Z
Affected products (14)
ProductVersionsFixed in
haxx/curl≥ 7.77.0, < 7.86.07.86.0
fedoraproject/fedoraall versions—
fedoraproject/fedoraall versions—
fedoraproject/fedoraall versions—
netapp/h300s_firmwareall versions—
netapp/h500s_firmwareall versions—
netapp/h700s_firmwareall versions—
netapp/h410s_firmwareall versions—
netapp/ontap_9all versions—
apple/macos≥ 12.0.0, < 12.6.312.6.3
apple/macos≥ 13.0, < 13.213.2
splunk/universal_forwarder≥ 8.2.0, < 8.2.128.2.12
splunk/universal_forwarder≥ 9.0.0, < 9.0.69.0.6
splunk/universal_forwarderall versions—
References (22)
http://seclists.org/fulldisclosure/2023/Jan/19 · [email protected]http://seclists.org/fulldisclosure/2023/Jan/20 · [email protected]https://curl.se/docs/CVE-2022-42915.html · [email protected]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/37YEVVC6NAF6H7UHH6YAUY5QEVY6LIH2/ · [email protected]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVU3IMZCKR4VE6KJ4GCWRL2ILLC6OV76/ · [email protected]https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q27V5YYMXUVI6PRZQVECON32XPVWTKDK/ · [email protected]https://security.gentoo.org/glsa/202212-01 · [email protected]https://security.netapp.com/advisory/ntap-20221209-0010/ · [email protected]https://support.apple.com/kb/HT213604 · [email protected]https://support.apple.com/kb/HT213605 · [email protected]http://seclists.org/fulldisclosure/2023/Jan/19 · af854a3a-2127-422b-91ae-364da2661108http://seclists.org/fulldisclosure/2023/Jan/20 · af854a3a-2127-422b-91ae-364da2661108https://curl.se/docs/CVE-2022-42915.html · af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/37YEVVC6NAF6H7UHH6YAUY5QEVY6LIH2/ · af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVU3IMZCKR4VE6KJ4GCWRL2ILLC6OV76/ · af854a3a-2127-422b-91ae-364da2661108https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q27V5YYMXUVI6PRZQVECON32XPVWTKDK/ · af854a3a-2127-422b-91ae-364da2661108https://security.gentoo.org/glsa/202212-01 · af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20221209-0010/ · af854a3a-2127-422b-91ae-364da2661108https://support.apple.com/kb/HT213604 · af854a3a-2127-422b-91ae-364da2661108https://support.apple.com/kb/HT213605 · af854a3a-2127-422b-91ae-364da2661108https://cert-portal.siemens.com/productcert/html/ssa-398330.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5ehttps://cert-portal.siemens.com/productcert/html/ssa-892048.html · 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e
EPSS history
Timeline
  • 29 OCT 00:00Z
    curl before 7.86.0 has a double free
    cvelistv5