CVE-2022-42916 Details
Description
In curl before 7.86.0, the HSTS check could be bypassed to trick it into staying with HTTP. Using its HSTS support, curl can be instructed to use HTTPS directly (instead of using an insecure cleartext HTTP step) even when HTTP is provided in the URL. This mechanism could be bypassed if the host name in the given URL uses IDN characters that get replaced with ASCII counterparts as part of the IDN conversion, e.g., using the character UTF-8 U+3002 (IDEOGRAPHIC FULL STOP) instead of the common ASCII full stop of U+002E (.). The earliest affected version is 7.77.0 2021-05-26.
A vulnerability in curl's handling of HTTP Strict Transport Security (HSTS) can be exploited to bypass the HSTS check and continue using HTTP instead of HTTPS. This issue affects curl versions 7.77.0 prior to 7.86.0. The vulnerability arises from the way curl processes Internationalized Domain Name (IDN) characters, which can be replaced with ASCII equivalents during IDN conversion. For example, using the UTF-8 U+3002 character (IDEOGRAPHIC FULL STOP) instead of the standard ASCII full stop (U+002E) can trick curl into ignoring the HSTS policy. As a result, sensitive information may be transmitted over an unencrypted connection, contrary to the user's intention.
Users are advised to upgrade curl to version 7.86.0 or later, and to always use 'HTTPS://' in URLs.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 20, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-319 | Cleartext Transmission of Sensitive Information | [email protected] |
| CWE-319 | Cleartext Transmission of Sensitive Information | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| haxx curl | >= 7.77.0, < 7.86.0 |
CPE
Remediation
| |
| fedoraproject fedora | 35 36 37 |
CPE
Remediation
| |
| apple macos | < 12.6.3 >= 13.0, < 13.2 |
CPE
Remediation
| |
| splunk universal forwarder | >= 8.2.0, < 8.2.12 >= 9.0.0, < 9.0.6 9.1.0 |
CPE
Remediation
| |
Change History
21 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 14, 2026 | CVE Modified | [email protected] |
| Oct 14, 2026 | CVE Modified | CVE |
| Oct 14, 2026 | CVE Modified | siemens-SADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 13, 2026 | CVE Modified | CISA-ADP |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Mar 27, 2024 | Modified Analysis | [email protected] |
| Nov 7, 2023 | CVE Modified | [email protected] |
| Mar 28, 2023 | Reanalysis | [email protected] |
| Feb 10, 2023 | Modified Analysis | [email protected] |
| Jan 26, 2023 | CVE Modified | [email protected] |
| Jan 23, 2023 | CVE Modified | [email protected] |
| Dec 21, 2022 | CVE Modified | [email protected] |
| Dec 19, 2022 | CVE Modified | [email protected] |
| Dec 9, 2022 | CVE Modified | [email protected] |
| Nov 14, 2022 | CVE Modified | [email protected] |
| Nov 10, 2022 | CVE Modified | [email protected] |
| Nov 1, 2022 | Initial Analysis | [email protected] |
| Oct 30, 2022 | CVE Modified | [email protected] |