Using its HSTS support, curl can be instructed to use...
Moderate severity
Unreviewed
Published
Jun 3, 2022
to the GitHub Advisory Database
•
Updated Apr 7, 2024
Description
Published by the National Vulnerability Database
Jun 2, 2022
Published to the GitHub Advisory Database
Jun 3, 2022
Last updated
Apr 7, 2024
Using its HSTS support, curl can be instructed to use HTTPS directly insteadof using an insecure clear-text HTTP step even when HTTP is provided in theURL. This mechanism could be bypassed if the host name in the given URL used atrailing dot while not using one when it built the HSTS cache. Or the otherway around - by having the trailing dot in the HSTS cache and not using thetrailing dot in the URL.
References