CVE-2023-27537 Use after free in https://github.com/curl/curl

Medium 5.9 Published Updated

A double free or use-after-free in libcurl's HSTS sharing allows attackers to cause crashes or execute code when multiple threads share data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2023-27537?

CVE-2023-27537 is a medium-severity use after free vulnerability in Haxx Libcurl, published on 30 Mar 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.

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.

Weakness: CWE-415

Which versions are affected by CVE-2023-27537?

It affects 9 products.

Products include Broadcom Brocade Fabric Operating System Firmware, Haxx Libcurl, Netapp Active Iq Unified Manager, Netapp Clustered Data Ontap, Netapp H300s Firmware, Netapp H410s Firmware and 3 more.

How do I fix CVE-2023-27537?

Upgrade to a fixed version.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2023-27537 being exploited?

There is no known exploitation of CVE-2023-27537 in the wild and no public exploit code.

All Haxx Libcurl vulnerabilities

Sources

Also known as ALPINE-CVE-2023-27537, AZL-25852, AZL-25858, AZL-34603, AZL-38114, CLEANSTART-2026-NT49097 and 4 more.

Is CVE-2023-27537 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free