VDB

ALPINE-CVE-2022-30115

ALPINE-CVE-2022-30115 PUBLISHED CVSS 4.300000190734863 MEDIUM

Record from OSV · Published June 2, 2022

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
curlAlpine:v3.197.83.1-r0
curlAlpine:v3.247.83.1-r0
curlAlpine:v3.177.83.1-r0
curlAlpine:v3.187.83.1-r0
curlAlpine:v3.207.83.1-r0
curlAlpine:v3.217.83.1-r0
curlAlpine:v3.227.83.1-r0
curlAlpine:v3.237.83.1-r0
curlAlpine:v3.167.83.1-r0

Risk scores

CVSS 3.1
4.300000190734863
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

Affected products

VendorProductVersions
Alpine:v3.19curl7.19.2-r0, 7.19.2-r1, 7.19.5-r0
Alpine:v3.24curl7.82.0
Alpine:v3.17curl7.22.0-r0, 7.82.0, 7.46.0-r0
Alpine:v3.18curl7.19.2-r1, 7.19.4-r0, 7.19.5-r0
Alpine:v3.20curl7.82.0, 7.19.2-r0, 7.19.2-r1
Alpine:v3.21curl7.19.2-r0, 0, 7.82.0
Alpine:v3.22curl7.19.2-r0, 7.19.2-r1, 7.19.4-r0
Alpine:v3.23curl7.54.0-r0, 7.19.2-r1, 0
Alpine:v3.16curl7.19.2-r1, 7.19.2-r0, 0

Timeline

  • Jun 2, 2022 CVE Published
  • Jul 8, 2026 CVE Updated
  • Aug 8, 2026 Distribution Patch

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln ALPINE-CVE-2022-30115
vulnetix vdb fixes ALPINE-CVE-2022-30115

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/ALPINE-CVE-2022-30115/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›