CVE-2022-30115
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.
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
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 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - CVSS 2.0
- 4.0 Medium
AV: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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 Medium
CVSS: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
- haxx curl
- netapp clustered data ontap
- netapp h300s firmware
- netapp h410s firmware
- netapp h500s firmware
- netapp h700s firmware
- netapp hci bootstrap os
- netapp solidfire\, enterprise sds \& hci storage node
- netapp solidfire \& hci management node
- siemens simatic s7-1500 cpu 1518-4 pn/dp mfp
- siemens simatic s7-1500 cpu 1518f-4 pn/dp mfp
- siemens siplus s7-1500 cpu 1518-4 pn/dp mfp
Show 1 moreShow less
Affected packages
| Package | Affected | Fixed |
|---|---|---|
curlAlpine:v3.16 |
7.82.0 up to 7.83.1-r0 | 7.83.1-r0 |
curlAlpine:v3.17 |
7.82.0 up to 7.83.1-r0 | 7.83.1-r0 |
curlAlpine:v3.18 |
7.82.0 up to 7.83.1-r0 | 7.83.1-r0 |
curlAlpine:v3.19 |
7.82.0 up to 7.83.1-r0 | 7.83.1-r0 |
curlAlpine:v3.20 |
7.82.0 up to 7.83.1-r0 | 7.83.1-r0 |
curlAlpine:v3.21 |
7.82.0 up to 7.83.1-r0 | 7.83.1-r0 |
curlAlpine:v3.22 |
7.82.0 up to 7.83.1-r0 | 7.83.1-r0 |
curlAlpine:v3.23 |
7.82.0 up to 7.83.1-r0 | 7.83.1-r0 |
curlAlpine:v3.24 |
7.82.0 up to 7.83.1-r0 | 7.83.1-r0 |
curlAzure Linux:2 |
before 7.83.1-1 | 7.83.1-1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | OSV | |
| first indexed | CVE 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
hackerone.com/reports/1557449
security.netapp.com/advisory/ntap-20220609-0009
openwall.com/lists/oss-security/2022/10/26/4
security.gentoo.org/glsa/202212-01
openwall.com/lists/oss-security/2022/12/21/1
cert-portal.siemens.com/productcert/html/ssa-398330.html
Show 12 moreShow less
nvd.nist.gov/vuln/detail/CVE-2022-30115
github.com/advisories/GHSA-p8vh-85vc-66x9
security.alpinelinux.org/vuln/CVE-2022-30115
docs.bell-sw.com/security/cves/CVE-2022-30115
github.com/CVEProject/cvelistV5/tree/main/cves/2022/30xxx/CVE-2022-30115.json
security-tracker.debian.org/tracker/CVE-2022-30115
suse.com/security/cve/CVE-2022-27778
suse.com/security/cve/CVE-2022-27779
suse.com/security/cve/CVE-2022-27780
suse.com/security/cve/CVE-2022-27781
suse.com/security/cve/CVE-2022-27782
suse.com/security/cve/CVE-2022-30115