NetSight
critical9.8

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 `CURLOPT_POSTFIEL…

Impact

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 products

VendorProductAffected versions
HaxxCurl
before 7.86.0
NetappClustered Data Ontap
All versions
NetappH300s Firmware
All versions
NetappH500s Firmware
All versions
NetappH700s Firmware
All versions
NetappH410s Firmware
All versions
DebianDebian Linux
Versions 10.0, 11.0
AppleMacos
before 12.6.3
SplunkUniversal Forwarder
from 8.2.0 before 8.2.12
from 9.0.0 before 9.0.6
Version 9.1.0

Weakness classification

References