CVE Catalog

CVE-2022-30115

MediumCVSS 4.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
1.26%

69th percentile - higher than 69% of all known CVEs

Summary

curl's HSTS support can be bypassed when the host name in the URL uses a trailing dot while the HSTS cache entry does not (or vice versa). This allows the insecure clear-text HTTP step to occur despite HSTS being enabled.

Risk Assessment

Bypassing HSTS may cause connections to fall back to unencrypted HTTP, exposing credentials and transmitted data to interception by a network attacker.

Recommendation

Update curl to a version containing the fix. Until then, avoid using host names with a trailing dot in URLs.

Other vulnerabilities in curl

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS