ALPINE-CVE-2021-22922
When curl is instructed to download content using the metalink feature, thecontents is verified against a hash provided in the metalink XML file.The metalink XML file points out to the client how to get the same contentfrom a set of different URLs, potentially hosted by different servers and theclient can then download the file from one or several of them. In a serial orparallel manner.If one of the servers hosting the contents has been breached and the contentsof the specific file on that server is replaced with a modified payload, curlshould detect this when the hash of the file mismatches after a completeddownload. It should remove the contents and instead try getting the contentsfrom another URL. This is not done, and instead such a hash mismatch is onlymentioned in text and the potentially malicious content is kept in the file ondisk.
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Alpine:v3.21 | curl | 7.70.0-r0, 7.69.1-r0, 7.69.0-r1 |
| Alpine:v3.20 | curl | 7.52.1-r1, 7.77.0-r1, 7.77.0-r0 |
| Alpine:v3.16 | curl | 7.70.0-r0, 7.77.0-r1, 7.77.0-r0 |
| Alpine:v3.17 | curl | 7.29.0-r0, 7.77.0-r1, 7.77.0-r0 |
| Alpine:v3.23 | curl | 7.20.1-r1, 7.20.1-r0, 7.20.1-r1 |
| Alpine:v3.13 | curl | 7.34.0-r0, 7.74.0-r0, 7.74.0-r1 |
| Alpine:v3.12 | curl | 7.21.3-r1, 7.21.4-r1, 7.21.5-r0 |
| Alpine:v3.14 | curl | 7.53.1-r1, 0, 7.19.2-r0 |
| Alpine:v3.15 | curl | 7.19.6-r0, 7.21.5-r1, 7.21.5-r0 |
| Alpine:v3.19 | curl | 7.43.0-r0, 7.77.0-r1, 7.77.0-r0 |
| Alpine:v3.22 | curl | 7.34.0-r0, 7.19.2-r0, 7.19.2-r1 |
| Alpine:v3.18 | curl | 7.64.0-r1, 7.21.5-r1, 0 |
Timeline
- Aug 5, 2021 CVE Published
- Dec 3, 2025 CVE Updated
- Apr 30, 2026 Distribution Patch