Vulnerability · Published Jun 1, 2022 · Assigned by hackerone

CVE-2022-30115

Medium 4.3

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

Severity (CVSS NVD)4.3Medium
Exploit odds (30 days)1.4%top 28.2% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

Using its HSTS support, curl can be instructed to use HTTPS directly insteadof using an insecure clear-text HTTP step even when HTTP is provided in theURL. This mechanism could be bypassed if the host name in the given URL used atrailing dot while not using one when it built the HSTS cache. Or the otherway around - by having the trailing dot in the HSTS cache and *not* using thetrailing dot in the URL.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20curl7.83.1-r0ALPINE-CVE-2022-30115
Alpine:v3.21curl7.83.1-r0ALPINE-CVE-2022-30115
Alpine:v3.22curl7.83.1-r0ALPINE-CVE-2022-30115
Alpine:v3.23curl7.83.1-r0ALPINE-CVE-2022-30115
Alpine:v3.24curl7.83.1-r0ALPINE-CVE-2022-30115
Debian:12curl7.83.1-1DEBIAN-CVE-2022-30115
Debian:13curl7.83.1-1DEBIAN-CVE-2022-30115
Debian:14curl7.83.1-1DEBIAN-CVE-2022-30115

Affected products (as reported)

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

Weakness: CWE-325

References