Skip to content
OpenAdvisories
Medium · 5.9 CVE-2023-27535 EUVD-2023-31290GHSA-q9fm-68jc-87x3

An authentication bypass vulnerability exists in libcurl <8.0.0 in the FTP connection reuse feature that can result in wrong credentials be…

Published Mar 30, 2023 · Updated Oct 14, 2026 · Assigned by hackerone

Description

An authentication bypass vulnerability exists in libcurl <8.0.0 in the FTP connection reuse feature that can result in wrong credentials being used during subsequent transfers. Previously created connections are kept in a connection pool for reuse if they match the current setup. However, certain FTP settings such as CURLOPT_FTP_ACCOUNT, CURLOPT_FTP_ALTERNATIVE_TO_USER, CURLOPT_FTP_SSL_CCC, and CURLOPT_USE_SSL were not included in the configuration match checks, causing them to match too easily. This could lead to libcurl using the wrong credentials when performing a transfer, potentially allowing unauthorized access to sensitive information.

Affected products

VendorProductAffectedFixed
— https://github.com/curl/curl Fixed in 8.0.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 curl 7.88.1-7 —
Debian 13 curl 7.88.1-7 —
Debian 12 curl 7.88.1-7 —
Debian 10 curl 7.64.0-4+deb10u6 DLA-3398-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS curl 7.81.0-1ubuntu1.10 USN-5964-1
Ubuntu 20.04 LTS curl 7.68.0-1ubuntu2.18 USN-5964-1
Ubuntu 18.04 LTS curl 7.58.0-2ubuntu3.24 USN-5964-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS curl 7.47.0-1ubuntu2.19+esm8 USN-5964-2
Ubuntu Pro 14.04 LTS curl 7.35.0-1ubuntu2.20+esm15 USN-5964-2
ReleasePackageFixed inAdvisory
RHEL 9 curl +4 7.76.1-23.el9_2.1 RHSA-2023:2650
RHEL 8 curl +3 7.61.1-30.el8_8.2 RHSA-2023:3106
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 8.6 EUS curl +3 7.61.1-22.el8_6.12 RHSA-2024:0428

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 9 curl +4 7.76.1-23.el9_2.1 ALSA-2023:2650
AlmaLinux 8 curl +3 7.61.1-30.el8_8.2 ALSA-2023:3106

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 curl 7.61.1-30.el8_8.2 RLSA-2023:3106
ReleasePackageFixed inAdvisory
SLES 15 SP4 curl 7.79.1-150400.5.18.1 SUSE-SU-2023:1582-1
SLES 15 SP1 curl 7.60.0-150000.51.1 SUSE-SU-2023:2226-1
SLES 12 SP5 curl 7.60.0-11.60.1 SUSE-SU-2023:0865-1
SLES 12 SP4 curl 7.60.0-4.56.1 SUSE-SU-2023:2228-1
Show 11 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 15 SP1 curl 7.60.0-150000.51.1 SUSE-SU-2023:2226-1
SLES for SAP 12 SP5 curl 7.60.0-11.60.1 SUSE-SU-2023:0865-1
SLES for SAP 12 SP4 curl 7.60.0-4.56.1 SUSE-SU-2023:2228-1
SLE Real Time 15 SP3 curl 7.66.0-150200.4.52.1 SUSE-SU-2023:1711-1
SLE Micro 5.3 curl 7.79.1-150400.5.18.1 SUSE-SU-2023:1582-1
SLE Micro 5.2 curl 7.66.0-150200.4.52.1 SUSE-SU-2023:1711-1
SLE Micro 5.1 curl 7.66.0-150200.4.52.1 SUSE-SU-2023:1711-1
SLE HPC 15 SP1 curl 7.60.0-150000.51.1 SUSE-SU-2023:2226-1
SUSE OpenStack Cloud Crowbar 9 curl 7.60.0-4.56.1 SUSE-SU-2023:2228-1
SUSE OpenStack Cloud 9 curl 7.60.0-4.56.1 SUSE-SU-2023:2228-1
SUSE Enterprise Storage 6 curl 7.60.0-150000.51.1 SUSE-SU-2023:2226-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed curl 8.0.1-1.1 openSUSE-SU-2024:12812-1
openSUSE Leap 15.4 curl 7.79.1-150400.5.18.1 SUSE-SU-2023:1582-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
openSUSE Leap Micro 5.3 curl 7.79.1-150400.5.18.1 SUSE-SU-2023:1582-1
ReleasePackageFixed inAdvisory
Alpine v3.24 curl 8.0.0-r0 —
Alpine v3.23 curl 8.0.0-r0 —
Alpine v3.22 curl 8.0.0-r0 —
Alpine v3.21 curl 8.0.0-r0 —
Alpine v3.20 curl 8.0.0-r0 —
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 curl 8.0.0-r0 —
Alpine v3.18 curl 8.0.0-r0 —
Alpine v3.17 curl 7.88.1-r1 —
Alpine v3.16 curl 8.0.1-r0 —
Alpine v3.15 curl 8.0.1-r0 —
Alpine v3.14 curl 8.0.1-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 curl +4 8.0.1-1.amzn2023 ALAS2023-2023-193
Amazon Linux 2 curl +2 8.0.1-1.amzn2.0.1 ALAS2-2023-2070

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 cmake 3.28.2-1 —
Azure Linux 3 tensorflow 2.16.1-1 —
Azure Linux 2 (CBL-Mariner) cmake 3.21.4-13 —
Azure Linux 2 (CBL-Mariner) curl 8.0.1-1 —
Azure Linux 2 (CBL-Mariner) mysql 8.0.34-1 —
Azure Linux 2 (CBL-Mariner) rust 1.72.0-2 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 curl +4 7.76.1-23.el9_2.1 ELSA-2023-2650
Oracle Linux 8 curl +3 7.61.1-30.el8_8.2 ELSA-2023-3106

Advisories 32

References