VDB

ALPINE-CVE-2022-43551

ALPINE-CVE-2022-43551 PUBLISHED CVSS 7.5 HIGH

Record from OSV · Published December 23, 2022

A vulnerability exists in curl <7.87.0 HSTS check that could be bypassed to trick it to keep using HTTP. Using its HSTS support, curl can be instructed to use HTTPS instead of using an insecure clear-text HTTP step even when HTTP is provided in the URL. However, the HSTS mechanism could be bypassed if the host name in the given URL first uses IDN characters that get replaced to ASCII counterparts as part of the IDN conversion. Like using the character UTF-8 U+3002 (IDEOGRAPHIC FULL STOP) instead of the common ASCII full stop (U+002E) `.`. Then in a subsequent request, it does not detect the HSTS state and makes a clear text transfer. Because it would store the info IDN encoded but look for it IDN decoded.

Fixed versions

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

PackageEcosystemFixed in
curlAlpine:v3.247.87.0-r0
curlAlpine:v3.217.87.0-r0
curlAlpine:v3.147.79.1-r4
curlAlpine:v3.207.87.0-r0
curlAlpine:v3.177.87.0-r0
curlAlpine:v3.237.87.0-r0
curlAlpine:v3.167.83.1-r5
curlAlpine:v3.157.80.0-r5
curlAlpine:v3.227.87.0-r0
curlAlpine:v3.187.87.0-r0
curlAlpine:v3.197.87.0-r0

Risk scores

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

Affected products

VendorProductVersions
Alpine:v3.24curl7.77.0
Alpine:v3.21curl7.77.0, 7.21.0-r0, 7.21.4-r1
Alpine:v3.14curl7.19.2-r0, 7.77.0, 7.57.0-r0
Alpine:v3.20curl7.56.1-r0, 0, 7.19.2-r0
Alpine:v3.17curl7.21.6-r0, 7.21.3-r0, 7.21.2-r0
Alpine:v3.23curl7.58.0-r0, 0, 7.19.2-r1
Alpine:v3.16curl7.53.1-r1, 7.19.7-r1, 7.20.1-r0
Alpine:v3.15curl7.64.1-r3, 7.77.0, 7.77.0-r0
Alpine:v3.22curl7.51.0-r0, 7.37.0-r0, 7.77.0
Alpine:v3.18curl7.53.1-r3, 7.20.1-r0, 7.20.1-r1
Alpine:v3.19curl7.27.0-r0, 7.21.4-r1, 7.21.3-r0

Timeline

  • Dec 23, 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-43551
vulnetix vdb fixes ALPINE-CVE-2022-43551

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-43551/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 ›