CVE-2022-32221
- State
- Published
- Severity
- 9.8 Critical
- Published
- Dec 5, 2022
- Updated
- Oct 14, 2026
- Reserved
- Jun 1, 2022
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 9.8 Critical | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
Weaknesses
- CWE-200 Information Disclosure (CWE-200)
Affected Products
| Product | Versions |
|---|---|
https://github.com/curl/curln/a |
|
References
- https://hackerone.com/reports/1704017
- GLSA-202212-01vendor-advisory
- https://security.netapp.com/advisory/ntap-20230110-0006/
- https://support.apple.com/kb/HT213604
- https://support.apple.com/kb/HT213605
- 20230123 APPLE-SA-2023-01-23-5 macOS Monterey 12.6.3mailing-list
- 20230123 APPLE-SA-2023-01-23-4 macOS Ventura 13.2mailing-list
- DSA-5330vendor-advisory
- [debian-lts-announce] 20230128 [SECURITY] [DLA 3288-1] curl security updatemailing-list
- https://security.netapp.com/advisory/ntap-20230208-0002/
- [oss-security] 20230517 curl: CVE-2023-28322: more POST-after-PUT confusionmailing-list
- https://cert-portal.siemens.com/productcert/html/ssa-892048.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.