Skip to content
OpenAdvisories
Unscored CVE-2022-30115 EUVD-2022-35328GHSA-p8vh-85vc-66x9

Using its HSTS support, curl can be instructed to use HTTPS directly insteadof using an insecure clear-text HTTP step even when HTTP is pro…

Published Jun 1, 2022 · Updated Oct 14, 2026 · Assigned by hackerone

Description

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 products

VendorProductAffectedFixed
— https://github.com/curl/curl Fixed in 7.83.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 curl 7.83.1-1 —
Debian 13 curl 7.83.1-1 —
Debian 12 curl 7.83.1-1 —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed curl 7.83.1-1.1 openSUSE-SU-2024:12062-1
ReleasePackageFixed inAdvisory
Alpine v3.24 curl 7.83.1-r0 —
Alpine v3.23 curl 7.83.1-r0 —
Alpine v3.22 curl 7.83.1-r0 —
Alpine v3.21 curl 7.83.1-r0 —
Alpine v3.20 curl 7.83.1-r0 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 curl 7.83.1-r0 —
Alpine v3.18 curl 7.83.1-r0 —
Alpine v3.17 curl 7.83.1-r0 —
Alpine v3.16 curl 7.83.1-r0 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 curl +4 7.87.0-2.amzn2023.0.2 ALAS2023-2023-083

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 2 (CBL-Mariner) curl 7.83.1-1 —

Advisories 9

References