CVE-2022-32221
published critical CVSS 3.1 · 9.8curl: POST following PUT confusion
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | https://github.com/curl/curlFixed in 7.86.0 | Affected | Not stated | hackerone |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2022-1882 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-083 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 9 | curl | Advisory build | 7.76.1-19.el9_1.1 | ALSA-2023:0333 |
| Alpine Linux | edge | curl | Fixed | 7.86.0-r0 | Package fix record |
Show 100 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Debian | bullseye | curl | Advisory build | 7.74.0-1.3+deb11u5 | DSA-5330-1 |
| Oracle Linux | 9 | curlaarch64 | Advisory build | 0:7.76.1-19.el9_1.1 | ELSA-2023-0333 |
| Red Hat Enterprise Linux | RHEL-9 | curlaarch64 | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| AlmaLinux | 9 | curl-minimal | Advisory build | 7.76.1-19.el9_1.1 | ALSA-2023:0333 |
| AlmaLinux | 9 | libcurl | Advisory build | 7.76.1-19.el9_1.1 | ALSA-2023:0333 |
| AlmaLinux | 9 | libcurl-devel | Advisory build | 7.76.1-19.el9_1.1 | ALSA-2023:0333 |
| AlmaLinux | 9 | libcurl-minimal | Advisory build | 7.76.1-19.el9_1.1 | ALSA-2023:0333 |
| Alpine Linux | v3.15 | curl | Fixed | 7.80.0-r4 | Package fix record |
| Alpine Linux | v3.16 | curl | Fixed | 7.83.1-r4 | Package fix record |
| Alpine Linux | v3.17 | curl | Fixed | 7.86.0-r0 | Package fix record |
| Alpine Linux | v3.18 | curl | Fixed | 7.86.0-r0 | Package fix record |
| Alpine Linux | v3.19 | curl | Fixed | 7.86.0-r0 | Package fix record |
| Alpine Linux | v3.20 | curl | Fixed | 7.86.0-r0 | Package fix record |
| Alpine Linux | v3.21 | curl | Fixed | 7.86.0-r0 | Package fix record |
| Alpine Linux | v3.22 | curl | Fixed | 7.86.0-r0 | Package fix record |
| Alpine Linux | v3.23 | curl | Fixed | 7.86.0-r0 | Package fix record |
| Alpine Linux | v3.24 | curl | Fixed | 7.86.0-r0 | Package fix record |
| Debian | buster | curl | Advisory build | 7.64.0-4+deb10u4 | DLA-3288-1 |
| Oracle Linux | 9 | curlx86_64 | Advisory build | 0:7.76.1-19.el9_1.1 | ELSA-2023-0333 |
| Oracle Linux | 9 | curl-minimalaarch64 | Advisory build | 0:7.76.1-19.el9_1.1 | ELSA-2023-0333 |
| Oracle Linux | 9 | curl-minimalx86_64 | Advisory build | 0:7.76.1-19.el9_1.1 | ELSA-2023-0333 |
| Oracle Linux | 9 | libcurlaarch64 | Advisory build | 0:7.76.1-19.el9_1.1 | ELSA-2023-0333 |
| Oracle Linux | 9 | libcurlx86_64 | Advisory build | 0:7.76.1-19.el9_1.1 | ELSA-2023-0333 |
| Oracle Linux | 9 | libcurl-develaarch64 | Advisory build | 0:7.76.1-19.el9_1.1 | ELSA-2023-0333 |
| Oracle Linux | 9 | libcurl-develx86_64 | Advisory build | 0:7.76.1-19.el9_1.1 | ELSA-2023-0333 |
| Oracle Linux | 9 | libcurl-minimalaarch64 | Advisory build | 0:7.76.1-19.el9_1.1 | ELSA-2023-0333 |
| Oracle Linux | 9 | libcurl-minimalx86_64 | Advisory build | 0:7.76.1-19.el9_1.1 | ELSA-2023-0333 |
| Red Hat Enterprise Linux | RHEL-9 | curlaarch64 | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | curlppc64le | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | curlppc64le | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | curls390x | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | curls390x | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | curlsrc | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | curlsrc | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | curlx86_64 | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | curlx86_64 | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | curl-debuginfoaarch64 | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | curl-debuginfoaarch64 | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | curl-debuginfoi686 | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | curl-debuginfoi686 | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | curl-debuginfoppc64le | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | curl-debuginfoppc64le | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | curl-debuginfos390x | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | curl-debuginfos390x | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | curl-debuginfox86_64 | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | curl-debuginfox86_64 | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | curl-debugsourceaarch64 | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | curl-debugsourceaarch64 | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | curl-debugsourcei686 | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | curl-debugsourcei686 | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | curl-debugsourceppc64le | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | curl-debugsourceppc64le | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | curl-debugsources390x | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | curl-debugsources390x | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | curl-debugsourcex86_64 | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | curl-debugsourcex86_64 | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | curl-minimalaarch64 | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | curl-minimalaarch64 | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | curl-minimalppc64le | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | curl-minimalppc64le | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | curl-minimals390x | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | curl-minimals390x | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | curl-minimalx86_64 | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | curl-minimalx86_64 | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | curl-minimal-debuginfoaarch64 | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | curl-minimal-debuginfoaarch64 | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | curl-minimal-debuginfoi686 | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | curl-minimal-debuginfoi686 | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | curl-minimal-debuginfoppc64le | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | curl-minimal-debuginfoppc64le | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | curl-minimal-debuginfos390x | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | curl-minimal-debuginfos390x | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | curl-minimal-debuginfox86_64 | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | curl-minimal-debuginfox86_64 | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | libcurlaarch64 | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | libcurlaarch64 | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | libcurli686 | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | libcurli686 | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | libcurlppc64le | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | libcurlppc64le | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | libcurls390x | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | libcurls390x | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | libcurlx86_64 | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | libcurlx86_64 | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | libcurl-debuginfoaarch64 | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | libcurl-debuginfoaarch64 | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | libcurl-debuginfoi686 | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | libcurl-debuginfoi686 | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | libcurl-debuginfoppc64le | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | libcurl-debuginfoppc64le | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | libcurl-debuginfos390x | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | libcurl-debuginfos390x | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | libcurl-debuginfox86_64 | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | libcurl-debuginfox86_64 | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | libcurl-develaarch64 | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | libcurl-develaarch64 | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
| Red Hat Enterprise Linux | RHEL-9 | libcurl-develi686 | Advisory build | 7.76.1-14.el9_0.6 | RHSA-2023:4139 |
| Red Hat Enterprise Linux | RHEL-9 | libcurl-develi686 | Advisory build | 7.76.1-19.el9_1.1 | RHSA-2023:0333 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.8 / 10
- Severity
- critical
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | https://github.com/curl/curl | Fixed in 7.86.0 (affected) | hackerone · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
1- CWE-200 Information Disclosure (CWE-200)
References
13- 20230123 APPLE-SA-2023-01-23-4 macOS Ventura 13.2 http://seclists.org/fulldisclosure/2023/Jan/19
- 20230123 APPLE-SA-2023-01-23-5 macOS Monterey 12.6.3 http://seclists.org/fulldisclosure/2023/Jan/20
- [oss-security] 20230517 curl: CVE-2023-28322: more POST-after-PUT confusion http://www.openwall.com/lists/oss-security/2023/05/17/4
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-892048.html
- https://hackerone.com/reports/1704017
- [debian-lts-announce] 20230128 [SECURITY] [DLA 3288-1] curl security update https://lists.debian.org/debian-lts-announce/2023/01/msg00028.html
- GLSA-202212-01 https://security.gentoo.org/glsa/202212-01
- https://security.netapp.com/advisory/ntap-20230110-0006/
- https://security.netapp.com/advisory/ntap-20230208-0002/
- https://support.apple.com/kb/HT213604
- https://support.apple.com/kb/HT213605
- DSA-5330 https://www.debian.org/security/2023/dsa-5330
Provider assertions
4hackerone · cna
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 1b16b2b47b428a428a832fc4a3e5652865e5d4179d0319e4ac03f53fb3bbc440
- Ingested
- 14 Oct 2026, 20:24:42 UTC
- Source record
- Official CVE record