CVE-2022-43551 Security feature bypass in https://github.com/curl/curl

High 7.5 Published Updated

Attackers can bypass HSTS enforcement in curl by using IDN characters, forcing insecure HTTP connections instead of HTTPS.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-43551?

CVE-2022-43551 is a high-severity vulnerability in Fedoraproject Fedora, published on 23 Dec 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A vulnerability exists in curl <7.87.0 HSTS check that could be bypassed to trick it to keep using HTTP. Using its HSTS support, curl can be instructed to use HTTPS instead of using an insecure clear-text HTTP step even when HTTP is provided in the URL. However, the HSTS mechanism could be bypassed if the host name in the given URL first uses IDN characters that get replaced to ASCII counterparts as part of the IDN conversion. Like using the character UTF-8 U+3002 (IDEOGRAPHIC FULL STOP) instead of the common ASCII full stop (U+002E) `.`. Then in a subsequent request, it does not detect the HSTS state and makes a clear text transfer. Because it would store the info IDN encoded but look for it IDN decoded.

Weakness: CWE-319

Which versions are affected by CVE-2022-43551?

It affects 7 products.

Products include Fedoraproject Fedora, Haxx Curl, Netapp Active Iq Unified Manager, Netapp Oncommand Insight, Netapp Oncommand Workflow Automation, Netapp Snapcenter and 1 more.

How do I fix CVE-2022-43551?

Upgrade to a fixed version.

Is CVE-2022-43551 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2022-43551 exists.

All Fedoraproject Fedora vulnerabilities

Sources

Also known as ALPINE-CVE-2022-43551, AZL-12107, AZL-12930, AZL-34616, AZL-38788, CLEANSTART-2026-TP15502 and 7 more.

Is CVE-2022-43551 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free