CVE-2022-43551
CVE-2022-43551
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 7.5 · High · EPSS 16.6% · Fix available
- Published
- Updated
Stack: system
Affected products and versions
https://github.com/curl/curl
- Versions
- Fixed in curl 7.87.0: Affected
No fix published
curl Debian:12
- Affected ranges
- ECOSYSTEM: < 7.86.0-3
Update to 7.86.0-3
curl Debian:13
- Affected ranges
- ECOSYSTEM: < 7.86.0-3
Update to 7.86.0-3
curl Debian:14
- Affected ranges
- ECOSYSTEM: < 7.86.0-3
Update to 7.86.0-3
curl Ubuntu:22.04:LTS
- Versions
- 7.74.0-1.3ubuntu2
- 7.74.0-1.3ubuntu3
- 7.80.0-3
- 7.81.0-1
- 7.81.0-1ubuntu1.1
- 7.81.0-1ubuntu1.2
- 7.81.0-1ubuntu1.3
- 7.81.0-1ubuntu1.4
- 7.81.0-1ubuntu1.6
- Affected ranges
- ECOSYSTEM: < 7.81.0-1ubuntu1.7
Update to 7.81.0-1ubuntu1.7
Original sources
- https://hackerone.com/reports/1755083
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/TVWZW5CNSJ7UYAF2BGSYAWAEXDJYUBHA/
- https://security.netapp.com/advisory/ntap-20230427-0007/
- https://security.gentoo.org/glsa/202310-12
- https://cert-portal.siemens.com/productcert/html/ssa-892048.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-43551