All vulnerabilities

Servers and applications

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…

Severity
High 7.5
Published
29 Oct 2022
Last changed
14 Oct 2026
Added to UpHeron
21 Oct 2026
Fixed in
7.86.0
Sources
NVD

Affected software

SoftwareAffected versions
curlServers and applications · cpe:a:haxx:curl
  • From 7.77.0 before 7.86.0

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2022-42916
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2022-42916