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.

Severity
HIGH
CVSS v3
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N · source nvd
Exploit chance (EPSS)
2.512%
chance of exploitation in the next 30 days
higher than 85.1% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0

Weakness

CISA SSVC decision points

Exploitationnone
Automatableyes
Technical impactpartial
Scored2025-05-20

Timeline

  1. 2022-10-29Published by the CNA00:00 UTC
  2. 2025-05-20CISA SSVC decision recorded934 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Affected products

Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.

ProductVulnerable versionsFixed in
haxx curlfrom 7.77.0 before 7.86.0fixed in 7.86.07.86.0
apple macosbefore 12.6.3fixed in 12.6.3from 13.0 before 13.2fixed in 13.212.6.313.2
fedoraproject fedora35no fix listed36no fix listed37no fix listednot listednot listednot listed
splunk universal_forwarderfrom 8.2.0 before 8.2.12fixed in 8.2.12from 9.0.0 before 9.0.6fixed in 9.0.69.1.0no fix listed8.2.129.0.6not listed

Products and versions as NVD and the vendor that published the CVE list them.

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources