Vulnerability · Published Jun 1, 2022 · Assigned by hackerone

CVE-2022-27782

High 7.5

In plain English

A high-severity security flaw in https://github.com/curl/curl. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 3.1% (higher than 88% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)3.1%top 12.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:8curl7.61.1-22.el8_6.3ALSA-2022:5313
AlmaLinux:8libcurl7.61.1-22.el8_6.3ALSA-2022:5313
AlmaLinux:8libcurl-devel7.61.1-22.el8_6.3ALSA-2022:5313
AlmaLinux:8libcurl-minimal7.61.1-22.el8_6.3ALSA-2022:5313
Alpine:v3.20curl7.83.1-r0ALPINE-CVE-2022-27782
Alpine:v3.21curl7.83.1-r0ALPINE-CVE-2022-27782
Alpine:v3.22curl7.83.1-r0ALPINE-CVE-2022-27782
Alpine:v3.23curl7.83.1-r0ALPINE-CVE-2022-27782
Alpine:v3.24curl7.83.1-r0ALPINE-CVE-2022-27782
Debian:12curl7.83.1-1DEBIAN-CVE-2022-27782
Debian:13curl7.83.1-1DEBIAN-CVE-2022-27782
Debian:14curl7.83.1-1DEBIAN-CVE-2022-27782
Rocky Linux:8curl0:7.61.1-22.el8_6.3RLSA-2022:5313
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.2UBUNTU-CVE-2022-27782
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.2USN-5412-1

Affected products (as reported)

VendorProductVersions
n/a https://github.com/curl/curl Fixed in 7.83.1

Weakness: CWE-840 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

References