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…
Does this matter?
High impact if exploited, but EPSS currently rates exploitation as unlikely (5.09%). 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
- 5.09% probability · 92th percentile
- Public exploits
- None in Exploit-DB
- 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
EPSS 5.1% since 26 October 2026; no change recorded yet. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”. Points are recorded when the score first appears and whenever it moves by a percentage point or more.
References
- http://seclists.org/fulldisclosure/2023/Jan/19Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2023/Jan/20Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2023/05/17/4Mailing List
- https://hackerone.com/reports/1704017Exploit, Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/01/msg00028.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202212-01Third Party Advisory
- https://security.netapp.com/advisory/ntap-20230110-0006/Third Party Advisory
- https://security.netapp.com/advisory/ntap-20230208-0002/Third Party Advisory
- https://support.apple.com/kb/HT213604Third Party Advisory
- https://support.apple.com/kb/HT213605Third Party Advisory
- https://www.debian.org/security/2023/dsa-5330Third Party Advisory
- http://seclists.org/fulldisclosure/2023/Jan/19Mailing List, Third Party Advisory
- http://seclists.org/fulldisclosure/2023/Jan/20Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2023/05/17/4Mailing List
- https://hackerone.com/reports/1704017Exploit, Issue Tracking, Third Party Advisory
- https://lists.debian.org/debian-lts-announce/2023/01/msg00028.htmlMailing List, Third Party Advisory
- https://security.gentoo.org/glsa/202212-01Third Party Advisory
- https://security.netapp.com/advisory/ntap-20230110-0006/Third Party Advisory
- https://security.netapp.com/advisory/ntap-20230208-0002/Third Party Advisory
- https://support.apple.com/kb/HT213604Third Party Advisory
- https://support.apple.com/kb/HT213605Third Party Advisory
- https://www.debian.org/security/2023/dsa-5330Third Party Advisory
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-892048.html
Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.