Skip to content

CVE-2022-43551 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-...

HighCVSS 7.5 EPSS 16.6%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

25 packages: 20 fixed, 4 with no fix yet.

PackageAffectedFixed inStatus
netapp active iq unified manager All versions No fix listed No fix yet
netapp oncommand insight All versions No fix listed No fix yet
netapp oncommand workflow automation All versions No fix listed No fix yet
netapp snapcenter All versions No fix listed No fix yet
alpine/curl(Alpine v3.14) >= 7.77.0, < 7.79.1-r4 7.79.1-r4 Fixed
alpine/curl(Alpine v3.15) >= 7.77.0, < 7.80.0-r5 7.80.0-r5 Fixed
alpine/curl(Alpine v3.16) >= 7.77.0, < 7.83.1-r5 7.83.1-r5 Fixed
alpine/curl(Alpine v3.17) >= 7.77.0, < 7.87.0-r0 7.87.0-r0 Fixed
alpine/curl(Alpine v3.18) >= 7.77.0, < 7.87.0-r0 7.87.0-r0 Fixed
alpine/curl(Alpine v3.19) >= 7.77.0, < 7.87.0-r0 7.87.0-r0 Fixed
alpine/curl(Alpine v3.20) >= 7.77.0, < 7.87.0-r0 7.87.0-r0 Fixed
alpine/curl(Alpine v3.21) >= 7.77.0, < 7.87.0-r0 7.87.0-r0 Fixed
alpine/curl(Alpine v3.22) >= 7.77.0, < 7.87.0-r0 7.87.0-r0 Fixed
alpine/curl(Alpine v3.23) >= 7.77.0, < 7.87.0-r0 7.87.0-r0 Fixed
alpine/curl(Alpine v3.24) >= 7.77.0, < 7.87.0-r0 7.87.0-r0 Fixed
debian/curl(Debian 12) < 7.86.0-3 7.86.0-3 Fixed
debian/curl(Debian 13) < 7.86.0-3 7.86.0-3 Fixed
debian/curl(Debian 14) < 7.86.0-3 7.86.0-3 Fixed
haxx curl >= 7.77.0, < 7.87.0 7.87.0 Fixed
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5 Fixed
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5 Fixed
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5 Fixed
Splunk Universal Forwarder = 9.1.0; >= 8.2.0, < 8.2.12; >= 9.0.0, < 9.0.6 8.2.12, 9.0.6 Fixed
ubuntu/curl(Ubuntu 22.04) < 7.81.0-1ubuntu1.7; = 7.74.0-1.3ubuntu2; = 7.74.0-1.3ubuntu3; = 7.80.0-3 +6 more 7.81.0-1ubuntu1.7 Fixed
fedoraproject fedora = 37 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
ubuntu/curl(Ubuntu:22.04) < 7.81.0-1ubuntu1.7 7.81.0-1ubuntu1.7
haxx curl >= 7.77.0, < 7.87.0 7.87.0
fedoraproject fedora = 37 No fix listed
netapp active iq unified manager All versions No fix listed
netapp oncommand insight All versions No fix listed
netapp oncommand workflow automation All versions No fix listed
netapp snapcenter All versions No fix listed
Splunk Universal Forwarder >= 8.2.0, < 8.2.12 8.2.12
Splunk Universal Forwarder >= 9.0.0, < 9.0.6 9.0.6
Splunk Universal Forwarder = 9.1.0 No fix listed
debian/curl(Debian:12) < 7.86.0-3 7.86.0-3
debian/curl(Debian:14) < 7.86.0-3 7.86.0-3
debian/curl(Debian:13) < 7.86.0-3 7.86.0-3
ubuntu/curl(Ubuntu:22.04) = 7.74.0-1.3ubuntu2 No fix listed
ubuntu/curl(Ubuntu:22.04) = 7.74.0-1.3ubuntu3 No fix listed
ubuntu/curl(Ubuntu:22.04) = 7.80.0-3 No fix listed
ubuntu/curl(Ubuntu:22.04) = 7.81.0-1 No fix listed
ubuntu/curl(Ubuntu:22.04) = 7.81.0-1ubuntu1.1 No fix listed
ubuntu/curl(Ubuntu:22.04) = 7.81.0-1ubuntu1.2 No fix listed
ubuntu/curl(Ubuntu:22.04) = 7.81.0-1ubuntu1.3 No fix listed
ubuntu/curl(Ubuntu:22.04) = 7.81.0-1ubuntu1.4 No fix listed
ubuntu/curl(Ubuntu:22.04) = 7.81.0-1ubuntu1.6 No fix listed
Show 11 more
ProductAffected versionsFixed in
alpine/curl(Alpine:v3.14) >= 7.77.0, < 7.79.1-r4 7.79.1-r4
alpine/curl(Alpine:v3.15) >= 7.77.0, < 7.80.0-r5 7.80.0-r5
alpine/curl(Alpine:v3.16) >= 7.77.0, < 7.83.1-r5 7.83.1-r5
alpine/curl(Alpine:v3.17) >= 7.77.0, < 7.87.0-r0 7.87.0-r0
alpine/curl(Alpine:v3.18) >= 7.77.0, < 7.87.0-r0 7.87.0-r0
alpine/curl(Alpine:v3.19) >= 7.77.0, < 7.87.0-r0 7.87.0-r0
alpine/curl(Alpine:v3.20) >= 7.77.0, < 7.87.0-r0 7.87.0-r0
alpine/curl(Alpine:v3.21) >= 7.77.0, < 7.87.0-r0 7.87.0-r0
alpine/curl(Alpine:v3.22) >= 7.77.0, < 7.87.0-r0 7.87.0-r0
alpine/curl(Alpine:v3.23) >= 7.77.0, < 7.87.0-r0 7.87.0-r0
alpine/curl(Alpine:v3.24) >= 7.77.0, < 7.87.0-r0 7.87.0-r0

References