Original 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.
Affected software
- curl ≥ 7.82.0 < 7.83.1 Fixed in: 7.83.1 exact match
Details
- Published
- 2022-06-02
- Last modified
- 2026-10-14
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N- CWE
- CWE-325, CWE-319
- EPSS (30-day exploit probability)
- 1.36% (percentile 72)
References
- cve.org/CVE-2022-30115
- nvd.nist.gov/vuln/detail/CVE-2022-30115
- www.openwall.com/lists/oss-security/2022/10/26/4
- www.openwall.com/lists/oss-security/2022/12/21/1
- hackerone.com/reports/1557449
- security.gentoo.org/glsa/202212-01
- security.netapp.com/advisory/ntap-20220609-0009/
- cert-portal.siemens.com/productcert/html/ssa-398330.html
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.