ALPINE-CVE-2022-43551
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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| curl | Alpine:v3.24 | 7.87.0-r0 |
| curl | Alpine:v3.21 | 7.87.0-r0 |
| curl | Alpine:v3.14 | 7.79.1-r4 |
| curl | Alpine:v3.20 | 7.87.0-r0 |
| curl | Alpine:v3.17 | 7.87.0-r0 |
| curl | Alpine:v3.23 | 7.87.0-r0 |
| curl | Alpine:v3.16 | 7.83.1-r5 |
| curl | Alpine:v3.15 | 7.80.0-r5 |
| curl | Alpine:v3.22 | 7.87.0-r0 |
| curl | Alpine:v3.18 | 7.87.0-r0 |
| curl | Alpine:v3.19 | 7.87.0-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.24 | curl | 7.77.0 |
| Alpine:v3.21 | curl | 7.77.0, 7.21.0-r0, 7.21.4-r1 |
| Alpine:v3.14 | curl | 7.19.2-r0, 7.77.0, 7.57.0-r0 |
| Alpine:v3.20 | curl | 7.56.1-r0, 0, 7.19.2-r0 |
| Alpine:v3.17 | curl | 7.21.6-r0, 7.21.3-r0, 7.21.2-r0 |
| Alpine:v3.23 | curl | 7.58.0-r0, 0, 7.19.2-r1 |
| Alpine:v3.16 | curl | 7.53.1-r1, 7.19.7-r1, 7.20.1-r0 |
| Alpine:v3.15 | curl | 7.64.1-r3, 7.77.0, 7.77.0-r0 |
| Alpine:v3.22 | curl | 7.51.0-r0, 7.37.0-r0, 7.77.0 |
| Alpine:v3.18 | curl | 7.53.1-r3, 7.20.1-r0, 7.20.1-r1 |
| Alpine:v3.19 | curl | 7.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