VDB

ALPINE-CVE-2021-22922

ALPINE-CVE-2021-22922 PUBLISHED CVSS 6.5 MEDIUM

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

CVSS 3.1
6.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N

Affected Products

VendorProductVersions
Alpine:v3.21curl7.70.0-r2, 7.70.0-r1, 7.70.0-r0
Alpine:v3.20curl7.52.1-r1, 7.27.0, 0
Alpine:v3.16curl7.70.0-r2, 7.27.0, 0
Alpine:v3.17curl7.29.0-r0, 7.27.0, 0
Alpine:v3.23curl7.19.6-r0, 7.20.1-r0, 7.20.1-r1
Alpine:v3.13curl7.34.0-r1, 7.74.0-r0, 7.74.0-r1
Alpine:v3.12curl7.21.3-r1, 7.21.4-r1, 7.21.5-r0
Alpine:v3.14curl7.50.1-r0, 0, 7.19.2-r0
Alpine:v3.15curl7.19.6-r0, 7.21.5-r1, 7.21.5-r0
Alpine:v3.19curl7.45.0-r0, 7.27.0, 0
Alpine:v3.22curl7.31.0-r0, 7.19.2-r0, 7.19.2-r1
Alpine:v3.24curl7.27.0, 0
Alpine:v3.18curl7.64.0-r1, 7.70.0-r1, 7.70.0-r2

Timeline

  • Aug 5, 2021 CVE Published
  • Apr 30, 2026 Distribution Patch
  • Jul 8, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›