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 breakdown
CVSS 3.1
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected products
- Apple / macOS12.6.3
- Debian / debian_linux10.0 – 10.0
- Debian / debian_linux11.0 – 11.0
- haxx / curl7.86.0
- NetApp / Clustered Data ONTAP
- NetApp / h300s_firmware
- NetApp / h410s_firmware
- NetApp / h500s_firmware
- NetApp / h700s_firmware
- Splunk / Universal Forwarder8.2.0 – 8.2.12
- Splunk / Universal Forwarder9.1.0 – 9.1.0
References
- MISChttps://hackerone.com/reports/1704017
- MISChttps://security.gentoo.org/glsa/202212-01
- MISChttps://security.netapp.com/advisory/ntap-20230110-0006/
- VENDOR_ADVISORYhttps://support.apple.com/kb/HT213604
- VENDOR_ADVISORYhttps://support.apple.com/kb/HT213605
- MAILING_LISThttp://seclists.org/fulldisclosure/2023/Jan/20
- MAILING_LISThttp://seclists.org/fulldisclosure/2023/Jan/19
- VENDOR_ADVISORYhttps://www.debian.org/security/2023/dsa-5330
- MAILING_LISThttps://lists.debian.org/debian-lts-announce/2023/01/msg00028.html
- MISChttps://security.netapp.com/advisory/ntap-20230208-0002/
- MAILING_LISThttp://www.openwall.com/lists/oss-security/2023/05/17/4
Updated 24m ago · 8 sources