CVE-2022-42916
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.
Description as published by the source, in English.
Key facts
- Published
- 2022-10-29
- Last modified
- 2026-10-14
- Assigned by
- cve@mitre.org
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
1.6 %
higher than 74 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Apple | Macos | < 12.6.3 | Affected |
| Apple | Macos | ≥ 13.0, < 13.2 | Affected |
| Fedoraproject | Fedora | 35 | Affected |
| Fedoraproject | Fedora | 36 | Affected |
| Fedoraproject | Fedora | 37 | Affected |
| Haxx | Curl | ≥ 7.77.0, < 7.86.0 | Affected |
| Splunk | Universal Forwarder | 9.1.0 | Affected |
| Splunk | Universal Forwarder | ≥ 8.2.0, < 8.2.12 | Affected |
| Splunk | Universal Forwarder | ≥ 9.0.0, < 9.0.6 | Affected |
Weakness type
-
CWE-319: Cleartext Transmission of Sensitive Information
The product transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1040: Network Sniffing
- T1056.004: Credential API Hooking
References
- http://seclists.org/fulldisclosure/2023/Jan/19
- http://seclists.org/fulldisclosure/2023/Jan/20
- http://www.openwall.com/lists/oss-security/2022/12/21/1
- https://curl.se/docs/CVE-2022-42916.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://security.gentoo.org/glsa/202212-01
- https://security.netapp.com/advisory/ntap-20221209-0010/
- https://support.apple.com/kb/HT213604
- https://support.apple.com/kb/HT213605
- http://seclists.org/fulldisclosure/2023/Jan/19
- http://seclists.org/fulldisclosure/2023/Jan/20
- http://www.openwall.com/lists/oss-security/2022/12/21/1
- https://curl.se/docs/CVE-2022-42916.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/…
- https://security.gentoo.org/glsa/202212-01
- https://security.netapp.com/advisory/ntap-20221209-0010/
Related at Berigo
Articles
-
A flaw in Chrome's JavaScript engine is already being exploited
Same product
2026-09-26
On 3 September 2026 Google released Chrome 152.0.7977.82 with twelve security fixes. One of them, CVE-2026-85046 in V8, has an exploit in the wild ac…
-
Hijacked Rust crates ran malicious code during the build
Same product
2026-08-24
Three widely used Rust crates were republished on 20 August 2026 with a hidden dependency that ran malicious code during compilation. The Rust Securi…
-
Older iPhones got 122 security flaws fixed in a single update
Same product
2026-08-18
Apple shipped four security updates on 17 August 2026. The update for the older system line covers only four hardware models, and fixes 122 unique CV…
-
Attackers are logging in to Macs without a password through Screen Sharing
Same product
2026-08-15
Apple shipped an emergency fix for macOS Screen Sharing after a flaw that lets an attacker on the network log in without valid credentials. The Dutch…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.