Vulnerability · Published Mar 30, 2023 · Assigned by hackerone
CVE-2023-27537
Medium 5.9
In plain English
A medium-severity double 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 1.9% (higher than 80% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
A double free vulnerability exists in libcurl <8.0.0 when sharing HSTS data between separate "handles". This sharing was introduced without considerations for do this sharing across separate threads but there was no indication of this fact in the documentation. Due to missing mutexes or thread locks, two threads sharing the same HSTS data could end up doing a double-free or use-after-free.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | curl | 8.0.0-r0 | ALPINE-CVE-2023-27537 |
| Alpine:v3.21 | curl | 8.0.0-r0 | ALPINE-CVE-2023-27537 |
| Alpine:v3.22 | curl | 8.0.0-r0 | ALPINE-CVE-2023-27537 |
| Alpine:v3.23 | curl | 8.0.0-r0 | ALPINE-CVE-2023-27537 |
| Alpine:v3.24 | curl | 8.0.0-r0 | ALPINE-CVE-2023-27537 |
| Debian:12 | curl | 7.88.1-7 | DEBIAN-CVE-2023-27537 |
| Debian:13 | curl | 7.88.1-7 | DEBIAN-CVE-2023-27537 |
| Debian:14 | curl | 7.88.1-7 | DEBIAN-CVE-2023-27537 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| n/a | https://github.com/curl/curl | Fixed in 8.0.0 |
Weakness: CWE-415