CVE-2022-27782
JSON

7.5high

TLS and SSH connection too eager reuse

Severity
7.5high CVSS:3.1 by CISA-ADP
Exploit likelihood
3.09% (higher than 88% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
hackerone
Also known as
CURL-CVE-2022-27782

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

Product or packageVersionsReported by
https://github.com/curl/curlFixed in 7.83.1CVE List
https://github.com/curl/curl.gitfrom 7.16.1 before 7.83.1, from 2147284cad624325f5b0034c2f394db62086d9e6 before 1645e9b44505abd5cbaf65da5282c3f33b5924a5curl
haxx curlbefore 7.83.1NVD
debian debian_linux10.0, 11.0NVD
splunk universal_forwarderfrom 8.2.0 before 8.2.12, from 9.0.0 before 9.0.6, 9.1.0NVD

All scores

CISA-ADP7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
curlmedium rating
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
NVD5.0medium CVSS:2.0AV:N/AC:L/Au:N/C:N/I:P/A:N

Classification

CWE-295CWE-840

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.

What each source says

CVE List

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.

curl

libcurl would reuse a previously created connection even when a TLS or 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, several TLS and SSH settings were left out from the configuration match checks, making them match too easily.

NVD (es)

libcurl reusaba una conexión creada previamente incluso cuando había sido cambiada una opción relacionada con TLS o SSH que debería haber prohibido el reúso. libcurl mantiene las conexiones usadas previamente en un pool de conexiones para que las transferencias posteriores las reúsen si una de ellas coincide con la configuración. Sin embargo, varias opciones relacionadas con TLS y SSH se dejaron fuera de las comprobaciones de coincidencia de la configuración, lo que hizo que coincidieran con demasiada facilidad

References

Sources

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