Vulnerabilities

CVE-2022-42916

High 7.5 CVSS 3.1

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

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 credential-access, discovery
  • T1056.004: Credential API Hooking collection, credential-access

References

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities