CVE-2023-27538
JSON

7.7high

SSH connection too eager reuse still

Severity
7.7high CVSS:3.1 by CISA-ADP
Exploit likelihood
1.45% (higher than 74% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
hackerone
Also known as
CURL-CVE-2023-27538

Description

An authentication bypass vulnerability exists in libcurl prior to v8.0.0 where it reuses a previously established SSH connection despite the fact that an SSH option was modified, which should have prevented reuse. libcurl maintains a pool of previously used connections to reuse them for subsequent transfers if the configurations match. However, two SSH settings were omitted from the configuration check, allowing them to match easily, potentially leading to the reuse of an inappropriate connection.

Affected

Product or packageVersionsReported by
https://github.com/curl/curlFixed in 8.0.0CVE List
https://github.com/curl/curl.gitfrom 7.16.1 before 8.0.0, from 2147284cad624325f5b0034c2f394db62086d9e6 before af369db4d3833272b8ed443f7fcc2e757a0872ebcurl
haxx libcurlfrom 7.16.1 before 8.0.0NVD
fedoraproject fedora36NVD
debian debian_linux10.0NVD
netapp active_iq_unified_managerNot specifiedNVD
netapp clustered_data_ontap9.0NVD
broadcom brocade_fabric_operating_system_firmwareNot specifiedNVD
netapp h300s_firmwareNot specifiedNVD
netapp h500s_firmwareNot specifiedNVD
netapp h700s_firmwareNot specifiedNVD
netapp h410s_firmwareNot specifiedNVD

All scores

CISA-ADP7.7high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
curllow rating
NVD5.5medium CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-287CWE-305

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

An authentication bypass vulnerability exists in libcurl prior to v8.0.0 where it reuses a previously established SSH connection despite the fact that an SSH option was modified, which should have prevented reuse. libcurl maintains a pool of previously used connections to reuse them for subsequent transfers if the configurations match. However, two SSH settings were omitted from the configuration check, allowing them to match easily, potentially leading to the reuse of an inappropriate connection.

curl

libcurl would reuse a previously created connection even when an SSH related option had been changed that should have prohibited reuse.

libcurl keeps previously used connections in a connection pool for subsequent transfers to reuse if one of them matches the setup. However, two SSH settings were left out from the configuration match checks, making them match too easily.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-27538 changed 2026-10-14CVE Terms of Use
curlCURL-CVE-2023-27538 changed 2026-10-25MIT
NVDCVE-2023-27538 changed 2026-10-14Public domain