Vulnerability in Apple macOS
CVE-2022-42916
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.025, 85.0th percentile (scored ); up from 0.020 30 days earlier. About EPSS.
EPSS over last 30 days · oldest: 0.020 · newest: 0.025 · change: +0.005
Affected products
- Apple macOS
- Haxx Curl
- Splunk Universal Forwarder — versions 9.1.0
- Fedoraproject Fedora — versions 35, 36, 37
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 9 other repositories (1g-v/DevSec_Docker_lab, a23au/awe-base-images, akaganeite/CVE4PP, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- curl.se/docs/CVE-2022-42916.html (Vendor Advisory)
- FEDORA-2022-01ffde372c (vendor-advisory, Mailing List, Third Party Advisory)
- FEDORA-2022-39688a779d (vendor-advisory, Mailing List, Third Party Advisory)
- FEDORA-2022-e9d65906c4 (vendor-advisory, Mailing List, Third Party Advisory)
- security.netapp.com/advisory/ntap-20221209-0010/ (Broken Link)
- GLSA-202212-01 (vendor-advisory, Third Party Advisory)
- [oss-security] 20221221 curl: CVE-2022-43551: Another HSTS bypass via IDN (mailing-list, Mailing List, Third Party Advisory)
- support.apple.com/kb/HT213604 (Third Party Advisory)
- support.apple.com/kb/HT213605 (Third Party Advisory)
- 20230123 APPLE-SA-2023-01-23-5 macOS Monterey 12.6.3 (mailing-list, Mailing List, Third Party Advisory)