CVE-2022-32221
Summary
| CVE | CVE-2022-32221 |
|---|---|
| State | PUBLISHED |
| Assigner | hackerone |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-12-05 22:15:10 UTC |
| Updated | 2026-10-14 17:17:39 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 9.8 CRITICAL from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Problem Types: CWE-200 | CWE-668 | CWE-200 Information Disclosure (CWE-200)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | ADP | DECLARED | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 9.8 | CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
HighIntegrity
HighAvailability
HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Apple | Macos | All | All | All | All |
| Operating System | Debian | Debian Linux | 10.0 | All | All | All |
| Operating System | Debian | Debian Linux | 11.0 | All | All | All |
| Application | Haxx | Curl | All | All | All | All |
| Application | Netapp | Clustered Data Ontap | - | All | All | All |
| Hardware | Netapp | H300s | - | All | All | All |
| Operating System | Netapp | H300s Firmware | - | All | All | All |
| Hardware | Netapp | H410s | - | All | All | All |
| Operating System | Netapp | H410s Firmware | - | All | All | All |
| Hardware | Netapp | H500s | - | All | All | All |
| Operating System | Netapp | H500s Firmware | - | All | All | All |
| Hardware | Netapp | H700s | - | All | All | All |
| Operating System | Netapp | H700s Firmware | - | All | All | All |
| Application | Splunk | Universal Forwarder | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Na | Https//github.com/curl/curl | affected Fixed in 7.86.0 | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| cert-portal.siemens.com/productcert/html/ssa-398330.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| December 2022 cURL/libcURL Vulnerabilities in NetApp Products | NetApp Product Security | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | Third Party Advisory |
| curl: Multiple Vulnerabilities (GLSA 202212-01) — Gentoo security | af854a3a-2127-422b-91ae-364da2661108 | security.gentoo.org | Third Party Advisory |
| January 2023 MySQL Server Vulnerabilities in NetApp Products | NetApp Product Security | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | Third Party Advisory |
| About the security content of macOS Monterey 12.6.3 - Apple Support | af854a3a-2127-422b-91ae-364da2661108 | support.apple.com | Third Party Advisory |
| [SECURITY] [DLA 3288-1] curl security update | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List, Third Party Advisory |
| Debian -- Security Information -- DSA-5330-1 curl | af854a3a-2127-422b-91ae-364da2661108 | www.debian.org | Third Party Advisory |
| Full Disclosure: APPLE-SA-2023-01-23-4 macOS Ventura 13.2 | af854a3a-2127-422b-91ae-364da2661108 | seclists.org | Mailing List, Third Party Advisory |
| cert-portal.siemens.com/productcert/html/ssa-892048.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| About the security content of macOS Ventura 13.2 - Apple Support | af854a3a-2127-422b-91ae-364da2661108 | support.apple.com | Third Party Advisory |
| HackerOne | af854a3a-2127-422b-91ae-364da2661108 | hackerone.com | Exploit, Issue Tracking, Third Party Advisory |
| Full Disclosure: APPLE-SA-2023-01-23-5 macOS Monterey 12.6.3 | af854a3a-2127-422b-91ae-364da2661108 | seclists.org | Mailing List, Third Party Advisory |
| oss-security - curl: CVE-2023-28322: more POST-after-PUT confusion | af854a3a-2127-422b-91ae-364da2661108 | www.openwall.com | Mailing List |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 160415 Oracle Enterprise Linux Security Update for curl (ELSA-2023-0333)
- 181508 Debian Security Update for curl (DSA 5330-1)
- 181512 Debian Security Update for curl (DLA 3288-1)
- 183626 Debian Security Update for curl (CVE-2022-32221)
- 199008 Ubuntu Security Notification for curl Vulnerabilities (USN-5702-1)
- 199129 Ubuntu Security Notification for MySQL Vulnerabilities (USN-5823-1)
- 20316 Oracle MySQL January 2023 Critical Patch Update (CPUJAN2023)
- 240996 Red Hat Update for JBoss Core Services (RHSA-2022:8840)
- 241107 Red Hat Update for curl (RHSA-2023:0333)
- 241829 Red Hat Update for curl (RHSA-2023:4139)
- 283261 Fedora Security Update for curl (FEDORA-2022-01ffde372c)
- 283302 Fedora Security Update for curl (FEDORA-2022-39688a779d)
- 283449 Fedora Security Update for curl (FEDORA-2022-e9d65906c4)
- 330139 IBM AIX Security restrictions bypass due to curl (curl_advisory)
- 354115 Amazon Linux Security Advisory for curl : ALAS2-2022-1882
- 354289 Amazon Linux Security Advisory for curl : ALAS2022-2022-246
- 354553 Amazon Linux Security Advisory for curl : ALAS-2022-246
- 355059 Amazon Linux Security Advisory for curl : AL2012-2023-383
- 355207 Amazon Linux Security Advisory for curl : ALAS2023-2023-083
- 377927 Apple macOS Ventura 13.2 Not Installed (HT213605)
- 377928 Apple macOS Monterey 12.6.3 Not Installed (HT213604)
- 378090 NetApp Clustered Data Open Network Technology for Appliance Products (ONTAP) Disclosure of Sensitive Information Denial of Service (DoS) Vulnerability (NTAP-20230110-0006)
- 378599 Splunk Enterprise Third Party Package Updates for June (SVD-2023-0613)
- 378883 Splunk Enterprise August Third Party Package Updates (SVD-2023-0808)
- 502573 Alpine Linux Security Update for curl
- 502575 Alpine Linux Security Update for curl
- 502717 Alpine Linux Security Update for curl
- 505613 Alpine Linux Security Update for curl
- 672494 EulerOS Security Update for curl (EulerOS-SA-2023-1005)
- 672512 EulerOS Security Update for curl (EulerOS-SA-2023-1030)
- 672531 EulerOS Security Update for curl (EulerOS-SA-2023-1119)
- 672567 EulerOS Security Update for curl (EulerOS-SA-2023-1095)
- 672614 EulerOS Security Update for curl (EulerOS-SA-2023-1309)
- 672615 EulerOS Security Update for curl (EulerOS-SA-2023-1379)
- 672636 EulerOS Security Update for curl (EulerOS-SA-2023-1351)
- 672701 EulerOS Security Update for curl (EulerOS-SA-2023-1496)
- 691009 Free Berkeley Software Distribution (FreeBSD) Security Update for curl (0f99a30c-7b4b-11ed-9168-080027f5fec9)
- 691034 Free Berkeley Software Distribution (FreeBSD) Security Update for mysql (dc49f6dc-99d2-11ed-86e9-d4c9ef517024)
- 710693 Gentoo Linux curl Multiple Vulnerabilities (GLSA 202212-01)
- 752727 SUSE Enterprise Linux Security Update for curl (SUSE-SU-2022:3774-1)
- 752732 SUSE Enterprise Linux Security Update for curl (SUSE-SU-2022:3772-1)
- 752733 SUSE Enterprise Linux Security Update for curl (SUSE-SU-2022:3769-1)
- 752736 SUSE Enterprise Linux Security Update for curl (SUSE-SU-2022:3773-1)
- 752739 SUSE Enterprise Linux Security Update for curl (SUSE-SU-2022:3785-1)
- 904841 Common Base Linux Mariner (CBL-Mariner) Security Update for mysql (12384)
- 904878 Common Base Linux Mariner (CBL-Mariner) Security Update for rust (12434)
- 904920 Common Base Linux Mariner (CBL-Mariner) Security Update for cmake (12313)
- 905006 Common Base Linux Mariner (CBL-Mariner) Security Update for rust (12638)
- 905103 Common Base Linux Mariner (CBL-Mariner) Security Update for cmake (12467)
- 905160 Common Base Linux Mariner (CBL-Mariner) Security Update for mysql (12570)
- 940899 AlmaLinux Security Update for curl (ALSA-2023:0333)
- 960506 Rocky Linux Security Update for curl (RLSA-2023:0333)