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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | https://github.com/curl/curl | Fixed in 7.83.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | curl | 7.83.1-1 | — |
| Debian 13 | curl | 7.83.1-1 | — |
| Debian 12 | curl | 7.83.1-1 | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | curl | 7.83.1-1.1 | openSUSE-SU-2024:12062-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | curl | 7.83.1-r0 | — |
| Alpine v3.23 | curl | 7.83.1-r0 | — |
| Alpine v3.22 | curl | 7.83.1-r0 | — |
| Alpine v3.21 | curl | 7.83.1-r0 | — |
| Alpine v3.20 | curl | 7.83.1-r0 | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | curl | 7.83.1-r0 | — |
| Alpine v3.18 | curl | 7.83.1-r0 | — |
| Alpine v3.17 | curl | 7.83.1-r0 | — |
| Alpine v3.16 | curl | 7.83.1-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | curl +4 | 7.87.0-2.amzn2023.0.2 | ALAS2023-2023-083 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | curl | 7.83.1-1 | — |
Advisories 9
- SSA-398330 SSA-398330: Vulnerabilities in the additional GNU/Linux subsystem of the SIMATIC S7-1500 CPU 1518(F)-4 PN/DP MFP >= V3.1.0 and < V3.1.5 Siemens ProductCERT · Oct 13, 2026
- WID-SEC-2023-2031 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 11, 2026
- WID-SEC-2023-1350 Splunk Splunk Enterprise: Mehrere Schwachstellen in Komponenten von Drittanbietern BSI CERT-Bund (WID) · Jul 1, 2026
- openSUSE-SU-2024:12062-1 curl-7.83.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2023-2229 Splunk Splunk Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 18, 2025
- WID-SEC-2022-0277 cURL: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 6, 2025
- ICSA-23-348-10 Siemens SIMATIC S7-1500 CISA ICS & IT advisories · Aug 12, 2025
- VDE-2022-046 PHOENIX CONTACT: Multiple Linux component vulnerabilities in PLCnext Firmware CERT@VDE · May 22, 2025
- ALAS2023-2023-083 Moderate: curl security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 15, 2024
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-01 vendor-advisory
- [oss-security] 20221221 curl: CVE-2022-43551: Another HSTS bypass via IDN mailing-list