Vulnerability · Published Mar 30, 2023 · Assigned by hackerone

CVE-2023-27538

High 7.7

In plain English

A high-severity security flaw in https://github.com/curl/curl. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 1.5% (higher than 73% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.7High
Exploit odds (30 days)1.5%top 26.5% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

An authentication bypass vulnerability exists in libcurl prior to v8.0.0 where it reuses a previously established SSH connection despite the fact that an SSH option was modified, which should have prevented reuse. libcurl maintains a pool of previously used connections to reuse them for subsequent transfers if the configurations match. However, two SSH settings were omitted from the configuration check, allowing them to match easily, potentially leading to the reuse of an inappropriate connection.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
AlmaLinux:9curl7.76.1-26.el9ALSA-2023:6679
AlmaLinux:9curl-minimal7.76.1-26.el9ALSA-2023:6679
AlmaLinux:9libcurl7.76.1-26.el9ALSA-2023:6679
AlmaLinux:9libcurl-devel7.76.1-26.el9ALSA-2023:6679
AlmaLinux:9libcurl-minimal7.76.1-26.el9ALSA-2023:6679
Alpine:v3.20curl8.0.0-r0ALPINE-CVE-2023-27538
Alpine:v3.21curl8.0.0-r0ALPINE-CVE-2023-27538
Alpine:v3.22curl8.0.0-r0ALPINE-CVE-2023-27538
Alpine:v3.23curl8.0.0-r0ALPINE-CVE-2023-27538
Alpine:v3.24curl8.0.0-r0ALPINE-CVE-2023-27538
Debian:12curl7.88.1-7DEBIAN-CVE-2023-27538
Debian:13curl7.88.1-7DEBIAN-CVE-2023-27538
Debian:14curl7.88.1-7DEBIAN-CVE-2023-27538
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.10UBUNTU-CVE-2023-27538
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.10USN-5964-1

Affected products (as reported)

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

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

References