VDB

ALPINE-CVE-2022-42916

ALPINE-CVE-2022-42916 PUBLISHED CVSS 7.5 HIGH

Record from OSV · Published October 29, 2022

In curl before 7.86.0, the HSTS check could be bypassed to trick it into staying with HTTP. Using its HSTS support, curl can be instructed to use HTTPS directly (instead of using an insecure cleartext HTTP step) even when HTTP is provided in the URL. This mechanism could be bypassed if the host name in the given URL uses IDN characters that get replaced with ASCII counterparts as part of the IDN conversion, e.g., using the character UTF-8 U+3002 (IDEOGRAPHIC FULL STOP) instead of the common ASCII full stop of U+002E (.). The earliest affected version is 7.77.0 2021-05-26.

Fixed versions

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

PackageEcosystemFixed in
curlAlpine:v3.177.86.0-r0
curlAlpine:v3.157.80.0-r4
curlAlpine:v3.207.86.0-r0
curlAlpine:v3.167.83.1-r4
curlAlpine:v3.237.86.0-r0
curlAlpine:v3.247.86.0-r0
curlAlpine:v3.197.86.0-r0
curlAlpine:v3.227.86.0-r0
curlAlpine:v3.187.86.0-r0
curlAlpine:v3.217.86.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.17curl7.21.2-r0, 7.21.3-r0, 7.21.4-r1
Alpine:v3.15curl0, 7.19.2-r0, 7.19.4-r0
Alpine:v3.20curl7.32.0-r0, 7.25.0-r0, 7.19.4-r0
Alpine:v3.16curl7.77.0, 7.71.1-r0, 7.59.0-r0
Alpine:v3.23curl7.58.0-r1, 7.19.2-r0, 7.19.2-r1
Alpine:v3.24curl7.77.0
Alpine:v3.19curl0, 7.19.2-r0, 7.19.2-r1
Alpine:v3.22curl7.59.0-r0, 7.77.0, 7.19.4-r0
Alpine:v3.18curl7.55.0-r0, 7.19.2-r0, 7.19.2-r1
Alpine:v3.21curl0, 7.77.0, 7.58.0-r1

Timeline

  • Oct 29, 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-42916
vulnetix vdb fixes ALPINE-CVE-2022-42916

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