CVE-2022-30115
- State
- Published
- Severity
- Not scored
- Published
- Jun 1, 2022
- Updated
- Oct 14, 2026
- Reserved
- May 2, 2022
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.
Scores
The record has no CVSS score.
Weaknesses
- CWE-325 Missing Required Cryptographic Step (CWE-325)
Affected Products
| Product | Versions |
|---|---|
https://github.com/curl/curln/a |
|
References
- https://hackerone.com/reports/1557449
- https://security.netapp.com/advisory/ntap-20220609-0009/
- [oss-security] 20221026 [SECURITY ADVISORY] CVE-2022-42916: HSTS bypass via IDN (curl)mailing-list
- GLSA-202212-01vendor-advisory
- [oss-security] 20221221 curl: CVE-2022-43551: Another HSTS bypass via IDNmailing-list
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.