cbcvebase.
CVE-2022-42915
published 2022-10-29

CVE-2022-42915: 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…

PriorityP350high8.1CVSS 3.1
AVNACHPRNUINSUCHIHAH
EPSS
2.93%
85.3th percentile
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.

Affected

31 ranges· showing 25
VendorProductVersion rangeFixed in
applemacos>= 12.0.0 < 12.6.312.6.3
applemacos>= 13.0 < 13.213.2
applemacos_monterey
applemacos_ventura
debiancurl< curl 7.86.0-1 (bookworm)curl 7.86.0-1 (bookworm)
fedoraprojectfedora
fedoraprojectfedora
fedoraprojectfedora
haxxcurl>= 0 < 7.86.0-17.86.0-1
haxxcurl>= 0 < 7.86.0-17.86.0-1
haxxcurl>= 0 < 7.86.0-17.86.0-1
haxxcurl>= 0 < 7.58.0-2ubuntu3.217.58.0-2ubuntu3.21
haxxcurl>= 0 < 7.68.0-1ubuntu2.147.68.0-1ubuntu2.14
haxxcurl>= 0 < 7.81.0-1ubuntu1.67.81.0-1ubuntu1.6
haxxcurl>= 7.77.0 < 7.86.07.86.0
msrcazl3_rust_1.75.0-14_on_azure_linux_3.0
msrcazl3_rust_1.86.0-1_on_azure_linux_3.0
msrcazl3_tensorflow_2.11.1-1_on_azure_linux_3.0
msrcazl3_tensorflow_2.16.1-1_on_azure_linux_3.0
msrcazure_linux_3.0_arm
msrcazure_linux_3.0_x64
msrccbl2_curl_7.86.0-1_on_cbl_mariner_2.0
msrccbl2_tensorflow_2.11.1-2_on_cbl_mariner_2.0
msrccbl_mariner_1.0_arm
msrccbl_mariner_1.0_x64

CVSS provenance

nvdv3.18.1HIGHCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
osv9.8CRITICAL
vendor_ubuntu9.8CRITICAL
vendor_debian8.1HIGH
vendor_msrc8.1HIGH
vendor_redhat8.1HIGH
vendor_oracle7.2HIGH
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.