cbcvebase.
CVE-2022-32221
published 2022-12-05

CVE-2022-32221: When doing HTTP(S) transfers, libcurl might erroneously use the read callback (`CURLOPT_READFUNCTION`) to ask for data to send, even when the…

PriorityP356critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
4.32%
89.9th percentile
When doing HTTP(S) transfers, libcurl might erroneously use the read callback (`CURLOPT_READFUNCTION`) to ask for data to send, even when the `CURLOPT_POSTFIELDS` option has been set, if the same handle previously was used to issue a `PUT` request which used that callback. This flaw may surprise the application and cause it to misbehave and either send off the wrong data or use memory after free or similar in the subsequent `POST` request. The problem exists in the logic for a reused handle when it is changed from a PUT to a POST.

Affected

27 ranges· showing 25
VendorProductVersion rangeFixed in
applemacos< 12.6.312.6.3
applemacos_monterey
applemacos_ventura
debiancurl< curl 7.86.0-1 (bookworm)curl 7.86.0-1 (bookworm)
debiandebian_linux
debiandebian_linux
haxxcurl< 7.86.07.86.0
haxxcurl>= 0 < 7.74.0-1.3+deb11u57.74.0-1.3+deb11u5
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>= 0 < 7.35.0-1ubuntu2.20+esm137.35.0-1ubuntu2.20+esm13
haxxcurl>= 0 < 7.47.0-1ubuntu2.19+esm67.47.0-1ubuntu2.19+esm6
httpsgithub.com_curl_curl
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_tensorflow_2.11.1-2_on_cbl_mariner_2.0
splunkuniversal_forwarder

CVSS provenance

nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
osv9.8CRITICAL
vendor_debian9.8CRITICAL
vendor_msrc9.8CRITICAL
vendor_oracle9.8CRITICAL
vendor_redhat9.8CRITICAL
vendor_ubuntu9.8CRITICAL
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.