CVE-2022-32221: libcurl - Use After Free
- Cve: CVE-2022-32221
- Name: libcurl - Use After Free
- 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.
- Impact: Applications may send incorrect data, experience memory corruption, or crash, leading to potential denial of service or data integrity issues.
- Remediation: Update to the latest version of libcurl where this issue is fixed, or apply patches provided by the maintainers.
- Vulnerability impact: data_tampering, denial_of_service
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.05117
- Epss percentile: 0.92505
- Assignee: [email protected]
- Published at: 2022-12-05T22:15:10Z
- Age in days: 1450
- Modified at: 2026-10-14T17:17:39Z
- Patch available: yes
- Public exploits total: 1
- References total: 13
- Products total: 9
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-32221
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, oss, projects total, projects, rejected by nvd
- Not known: vulnerability type, requirements
Cwe
| Id | Name |
|---|---|
| CWE-200 | Exposure of Sensitive Information to an Unauthorized Actor |
| CWE-668 | Exposure of Resource to Wrong Sphere |
Hackerone
- Reports: 3
- Rank: 3240
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://hackerone.com/reports/1704017 | nvd | 2022-12-05 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://hackerone.com/reports/1704017 | Exploit, Issue Tracking, Third Party Advisory |
| http://seclists.org/fulldisclosure/2023/Jan/19 | Mailing List, Third Party Advisory |
| http://seclists.org/fulldisclosure/2023/Jan/20 | Mailing List, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2023/01/msg00028.html | Mailing List, Third Party Advisory |
| https://security.gentoo.org/glsa/202212-01 | Third 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/HT213604 | Third Party Advisory |
| https://support.apple.com/kb/HT213605 | Third Party Advisory |
| https://www.debian.org/security/2023/dsa-5330 | Third Party Advisory |
Products
Same in every row:
- Sources: nvd
| Product | Affected | Platform bound | Url |
|---|---|---|---|
| haxx:curl | < 7.86.0 | no | /v1/products/haxx/curl |
| debian:debian_linux | = 11.0, = 10.0 | no | /v1/products/debian/debian_linux |
| apple:macos | < 12.6.3 | no | /v1/products/apple/macos |
| netapp:h700s_firmware | all versions | yes | /v1/products/netapp/h700s_firmware |
| netapp:h300s_firmware | all versions | yes | /v1/products/netapp/h300s_firmware |
| netapp:h410s_firmware | all versions | yes | /v1/products/netapp/h410s_firmware |
| netapp:h500s_firmware | all versions | yes | /v1/products/netapp/h500s_firmware |
| netapp:clustered_data_ontap | all versions | no | /v1/products/netapp/clustered_data_ontap |
| splunk:universal_forwarder | = 9.1.0; >= 9.0.0, < 9.0.6; >= 8.2.0, < 8.2.12 | no | /v1/products/splunk/universal_forwarder |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2022-12-05
- Remote: yes
- Hackerone reports: 3
- Exposed hosts: 4739835
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since