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.
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
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:8 | curl | 7.61.1-22.el8_6.3 | ALSA-2022:5313 |
| AlmaLinux:8 | libcurl | 7.61.1-22.el8_6.3 | ALSA-2022:5313 |
| AlmaLinux:8 | libcurl-devel | 7.61.1-22.el8_6.3 | ALSA-2022:5313 |
| AlmaLinux:8 | libcurl-minimal | 7.61.1-22.el8_6.3 | ALSA-2022:5313 |
| Alpine:v3.20 | curl | 7.83.1-r0 | ALPINE-CVE-2022-27782 |
| Alpine:v3.21 | curl | 7.83.1-r0 | ALPINE-CVE-2022-27782 |
| Alpine:v3.22 | curl | 7.83.1-r0 | ALPINE-CVE-2022-27782 |
| Alpine:v3.23 | curl | 7.83.1-r0 | ALPINE-CVE-2022-27782 |
| Alpine:v3.24 | curl | 7.83.1-r0 | ALPINE-CVE-2022-27782 |
| Debian:12 | curl | 7.83.1-1 | DEBIAN-CVE-2022-27782 |
| Debian:13 | curl | 7.83.1-1 | DEBIAN-CVE-2022-27782 |
| Debian:14 | curl | 7.83.1-1 | DEBIAN-CVE-2022-27782 |
| Rocky Linux:8 | curl | 0:7.61.1-22.el8_6.3 | RLSA-2022:5313 |
| Ubuntu:22.04:LTS | curl | 7.81.0-1ubuntu1.2 | UBUNTU-CVE-2022-27782 |
| Ubuntu:22.04:LTS | curl | 7.81.0-1ubuntu1.2 | USN-5412-1 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| 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
- https://hackerone.com/reports/1555796
- https://security.netapp.com/advisory/ntap-20220609-0009/
- DSA-5197 vendor-advisory
- [debian-lts-announce] 20220828 [SECURITY] [DLA 3085-1] curl security update mailing-list
- GLSA-202212-01 vendor-advisory
- [oss-security] 20230320 [SECURITY ADVISORY] curl: CVE-2023-27538: SSH connection too eager reuse still mailing-list
- https://cert-portal.siemens.com/productcert/html/ssa-146325.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html