ALPINE-CVE-2021-22946
Record from OSV · Published September 29, 2021
A user can tell curl >= 7.20.0 and <= 7.78.0 to require a successful upgrade to TLS when speaking to an IMAP, POP3 or FTP server (`--ssl-reqd` on the command line or`CURLOPT_USE_SSL` set to `CURLUSESSL_CONTROL` or `CURLUSESSL_ALL` withlibcurl). This requirement could be bypassed if the server would return a properly crafted but perfectly legitimate response.This flaw would then make curl silently continue its operations **withoutTLS** contrary to the instructions and expectations, exposing possibly sensitive data in clear text over the network.
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.11 | 7.79.0-r0 |
| curl | Alpine:v3.18 | 7.79.0-r0 |
| curl | Alpine:v3.13 | 7.79.0-r0 |
| curl | Alpine:v3.14 | 7.79.0-r0 |
| curl | Alpine:v3.16 | 7.79.0-r0 |
| curl | Alpine:v3.15 | 7.79.0-r0 |
| curl | Alpine:v3.24 | 7.79.0-r0 |
| curl | Alpine:v3.12 | 7.79.0-r0 |
| curl | Alpine:v3.22 | 7.79.0-r0 |
| curl | Alpine:v3.21 | 7.79.0-r0 |
| curl | Alpine:v3.19 | 7.79.0-r0 |
| curl | Alpine:v3.17 | 7.79.0-r0 |
2 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.11 | curl | 7.21.5-r1, 7.47.0-r0, 7.62.0-r1 |
| Alpine:v3.18 | curl | 7.70.0-r0, 7.64.1-r0, 7.71.0-r0 |
| Alpine:v3.13 | curl | 7.19.5-r0, 7.20.0, 7.63.0-r0 |
| Alpine:v3.14 | curl | 0, 7.19.2-r0, 7.19.2-r1 |
| Alpine:v3.16 | curl | 7.53.1-r0, 0, 7.19.2-r0 |
| Alpine:v3.15 | curl | 7.77.0-r0, 7.78.0-r0, 7.78.0-r1 |
| Alpine:v3.24 | curl | 7.20.0, 0 |
| Alpine:v3.12 | curl | 7.46.0-r2, 7.20.0, 7.21.3-r1 |
| Alpine:v3.22 | curl | 7.67.0-r0, 7.71.0-r1, 7.74.0-r0 |
| Alpine:v3.21 | curl | 0, 7.21.3-r1, 7.69.1-r0 |
| Alpine:v3.19 | curl | 7.20.0, 7.60.0-r0, 7.59.0-r0 |
| Alpine:v3.17 | curl | 7.74.0-r0, 7.76.0-r0, 7.76.1-r0 |
| Alpine:v3.20 | curl | 7.64.1-r0, 7.21.5-r0, 7.21.3-r1 |
| Alpine:v3.23 | curl | 0, 7.21.3-r0, 7.21.5-r1 |
Timeline
- Sep 29, 2021 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-2021-22946
vulnetix vdb fixes ALPINE-CVE-2021-22946
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-2021-22946/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart