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.

Severity (CVSS NVD)5.9Medium
Exploit odds (30 days)1.9%top 20.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Alpine:v3.20curl8.0.0-r0ALPINE-CVE-2023-27537
Alpine:v3.21curl8.0.0-r0ALPINE-CVE-2023-27537
Alpine:v3.22curl8.0.0-r0ALPINE-CVE-2023-27537
Alpine:v3.23curl8.0.0-r0ALPINE-CVE-2023-27537
Alpine:v3.24curl8.0.0-r0ALPINE-CVE-2023-27537
Debian:12curl7.88.1-7DEBIAN-CVE-2023-27537
Debian:13curl7.88.1-7DEBIAN-CVE-2023-27537
Debian:14curl7.88.1-7DEBIAN-CVE-2023-27537

Affected products (as reported)

VendorProductVersions
n/a https://github.com/curl/curl Fixed in 8.0.0

Weakness: CWE-415

References