Vulnerability CVE-2022-30115: Information
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.
Severity: MEDIUM (4.3) Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
Fixed packages
Package name | Branch | Fixed in version | Version from repository | Errata ID | Task # | State |
---|---|---|---|---|---|---|
curl | sisyphus | 7.83.1-alt1 | 8.7.1-alt2 | ALT-PU-2022-1837-1 | 299767 | Fixed |
curl | sisyphus_e2k | 7.83.1-alt1 | 8.7.1-alt2 | ALT-PU-2022-4933-1 | - | Fixed |
curl | sisyphus_riscv64 | 7.83.1-alt1 | 8.7.1-alt2 | ALT-PU-2022-4929-1 | - | Fixed |
curl | p10 | 7.83.1-alt1 | 8.7.1-alt1 | ALT-PU-2022-1902-1 | 299735 | Fixed |
curl | p10_e2k | 7.83.1-alt1 | 8.7.1-alt1 | ALT-PU-2022-5004-1 | - | Fixed |
curl | c10f1 | 7.83.1-alt1 | 8.6.0-alt1 | ALT-PU-2022-1902-1 | 299735 | Fixed |
curl | c9f2 | 7.83.1-alt1 | 8.6.0-alt1 | ALT-PU-2022-1877-1 | 299774 | Fixed |
References to Advisories, Solutions, and Tools
Hyperlink | Resource |
---|---|
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) |
|
GLSA-202212-01 |
|
[oss-security] 20221221 curl: CVE-2022-43551: Another HSTS bypass via IDN |
|