Vulnerability · Published Feb 9, 2023 · Assigned by hackerone
CVE-2022-43552
Medium 5.9
In plain English
A medium-severity use-after-free in https://github.com/curl/curl. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.7% (higher than 86% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | curl | 7.61.1-30.el8 | ALSA-2023:2963 |
| AlmaLinux:9 | curl | 7.76.1-23.el9 | ALSA-2023:2478 |
| AlmaLinux:9 | curl-minimal | 7.76.1-23.el9 | ALSA-2023:2478 |
| AlmaLinux:8 | libcurl | 7.61.1-30.el8 | ALSA-2023:2963 |
| AlmaLinux:9 | libcurl | 7.76.1-23.el9 | ALSA-2023:2478 |
| AlmaLinux:8 | libcurl-devel | 7.61.1-30.el8 | ALSA-2023:2963 |
| AlmaLinux:9 | libcurl-devel | 7.76.1-23.el9 | ALSA-2023:2478 |
| AlmaLinux:8 | libcurl-minimal | 7.61.1-30.el8 | ALSA-2023:2963 |
| AlmaLinux:9 | libcurl-minimal | 7.76.1-23.el9 | ALSA-2023:2478 |
| Alpine:v3.20 | curl | 7.87.0-r0 | ALPINE-CVE-2022-43552 |
| Alpine:v3.21 | curl | 7.87.0-r0 | ALPINE-CVE-2022-43552 |
| Alpine:v3.22 | curl | 7.87.0-r0 | ALPINE-CVE-2022-43552 |
| Alpine:v3.23 | curl | 7.87.0-r0 | ALPINE-CVE-2022-43552 |
| Alpine:v3.24 | curl | 7.87.0-r0 | ALPINE-CVE-2022-43552 |
| Debian:12 | curl | 7.86.0-3 | DEBIAN-CVE-2022-43552 |
| Debian:13 | curl | 7.86.0-3 | DEBIAN-CVE-2022-43552 |
| Debian:14 | curl | 7.86.0-3 | DEBIAN-CVE-2022-43552 |
| Ubuntu:22.04:LTS | curl | 7.81.0-1ubuntu1.7 | UBUNTU-CVE-2022-43552 |
| Ubuntu:22.04:LTS | curl | 7.81.0-1ubuntu1.7 | USN-5788-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | https://github.com/curl/curl | Fixed in curl 7.87.0 |
Weakness: CWE-416 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://hackerone.com/reports/1764858
- https://security.netapp.com/advisory/ntap-20230214-0002/
- https://support.apple.com/kb/HT213670
- 20230327 APPLE-SA-2023-03-27-3 macOS Ventura 13.3 mailing-list
- GLSA-202310-12 vendor-advisory
- https://cert-portal.siemens.com/productcert/html/ssa-892048.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html