CVE-2021-22922

Medium

Description

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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductHaxx Curl
PublishedAug 5, 2021
First seenAug 5, 2021
Weakness typeCWE-840CWE-840

How to fix

Update
  • haxx curl7.78.0 or later
  • siemens sinec_infrastructure_network_services1.0.1.1 or later
  • splunk universal_forwarder8.2.12, 9.0.6 or later

Affected products

ProductAffected versionsFixed in
haxx curl7.27.0 ≤ v < 7.78.07.78.0
fedoraproject fedora33—
netapp cloud_backupNo range specified—
netapp clustered_data_ontapNo range specified—
netapp hci_management_nodeNo range specified—
netapp solidfireNo range specified—
oracle mysql_server5.7.0 ≤ v ≤ 5.7.35, 8.0.0 ≤ v ≤ 8.0.26—
siemens sinec_infrastructure_network_servicesv < 1.0.1.11.0.1.1
netapp h300s_firmwareNo range specified—
netapp h500s_firmwareNo range specified—
netapp h700s_firmwareNo range specified—
netapp h300e_firmwareNo range specified—
netapp h500e_firmwareNo range specified—
netapp h700e_firmwareNo range specified—
netapp h410s_firmwareNo range specified—
splunk universal_forwarder8.2.0 ≤ v < 8.2.12, 9.0.0 ≤ v < 9.0.6, 9.1.08.2.12, 9.0.6

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.