CVE-2022-43551
Description
curl <7.87.0 HSTS check bypass via IDN homoglyph attack allows HTTP downgrade.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
curl <7.87.0 HSTS check bypass via IDN homoglyph attack allows HTTP downgrade.
Vulnerability
A vulnerability in curl versions prior to 7.87.0 allows the HSTS (HTTP Strict Transport Security) mechanism to be bypassed when a URL contains Internationalized Domain Name (IDN) characters that are converted to ASCII equivalents during IDN processing. Specifically, using the Unicode character U+3002 (IDEOGRAPHIC FULL STOP) instead of the ASCII full stop (U+002E) . can trick curl into storing the HSTS state IDN-encoded but looking it up IDN-decoded, thereby failing to enforce HTTPS on subsequent requests [1], [2].
Exploitation
An attacker who can control or influence a URL presented to curl (e.g., via a redirect or a malicious link) can craft a hostname containing an IDN homoglyph such as U+3002. When curl processes the URL, it performs IDN conversion to ASCII but stores the HSTS information in the encoded form. On a later request to the same logical host, curl looks up the HSTS state using the decoded form, finds no match, and falls back to plain HTTP. No authentication or special network position is required beyond the ability to trigger curl requests [1].
Impact
Successful exploitation results in the client communicating with the server over unencrypted HTTP instead of HTTPS, despite HSTS policy being in place. This allows an attacker on the network path to intercept, read, or modify the data in transit, undermining confidentiality and integrity. The attacker does not gain arbitrary code execution or elevated privileges, but can perform man-in-the-middle attacks [1], [2].
Mitigation
The fixed version is curl 7.87.0 (released December 21, 2022). Users should upgrade to curl >=7.87.0. For systems where an immediate upgrade is not possible, disabling HSTS or carefully validating IDNs can be considered, though no explicit workaround is documented in the references. The vulnerability is not listed in CISA's Known Exploited Vulnerabilities catalog as of this writing [1], [2].
AI Insight generated on May 24, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
20- osv-coords19 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%20Leap%20Micro%205.3pkg: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.87.0-r0+ 18 more
- (no CPE)range: < 7.87.0-r0
- (no CPE)range: < 7.87.0-r0
- (no CPE)range: < 7.87.0-r0
- (no CPE)range: < 7.87.0-r0
- (no CPE)range: < 7.87.0-r0
- (no CPE)range: < 7.87.0-r0
- (no CPE)range: < 7.87.0-r0
- (no CPE)range: < 7.87.0-r0
- (no CPE)range: < 7.87.0-r0
- (no CPE)range: < 7.87.0-r0
- (no CPE)range: < 7.87.0-r0
- (no CPE)range: < 7.87.0-r0
- (no CPE)range: < 7.87.0-r0
- (no CPE)range: < 7.87.0-r0
- (no CPE)range: < 7.79.1-150400.5.12.1
- (no CPE)range: < 7.79.1-150400.5.12.1
- (no CPE)range: < 7.87.0-1.1
- (no CPE)range: < 7.79.1-150400.5.12.1
- (no CPE)range: < 7.79.1-150400.5.12.1
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
4News mentions
0No linked articles in our index yet.