Every CVE Search/ Get API key

CVE-2022-30115

Using its HSTS support, curl can be instructed to use HTTPS directly insteadof using an insecure...

4.3 MediumFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
Low
User interaction
None

What an attacker can affect

Confidentiality
Low
Integrity
None
Availability
None

Exploit likelihood

1.36%Up 0.5 points since Jun 2, 2022
90%50%10%1%

What each source reports

NVD Score used 4.3

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.

Record
CVE-2022-30115
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
CVSS 2.0
4.0 MediumAV:N/AC:L/Au:S/C:P/I:N/A:N
Weakness
CWE-325, CWE-319
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2022-30115
Weakness
CWE-325
Updated
2026-11-02
EUVDEUVD-2022-35328 No score

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.

Record
EUVD-2022-35328
Updated
2026-11-02
GitHub AdvisoriesGHSA-p8vh-85vc-66x9 4.3

Using its HSTS support, curl can be instructed to use HTTPS directly insteadof using an insecure...

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.

Record
GHSA-p8vh-85vc-66x9
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-319, CWE-325
Updated
2026-11-02
OSVALPINE-CVE-2022-30115 4.3

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.

Record
ALPINE-CVE-2022-30115
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-03
OSVAZL-9891 4.3

CVE-2022-30115 affecting package curl for versions less than 7.83.1-1

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.

Record
AZL-9891
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
Show 5 moreShow less
OSVBELL-CVE-2022-30115 4.3

CVE-2022-30115 does not affect BellSoft software

Record
BELL-CVE-2022-30115
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-02
OSVDEBIAN-CVE-2022-30115 4.3

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.

Record
DEBIAN-CVE-2022-30115
CVSS 3.1
4.3 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-03
OSVCURL-CVE-2022-30115 No score

HSTS bypass via trailing dot

curl's HSTS check could be bypassed to trick it to keep using HTTP.

Using its HSTS support, curl can be instructed to use HTTPS directly instead of using an insecure clear-text HTTP step even when HTTP is provided in the URL. This mechanism could be bypassed if the hostname in the given URL used a trailing dot while not using one when it built the HSTS cache. Or the other way around - by having the trailing dot in the HSTS cache and not using the trailing dot in the URL.

Since trailing dots in hostnames are somewhat special, many sites work equally fine with or without a trailing dot present.

Record
CURL-CVE-2022-30115
Updated
2026-11-02
OSV No score

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.

Record
CVE-2022-30115
Weakness
CWE-325
Updated
2026-11-02
OSVopenSUSE-SU-2024:12062-1 No score

curl-7.83.1-1.1 on GA media

These are all security issues fixed in the curl-7.83.1-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2024:12062-1
Updated
2026-11-02

Affected products

Show 1 moreShow less

Affected packages

Affected packages
PackageAffectedFixed
curl
Alpine:v3.16
7.82.0 up to 7.83.1-r0
7.83.1-r0
curl
Alpine:v3.17
7.82.0 up to 7.83.1-r0
7.83.1-r0
curl
Alpine:v3.18
7.82.0 up to 7.83.1-r0
7.83.1-r0
curl
Alpine:v3.19
7.82.0 up to 7.83.1-r0
7.83.1-r0
curl
Alpine:v3.20
7.82.0 up to 7.83.1-r0
7.83.1-r0
curl
Alpine:v3.21
7.82.0 up to 7.83.1-r0
7.83.1-r0
curl
Alpine:v3.22
7.82.0 up to 7.83.1-r0
7.83.1-r0
curl
Alpine:v3.23
7.82.0 up to 7.83.1-r0
7.83.1-r0
curl
Alpine:v3.24
7.82.0 up to 7.83.1-r0
7.83.1-r0
curl
Azure Linux:2
before 7.83.1-1
7.83.1-1
Show 4 moreShow less
Affected packages
PackageAffectedFixed
curl
Debian:12
before 7.83.1-1
7.83.1-1
curl
Debian:13
before 7.83.1-1
7.83.1-1
curl
Debian:14
before 7.83.1-1
7.83.1-1
curl
openSUSE:Tumbleweed
From an advisory covering 6 CVEs
before 7.83.1-1.1
7.83.1-1.1

History

History
RecordedChangedSources
affected, factsOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2022-30115 is a medium vulnerability (CVSS 4.3) in Haxx Curl, published May 11, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.36%, the 71st percentile. Fixed in curl 7.83.1-r0.

References

Show 12 moreShow less
MoveEnter Open