Skip to main content

Over 150 LLM Providers · Over 5,300 Models The most extensible AI-powered pentesting platform. Open source. Star on GitHub

CVE-2022-32221

9.8 · CRITICAL
Published Dec 5, 2022 haxx CWE-200 EPSS 4.32% (90th pctl)

Overview

CVE-2022-32221 is a critical-severity vulnerability affecting haxx curl. It was published on December 5, 2022 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

Technical 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.

Remediation

Check the references section for vendor advisories and patches from haxx. Update curl to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

Affected Products

Vendor Product Versions Status
haxx curl >= 0, < 7.86.0 Affected
apple macos >= 0, < 12.6.3 Affected
splunk universal_forwarder >= 8.2.0, < 8.2.12 Affected

Frequently Asked Questions

What is CVE-2022-32221?

CVE-2022-32221 is a critical-severity vulnerability affecting haxx curl. It was published on December 5, 2022 and has a CVSS 3.1 base score of 9.8 (CRITICAL).

How severe is CVE-2022-32221?

This vulnerability has a CVSS 3.1 base score of 9.8, rated CRITICAL. It can be exploited remotely over the network. No authentication or special privileges are required for exploitation.

How do I fix or remediate CVE-2022-32221?

Check the references section for vendor advisories and patches from haxx. Update curl to the latest patched version. If immediate patching is not possible, review the CVSS vector to understand the attack surface and apply compensating controls such as network segmentation or access restrictions.

How can CyberStrike help with CVE-2022-32221?

CyberStrike's AI-powered security agents can automatically detect CVE-2022-32221 across your infrastructure using autonomous pentesting, DAST scanning, and HackBrowser. The platform continuously monitors for known vulnerabilities and provides actionable remediation guidance prioritized by real-world exploitability.