High severity7.5NVD Advisory· Published Oct 29, 2022· Updated Jun 17, 2026
CVE-2022-42916
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
20- osv-coords18 versionspkg:apk/chainguard/curlpkg:apk/chainguard/curl-devpkg:apk/chainguard/curl-docpkg:apk/chainguard/curl-oci-entrypointpkg:apk/chainguard/curl-staticpkg:apk/chainguard/libcurl4pkg:apk/chainguard/libcurl-openssl4pkg:apk/wolfi/curlpkg:apk/wolfi/curl-devpkg:apk/wolfi/curl-docpkg:apk/wolfi/curl-oci-entrypointpkg:apk/wolfi/curl-staticpkg:apk/wolfi/libcurl4pkg:apk/wolfi/libcurl-openssl4pkg:rpm/opensuse/curl&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/curl&distro=openSUSE%20Tumbleweedpkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Micro%205.3pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP4
< 7.86.0-r0+ 17 more
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.86.0-r0
- (no CPE)range: < 7.79.1-150400.5.9.1
- (no CPE)range: < 7.86.0-1.1
- (no CPE)range: < 7.79.1-150400.5.9.1
- (no CPE)range: < 7.79.1-150400.5.9.1
Patches
Vulnerability mechanics
References
11- seclists.org/fulldisclosure/2023/Jan/19nvdMailing ListThird Party Advisory
- seclists.org/fulldisclosure/2023/Jan/20nvdMailing ListThird Party Advisory
- www.openwall.com/lists/oss-security/2022/12/21/1nvdMailing ListThird Party Advisory
- curl.se/docs/CVE-2022-42916.htmlnvdVendor Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/37YEVVC6NAF6H7UHH6YAUY5QEVY6LIH2/nvdMailing ListThird Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HVU3IMZCKR4VE6KJ4GCWRL2ILLC6OV76/nvdMailing ListThird Party Advisory
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q27V5YYMXUVI6PRZQVECON32XPVWTKDK/nvdMailing ListThird Party Advisory
- security.gentoo.org/glsa/202212-01nvdThird Party Advisory
- support.apple.com/kb/HT213604nvdThird Party Advisory
- support.apple.com/kb/HT213605nvdThird Party Advisory
- security.netapp.com/advisory/ntap-20221209-0010/nvdBroken Link
News mentions
0No linked articles in our index yet.