CVE-2022-30115Missing Cryptographic Step in Curl

Severity
4.3MEDIUMNVD
EPSS
0.1%
top 72.22%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedJun 2
Latest updateJun 14

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.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:NExploitability: 2.8 | Impact: 1.4

Affected Packages4 packages

CVEListV5https/github.com_curl_curlFixed in 7.83.1
NVDhaxx/curl7.82.07.83.1
Debianhaxx/curl< 7.83.1-1+2
NVDsplunk/universal_forwarder8.2.08.2.12+2

Patches

🔴Vulnerability Details

3
GHSA
GHSA-p8vh-85vc-66x9: 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 th2022-06-03
OSV
CVE-2022-30115: 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 th2022-06-02
CVEList
CVE-2022-30115: 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 th2022-06-01

📋Vendor Advisories

3
Microsoft
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 2022-06-14
Red Hat
curl: HSTS bypass via trailing dot2022-05-11
Debian
CVE-2022-30115: curl - Using its HSTS support, curl can be instructed to use HTTPS directly insteadof u...2022

💬Community

2
HackerOne
CVE-2022-30115: HSTS bypass via trailing dot2022-06-11
HackerOne
CVE-2022-30115: HSTS bypass via trailing dot2022-05-11
CVE-2022-30115 — Missing Cryptographic Step in Curl | cvebase