CVE-2022-43552
Executive Summary
CVE-2022-43552 is a use‑after‑free flaw in curl versions prior to 7.87.0. When curl is instructed to tunnel SMB or TELNET through an HTTP proxy that denies the operation, the library frees a heap‑allocated structure but later accesses it during shutdown. This can lead to a crash or remote code execution on the client. The vulnerability is not yet listed in CISA KEV.
Authoritative CVE Metadata
- CVSS Base Score: 5.9 (MEDIUM)
- Last Modified: 23-10-26
Original Description
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.