Vulnerability · Published Feb 23, 2023 · Assigned by hackerone

CVE-2023-23915

Medium 6.5

In plain English

A medium-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 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)0.9%top 40.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

A cleartext transmission of sensitive information vulnerability exists in curl <v7.88.0 that could cause HSTS functionality to behave incorrectly when multiple URLs are requested in parallel. Using its HSTS support, curl can be instructed to use HTTPS instead of using an insecure clear-text HTTP step even when HTTP is provided in the URL. This HSTS mechanism would however surprisingly fail when multiple transfers are done in parallel as the HSTS cache file gets overwritten by the most recentlycompleted transfer. A later HTTP-only transfer to the earlier host name would then *not* get upgraded properly to HSTS.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20curl7.88.0-r0ALPINE-CVE-2023-23915
Alpine:v3.21curl7.88.0-r0ALPINE-CVE-2023-23915
Alpine:v3.22curl7.88.0-r0ALPINE-CVE-2023-23915
Alpine:v3.23curl7.88.0-r0ALPINE-CVE-2023-23915
Alpine:v3.24curl7.88.0-r0ALPINE-CVE-2023-23915
Debian:12curl7.88.1-1DEBIAN-CVE-2023-23915
Debian:13curl7.88.1-1DEBIAN-CVE-2023-23915
Debian:14curl7.88.1-1DEBIAN-CVE-2023-23915
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.8UBUNTU-CVE-2023-23915
Ubuntu:22.04:LTScurl7.81.0-1ubuntu1.8USN-5891-1

Affected products (as reported)

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

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

References