# CVE-2022-30115: HSTS bypass via trailing dot

- Severity: Medium 4.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.04%, higher than 63% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-05-11T08:00:00.000Z
- Modified: 2026-10-25T01:04:47.705Z
- Also known as: CURL-CVE-2022-30115
- Weaknesses: CWE-319, CWE-325
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: hackerone

## 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.

(As written by CVE List.)

## Affected

- https://github.com/curl/curl: Fixed in 7.83.1
- https://github.com/curl/curl.git: from 7.82.0 before 7.83.1; from b27ad8e1d3e68eb3214fcbb398ca436873aa7c67 before fae6fea209a2d4db1582f608bd8cc8000721733a
- haxx curl: from 7.82.0 before 7.83.1
- netapp hci_bootstrap_os: no versions given
- netapp clustered_data_ontap: no versions given
- netapp solidfire,_enterprise_sds_&_hci_storage_node: no versions given
- netapp solidfire_&_hci_management_node: no versions given
- netapp h300s_firmware: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h410s_firmware: no versions given
- splunk universal_forwarder: from 8.2.0 before 8.2.12; from 9.0.0 before 9.0.6; 9.1.0

## Every score

- curl: rating Medium
- NVD: 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`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://hackerone.com/reports/1557449> (exploit, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20220609-0009/> (third-party-advisory)
- <http://www.openwall.com/lists/oss-security/2022/10/26/4> (mailing-list, patch, third-party-advisory)
- <https://security.gentoo.org/glsa/202212-01> (third-party-advisory, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2022/12/21/1> (mailing-list, third-party-advisory)
- <https://cert-portal.siemens.com/productcert/html/ssa-398330.html>

## Sources

- CVE List: [CVE-2022-30115](https://www.cve.org/CVERecord?id=CVE-2022-30115), CVE Terms of Use, modified 2026-10-14
- curl: [CURL-CVE-2022-30115](https://osv.dev/vulnerability/CURL-CVE-2022-30115), MIT, modified 2026-10-25
- NVD: [CVE-2022-30115](https://nvd.nist.gov/vuln/detail/CVE-2022-30115), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2022-30115 · Whole record: https://cve.day/CVE-2022-30115.json · Rebuilt by cve.day 2026-11-25T22:58:12.054Z
