Skip to content
OpenAdvisories
High · 7.5 CVE-2022-27782 EUVD-2022-32277GHSA-x38v-8q6p-w65c

libcurl would reuse a previously created connection even when a TLS or SSHrelated option had been changed that should have prohibited reuse…

Published Jun 1, 2022 · Updated Oct 14, 2026 · Assigned by hackerone

Description

libcurl would reuse a previously created connection even when a TLS or SSHrelated option had been changed that should have prohibited reuse.libcurl keeps previously used connections in a connection pool for subsequenttransfers to reuse if one of them matches the setup. However, several TLS andSSH settings were left out from the configuration match checks, making themmatch too easily.

Affected products

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

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.83.1-1 —
Debian 13 curl 7.83.1-1 —
Debian 12 curl 7.83.1-1 —
Debian 11 curl 7.74.0-1.3+deb11u2 DSA-5197-1
Debian 10 curl 7.64.0-4+deb10u3 DLA-3085-1
ReleasePackageFixed inAdvisory
Ubuntu 22.04 LTS curl 7.81.0-1ubuntu1.2 USN-5412-1
Ubuntu 20.04 LTS curl 7.68.0-1ubuntu2.11 USN-5412-1
Ubuntu 18.04 LTS curl 7.58.0-2ubuntu3.18 USN-5412-1
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS curl No fix yet —
Ubuntu Pro 14.04 LTS curl No fix yet —
ReleasePackageFixed inAdvisory
RHEL 9 curl +4 7.76.1-14.el9_0.4 RHSA-2022:5245
RHEL 8 curl +3 7.61.1-22.el8_6.3 RHSA-2022:5313

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 curl +3 7.61.1-22.el8_6.3 ALSA-2022:5313

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 curl 7.61.1-22.el8_6.3 RLSA-2022:5313
ReleasePackageFixed inAdvisory
SLES 15 SP3 curl 7.66.0-150200.4.33.1 SUSE-SU-2022:1870-1
SLES 15 SP2 curl 7.66.0-150200.4.33.1 SUSE-SU-2022:1870-1
SLES 15 SP1 curl 7.60.0-150000.33.1 SUSE-SU-2022:2829-1
SLES 15 curl 7.60.0-150000.33.1 SUSE-SU-2022:2829-1
SLES 12 SP5 curl 7.60.0-11.40.2 SUSE-SU-2022:1805-1
Show 24 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 12 SP4 curl 7.60.0-4.38.1 SUSE-SU-2022:2813-1
SLES 12 SP3 curl 7.37.0-37.76.1 SUSE-SU-2022:1733-1
SLES 12 SP2 curl 7.37.0-37.76.1 SUSE-SU-2022:1733-1
SLES for SAP 15 SP2 curl 7.66.0-150200.4.33.1 SUSE-SU-2022:1870-1
SLES for SAP 15 SP1 curl 7.60.0-150000.33.1 SUSE-SU-2022:2829-1
SLES for SAP 15 curl 7.60.0-150000.33.1 SUSE-SU-2022:2829-1
SLES for SAP 12 SP5 curl 7.60.0-11.40.2 SUSE-SU-2022:1805-1
SLES for SAP 12 SP4 curl 7.60.0-4.38.1 SUSE-SU-2022:2813-1
SLES for SAP 12 SP3 curl 7.37.0-37.76.1 SUSE-SU-2022:1733-1
SLE Micro 5.2 curl 7.66.0-150200.4.33.1 SUSE-SU-2022:1870-1
SLE Micro 5.1 curl 7.66.0-150200.4.33.1 SUSE-SU-2022:1870-1
SLE HPC 15 SP2 curl 7.66.0-150200.4.33.1 SUSE-SU-2022:1870-1
SLE HPC 15 SP1 curl 7.60.0-150000.33.1 SUSE-SU-2022:2829-1
SLE HPC 15 curl 7.60.0-150000.33.1 SUSE-SU-2022:2829-1
SUSE OpenStack Cloud Crowbar 9 curl 7.60.0-4.38.1 SUSE-SU-2022:2813-1
SUSE OpenStack Cloud Crowbar 8 curl 7.37.0-37.76.1 SUSE-SU-2022:1733-1
SUSE OpenStack Cloud 9 curl 7.60.0-4.38.1 SUSE-SU-2022:2813-1
SUSE OpenStack Cloud 8 curl 7.37.0-37.76.1 SUSE-SU-2022:1733-1
SUSE Manager Server 4.1 curl 7.66.0-150200.4.33.1 SUSE-SU-2022:1870-1
SUSE Manager Retail Branch Server 4.1 curl 7.66.0-150200.4.33.1 SUSE-SU-2022:1870-1
SUSE Manager Proxy 4.1 curl 7.66.0-150200.4.33.1 SUSE-SU-2022:1870-1
SUSE HPE Helion OpenStack 8 curl 7.37.0-37.76.1 SUSE-SU-2022:1733-1
SUSE Enterprise Storage 7 curl 7.66.0-150200.4.33.1 SUSE-SU-2022:1870-1
SUSE Enterprise Storage 6 curl 7.60.0-150000.33.1 SUSE-SU-2022:2829-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed curl 7.83.1-1.1 openSUSE-SU-2024:12062-1
openSUSE Leap 15.3 curl 7.66.0-150200.4.33.1 SUSE-SU-2022:1870-1
ReleasePackageFixed inAdvisory
Alpine v3.24 curl 7.83.1-r0 —
Alpine v3.23 curl 7.83.1-r0 —
Alpine v3.22 curl 7.83.1-r0 —
Alpine v3.21 curl 7.83.1-r0 —
Alpine v3.20 curl 7.83.1-r0 —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 curl 7.83.1-r0 —
Alpine v3.18 curl 7.83.1-r0 —
Alpine v3.17 curl 7.83.1-r0 —
Alpine v3.16 curl 7.83.1-r0 —
Alpine v3.15 curl 7.80.0-r2 —
Alpine v3.14 curl 7.79.1-r2 —
Alpine v3.13 curl 7.79.1-r2 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 curl +4 7.87.0-2.amzn2023.0.2 ALAS2023-2023-083
Amazon Linux 2 curl +2 7.79.1-4.amzn2.0.1 ALAS2-2022-1808

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) curl 7.83.1-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 9 curl +4 7.76.1-14.el9_0.4 ELSA-2022-5245
Oracle Linux 8 curl +3 7.61.1-22.el8_6.3 ELSA-2022-5313

Advisories 33

References