SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

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_POSTFIELDS` option has been set, if the same handle previously was used to issue a `PUT` request which…

CRITICAL 9.8EPSS 4.32%

Does this matter?

High impact if exploited, but EPSS currently rates exploitation as unlikely (4.32%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit.

Description

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.

CVSS 3.1
9.8 CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
4.32% probability · 91th percentile
CISA KEV
Not listed
Weakness
CWE-200, CWE-668
Affected
haxx/curl · netapp/clustered data ontap · netapp/h300s firmware · netapp/h500s firmware · netapp/h700s firmware · netapp/h410s firmware · debian/debian linux · apple/macos · splunk/universal forwarder
Source
support@hackerone.com

References

Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.