5.9medium
HSTS double free
- Severity
- 5.9medium CVSS:3.1 by NVD
- Exploit likelihood
- 1.95% (higher than 80% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- hackerone
- Also known as
- CURL-CVE-2023-27537
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
| Product or package | Versions | Reported by |
|---|---|---|
| https://github.com/curl/curl | Fixed in 8.0.0 | CVE List |
| https://github.com/curl/curl.git | from 7.88.0 before 8.0.0, from 076a2f629119222aeeb50f5a03bf9f9052fabb9a before dca4cdf071be095bcdc7126eaa77a8946ea4790b | curl |
| haxx libcurl | 7.88.0, 7.88.1 | NVD |
| netapp active_iq_unified_manager | Not specified | NVD |
| netapp clustered_data_ontap | 9.0 | NVD |
| broadcom brocade_fabric_operating_system_firmware | Not specified | NVD |
| netapp h300s_firmware | Not specified | NVD |
| netapp h500s_firmware | Not specified | NVD |
| netapp h700s_firmware | Not specified | NVD |
| netapp h410s_firmware | Not specified | NVD |
| splunk universal_forwarder | from 8.2.0 before 8.2.12, from 9.0.0 before 9.0.6, 9.1.0 | NVD |
All scores
| curl | low rating | |
| NVD | 5.9medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
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.
curl
libcurl supports sharing HSTS data between separate "handles". This sharing was introduced without considerations for doing 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.
NVD (es)
Una vulnerabilidad de doble liberación existe en libcurl anterior a 8.0.0 al compartir datos HSTS entre 'handles' separados. Esta compartición fue introducida sin considerar realizarla entre hilos separados, pero no había ninguna indicación de este hecho en la documentación. Debido a la falta de mutexes o bloqueos de hilos, dos hilos que compartían los mismos datos HSTS podrían terminar realizando una doble liberación o un uso después de liberación.
References
| https://hackerone.com/reports/1897203 | exploit, third-party-advisory | |
| https://security.netapp.com/advisory/ntap-20230420-0010/ | third-party-advisory | |
| https://security.gentoo.org/glsa/202310-12 | third-party-advisory, vendor-advisory | |
| https://cert-portal.siemens.com/productcert/html/ssa-398330.html | ||
| https://cert-portal.siemens.com/productcert/html/ssa-943925.html | ||
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-27537 changed 2026-11-02 | CVE Terms of Use |
| curl | CURL-CVE-2023-27537 changed 2026-10-24 | MIT |
| NVD | CVE-2023-27537 changed 2026-11-02 | Public domain |