CVE-2022-43552: A use after free vulnerability exists in curl <7.87.0. Curl can be asked to *tunnel* virtually all protocols it supports through an HTTP proxy. HTTP proxies can (and often do) deny such tunnel operations. When getting denied to tunnel the specific protocols SMB or TELNET curl would use a heap-allocated struct after it had been freed in its transfer shutdown code path.
CVE-2022-43552 is a vulnerability in A use after free vulnerability exists in curl <7.87.0. Curl can be asked to *tunnel* virtually all protocols it supports through an HTTP proxy. HTTP proxies can (and often do) deny such tunnel operations. When getting denied to tunnel the specific protocols SMB or TELNET curl would use a heap-allocated struct after it had been freed in its transfer shutdown code path., rated Moderate by Microsoft, with a CVSS 3.1 base score of 5.9 (Medium). An attacker can exploit it remotely over the network, without any privileges and without user interaction. Microsoft has not reported exploitation in the wild. It was publicly disclosed before the fix was released. The EPSS model estimates a 2.77% probability of exploitation activity in the next 30 days, higher than 87% of all scored vulnerabilities. Microsoft released the fix on 9 February 2023, outside Patch Tuesday. It affects 12 products in 1 product family (Mariner).
Key facts
- CVE ID
- CVE-2022-43552
- Severity
- Medium CVSS 5.9
- Microsoft severity
- Moderate
- Exploited in the wild
- No
- Publicly disclosed
- Yes
- Weakness
- CWE-416
- EPSS
- 2.77% (percentile 87%)
- CISA KEV
- Not listed
- Released
- Last updated
- Patch Tuesday
- February 2023 Patch Tuesday
- Product families
- Mariner
CVSS score and vector
Microsoft scores CVE-2022-43552 at 5.9 (temporal 5.9) using CVSS 3.1. Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
| Metric | Value |
|---|---|
| Attack vector | Network |
| Attack complexity | High |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality impact | None |
| Integrity impact | None |
| Availability impact | High |
Frequently asked questions (Microsoft)
What is the curl open-source project?
Curl is a computer software project providing a library (libcurl) and command-line tool (curl) for transferring data using various network protocols. The name stands for "Client for URL". The Windows implementation provides access to the command-line tool, not the library.
What version of curl addresses this CVE?
Curl version 7.87.0 addresses this vulnerability.
Where can I find more information about this curl vulnerability?
More information can be found at NVD and curl.se
Are there any workarounds that can be implemented?
Preventing the execution of curl.exe is a workaround to be considered
Use a WDAC policy to deny execution of the \system32\curl.exe executable. You can merge the deny into an existing policy or create a new policy with it using the Merge-CIPolicy cmdlet; Merge-CIPolicy (ConfigCI) | Microsoft Learn. Once the policy XML file with the deny has been created or merged with an existing policy it must be deployed.
Choose how to deploy the policy; Deploying Windows Defender Application Control (WDAC) policies | Microsoft Learn
- Deploy using a Mobile Device Management (MDM) solution, such as Microsoft Intune
- Deploy using Microsoft Configuration Manager
- Deploy via script
- Deploy via group policy
For example:
Create a new policy: (These steps will create a new policy named Deny-Curl.xml by merging the deny using the example policy named AllowAll.xml)
$rule = new-cipolicyrule -DriverFilePath "$env:systemroot\system32\curl.exe" -Level FilePublisher -Deny
$rule[0].attributes["MinimumFileVersion"] = "0.0.0.0"
$rule[0].attributes["MaximumFileVersion"] = "7.87.0.0"
merge-cipolicy "$env:systemroot\schemas\CodeIntegrity\ExamplePolicies\AllowAll.xml" -Rules $rule -OutputFilePath "Deny-Curl.xml"
Merge into an existing policy
$rule = new-cipolicyrule -DriverFilePath "$env:systemroot\system32\curl.exe" -Level FilePublisher -Deny
$rule[0].attributes["MinimumFileVersion"] = "0.0.0.0"
$rule[0].attributes["MaximumFileVersion"] = "7.87.0.0"
merge-cipolicy "existing_policy.xml" -Rules $rule -OutputFilePath "existing_policy.xml"
How to undo this workaround?
Guidance for how to remove WDAC policies can be found in the following documentation: Remove Windows Defender Application Control (WDAC) policies
Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Affected products (12)
Mariner
| Product | Security update | Type | Fixed build | Restart |
|---|---|---|---|---|
| azl3 cmake 3.21.4-10 on Azure Linux 3.0 | CBL-Mariner Releases | Security Update | 3.28.2-1 | No |
| cm1 rust 1.59.0-1 on CBL Mariner 1.0 | CBL-Mariner Releases | Security Update | 1.59.0-1 | No |
| cm1 mysql 8.0.32-1 on CBL Mariner 1.0 | CBL-Mariner Releases | Security Update | 8.0.32-1 | No |
| cm1 curl 7.86.0-3 on CBL Mariner 1.0 | CBL-Mariner Releases | Security Update | 7.86.0-3 | No |
| cm1 cmake 3.21.4-3 on CBL Mariner 1.0 | CBL-Mariner Releases | Security Update | 3.21.4-3 | No |
| cbl2 rust 1.72.0-2 on CBL Mariner 2.0 | CBL-Mariner Releases | Security Update | 1.72.0-2 | No |
| cbl2 mysql 8.0.33-1 on CBL Mariner 2.0 | CBL-Mariner Releases | Security Update | 8.0.33-1 | No |
| cbl2 curl 7.86.0-3 on CBL Mariner 2.0 | CBL-Mariner Releases | Security Update | 7.86.0-3 | No |
| cbl2 cmake 3.21.4-13 on CBL Mariner 2.0 | CBL-Mariner Releases | Security Update | 3.21.4-13 | No |
| azl3 tensorflow 2.16.1-1 on Azure Linux 3.0 | CBL-Mariner Releases | Security Update | 2.16.1-1 | No |
| azl3 cmake 3.28.2-1 on Azure Linux 3.0 | CBL-Mariner Releases | Security Update | 3.28.2-1 | No |
| azl3 tensorflow 2.11.1-1 on Azure Linux 3.0 | CBL-Mariner Releases | Security Update | 2.16.1-1 | No |
NIST NVD data
- NVD status
- Modified
- NVD CVSS
- 5.9 (MEDIUM)
- NVD weakness
- CWE-416
- Published to NVD
- NVD last modified
Affected configurations (CPE)
| Product | Vulnerable versions |
|---|---|
| curl | before 7.87.0 |
| macos | from 13.0, before 13.3 |
| universal forwarder | from 8.2.0, before 8.2.12 |
| universal forwarder | from 9.0.0, before 9.0.6 |
| universal forwarder 9.1.0 | all listed versions |
References
- http://seclists.org/fulldisclosure/2023/Mar/17 (Mailing List, Third Party Advisory)
- https://hackerone.com/reports/1764858 (Exploit, Issue Tracking, Third Party Advisory)
- https://security.gentoo.org/glsa/202310-12 (Third Party Advisory)
- https://security.netapp.com/advisory/ntap-20230214-0002/ (Vendor Advisory)
- https://support.apple.com/kb/HT213670 (Third Party Advisory)
- http://seclists.org/fulldisclosure/2023/Mar/17 (Mailing List, Third Party Advisory)
- https://hackerone.com/reports/1764858 (Exploit, Issue Tracking, Third Party Advisory)
- https://security.gentoo.org/glsa/202310-12 (Third Party Advisory)
- https://security.netapp.com/advisory/ntap-20230214-0002/ (Vendor Advisory)
- https://support.apple.com/kb/HT213670 (Third Party Advisory)
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/html/ssa-892048.html
Acknowledgments
Revision history
| Version | Date | Description |
|---|---|---|
| 1.0 | Information published. | |
| 1.1 | CVE updated to add Windows software as Microsoft is aware that certain versions of Windows are affected by the cURL vulnerability. Microsoft will incorporate the new cURL Open Source library that addresses this issue in an upcoming security release. | |
| 1.2 | Microsoft is announcing the availability of the April 2023 security updates to address this vulnerability for all supported versions of Windows 10 version 1809, Windows 10 version 20H2, Windows 10 version 21H2, Windows 10 version 22H2, Windows 11 version 21H2, Windows 11 version 22H2, Windows Server 2019, and Windows Server 2022. Microsoft strongly recommends that customers install the April 2023 updates to be fully protected from this vulnerability. Customers whose systems are configured to receive automatic updates do not need to take any further action. | |
| 1.3 | Updated FAQ information. This is an informational change only. | |
| 1.4 | Information published. | |
| 1.5 | Added cmake to CBL-Mariner 2.0 Added rust to CBL-Mariner 2.0 Added mysql to CBL-Mariner 2.0 Added curl to CBL-Mariner 2.0 Added tensorflow to Azure Linux 3.0 Added cmake to Azure Linux 3.0 Added curl to CBL-Mariner 1.0 | |
| 1.6 | Information published. | |
| 2.0 | Information published. | |
| 3.0 | Information published. |