CVE-2022-32221
December 05, 2022
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.
Related Resources (14)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
EPSS
Base Score:
2.59