ALPINE-CVE-2022-42916
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| curl | Alpine:v3.17 | 7.86.0-r0 |
| curl | Alpine:v3.15 | 7.80.0-r4 |
| curl | Alpine:v3.20 | 7.86.0-r0 |
| curl | Alpine:v3.16 | 7.83.1-r4 |
| curl | Alpine:v3.23 | 7.86.0-r0 |
| curl | Alpine:v3.24 | 7.86.0-r0 |
| curl | Alpine:v3.19 | 7.86.0-r0 |
| curl | Alpine:v3.22 | 7.86.0-r0 |
| curl | Alpine:v3.18 | 7.86.0-r0 |
| curl | Alpine:v3.21 | 7.86.0-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.17 | curl | 7.21.2-r0, 7.21.3-r0, 7.21.4-r1 |
| Alpine:v3.15 | curl | 0, 7.19.2-r0, 7.19.4-r0 |
| Alpine:v3.20 | curl | 7.32.0-r0, 7.25.0-r0, 7.19.4-r0 |
| Alpine:v3.16 | curl | 7.77.0, 7.71.1-r0, 7.59.0-r0 |
| Alpine:v3.23 | curl | 7.58.0-r1, 7.19.2-r0, 7.19.2-r1 |
| Alpine:v3.24 | curl | 7.77.0 |
| Alpine:v3.19 | curl | 0, 7.19.2-r0, 7.19.2-r1 |
| Alpine:v3.22 | curl | 7.59.0-r0, 7.77.0, 7.19.4-r0 |
| Alpine:v3.18 | curl | 7.55.0-r0, 7.19.2-r0, 7.19.2-r1 |
| Alpine:v3.21 | curl | 0, 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