CVE-2022-30115

Summary

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.

Affected Software

VendorProductVersion RangeStatus
n/ahttps://github.com/curl/curlFixed in 7.83.1affected

Weaknesses

  • CWE-325: Missing Required Cryptographic Step (CWE-325)

ADP Enrichment

CVE Program Container

Additional References

References