NA

CVE-2021-22922

Vulnerability Summary

A security issue has been found in curl before version 7.78.0. When curl is instructed to download content using the metalink feature, the contents 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 content from a set of different URLs, potentially hosted by different servers and the client can then download the file from one or several of them in a serial or parallel manner. If one of the servers hosting the contents has been breached and the contents of the specific file on that server is replaced with a modified payload, curl should detect this when the hash of the file mismatches after a completed download. It should remove the contents and instead try getting the contents from another URL. This is not done, and instead such a hash mismatch is only mentioned in text and the potentially malicious content is kept in the file on disk. There's a risk the user doesn't notice the message and instead assumes the file is fine. This flaw exists only in the curl tool. libcurl is not affected.

Most Upvoted Vulmon Research Post

There is no Researcher post for this vulnerability
Would you like to share something about it? Sign up now to share your knowledge with the community.

Vulnerability Trend

Vendor Advisories

A security issue has been found in curl before version 7780 When curl is instructed to download content using the metalink feature, the contents 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 content from a set of different URLs, potentially hosted by different ser ...
Arch Linux Security Advisory ASA-202107-59 ========================================== Severity: Medium Date : 2021-07-21 CVE-ID : CVE-2021-22922 CVE-2021-22923 CVE-2021-22924 CVE-2021-22925 Package : curl Type : multiple issues Remote : Yes Link : securityarchlinuxorg/AVG-2194 Summary ======= The package curl before version ...

Mailing Lists

Wrong content via metalink not discarded ======================================== Project curl Security Advisory, July 21th 2021 - [Permalink](curlse/docs/CVE-2021-22922html) VULNERABILITY ------------- When curl is instructed to download content using the metalink feature, the contents is verified against a hash provided in the metali ...