CVE-2021-22922: When curl is instructed to download content using the metalink feature, thecontents is verified against a hash provided in the metalink X…
CVE-2021-22922 affects 6 listed versions of Oracle MySQL in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Oracle MySQL
6 of 221 listed versions are affected. No fixed release is named. The newest release, 26.10.0, is not affected.
5.7.35 5.7.34 5.7.33 5.7.32 5.7.31 5.7.30
What it is
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N (NVD)
Published by Hackerone on 5 August 2021. Last changed 14 October 2026.
Sources
Check one version you run: look CVE-2021-22922 up, or pick a product and version in the quick lookup.
Updated 2 December 2026.