SecurityContext

CVE-2022-42916: curl - Misconfiguration

  • Cve: CVE-2022-42916
  • Name: curl - Misconfiguration
  • 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.
  • Impact: Attackers can force curl to use insecure HTTP instead of HTTPS, risking man-in-the-middle attacks and data interception.
  • Remediation: Update to curl 7.86.0 or later.
  • Vulnerability type: misconfiguration
  • Vulnerability impact: man_in_the_middle, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Epss score: 0.02512
  • Epss percentile: 0.85181
  • Assignee: [email protected]
  • Published at: 2022-10-29T02:15:09Z
  • Age in days: 1487
  • Modified at: 2026-10-14T19:16:52Z
  • Patch available: yes
  • References total: 12
  • Products total: 4
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-42916
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements

Cwe

IdName
CWE-319Cleartext Transmission of Sensitive Information

Hackerone

  • Reports: 3
  • Rank: 3240

References

Same in every row:

  • Source: nvd
UrlTags
https://curl.se/docs/CVE-2022-42916.htmlVendor Advisory
http://seclists.org/fulldisclosure/2023/Jan/19Mailing List, Third Party Advisory
http://seclists.org/fulldisclosure/2023/Jan/20Mailing List, Third Party Advisory
http://www.openwall.com/lists/oss-security/2022/12/21/1Mailing List, Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/37YEVVC6NAF6H7UHH6YAUY5QEVY6LIH2/Mailing List, Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVU3IMZCKR4VE6KJ4GCWRL2ILLC6OV76/Mailing List, Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q27V5YYMXUVI6PRZQVECON32XPVWTKDK/Mailing List, Third Party Advisory
https://security.gentoo.org/glsa/202212-01Third Party Advisory
https://support.apple.com/kb/HT213604Third Party Advisory
https://support.apple.com/kb/HT213605Third Party Advisory

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
haxx:curl>= 7.77.0, < 7.86.0/v1/products/haxx/curl
fedoraproject:fedora= 37, = 36, = 35/v1/products/fedoraproject/fedora
apple:macos>= 13.0, < 13.2; < 12.6.3/v1/products/apple/macos
splunk:universal_forwarder= 9.1.0; >= 9.0.0, < 9.0.6; >= 8.2.0, < 8.2.12/v1/products/splunk/universal_forwarder

Projects

RepositoryLink kindsIndexedUrl
curl/curlfixyes/v1/repositories/curl/curl

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Hackerone reports: 3
  • Exposed hosts: 49161
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since