Skip to content

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 g...

MediumCVSS 6.5 EPSS 4.3%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial
Technology
MySQLDebian

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.

Upgrade path

35 packages: 23 fixed, 11 with no fix yet.

PackageAffectedFixed inStatus
netapp cloud backup All versions No fix listed No fix yet
netapp clustered data ontap All versions No fix listed No fix yet
netapp h300e firmware All versions No fix listed No fix yet
netapp h300s firmware All versions No fix listed No fix yet
netapp h410s firmware All versions No fix listed No fix yet
netapp h500e firmware All versions No fix listed No fix yet
netapp h500s firmware All versions No fix listed No fix yet
netapp h700e firmware All versions No fix listed No fix yet
netapp h700s firmware All versions No fix listed No fix yet
netapp hci management node All versions No fix listed No fix yet
netapp solidfire All versions No fix listed No fix yet
alpine/curl(Alpine v3.12) >= 7.27.0, < 7.78.0-r0 7.78.0-r0 Fixed
alpine/curl(Alpine v3.13) >= 7.27.0, < 7.78.0-r0 7.78.0-r0 Fixed
alpine/curl(Alpine v3.14) >= 7.27.0, < 7.78.0-r0 7.78.0-r0 Fixed
alpine/curl(Alpine v3.15) >= 7.27.0, < 7.78.0-r0 7.78.0-r0 Fixed
alpine/curl(Alpine v3.16) >= 7.27.0, < 7.78.0-r0 7.78.0-r0 Fixed
alpine/curl(Alpine v3.17) >= 7.27.0, < 7.78.0-r0 7.78.0-r0 Fixed
alpine/curl(Alpine v3.18) >= 7.27.0, < 7.78.0-r0 7.78.0-r0 Fixed
alpine/curl(Alpine v3.19) >= 7.27.0, < 7.78.0-r0 7.78.0-r0 Fixed
alpine/curl(Alpine v3.20) >= 7.27.0, < 7.78.0-r0 7.78.0-r0 Fixed
alpine/curl(Alpine v3.21) >= 7.27.0, < 7.78.0-r0 7.78.0-r0 Fixed
alpine/curl(Alpine v3.22) >= 7.27.0, < 7.78.0-r0 7.78.0-r0 Fixed
alpine/curl(Alpine v3.23) >= 7.27.0, < 7.78.0-r0 7.78.0-r0 Fixed
alpine/curl(Alpine v3.24) >= 7.27.0, < 7.78.0-r0 7.78.0-r0 Fixed
debian/curl(Debian 12) < 7.79.1-1 7.79.1-1 Fixed
debian/curl(Debian 13) < 7.79.1-1 7.79.1-1 Fixed
debian/curl(Debian 14) < 7.79.1-1 7.79.1-1 Fixed
haxx curl >= 7.27.0, < 7.78.0 7.78.0 Fixed
oracle mysql server >= 5.7.0, <= 5.7.35; >= 8.0.0, <= 8.0.26 after 5.7.35, 8.0.26 Fixed
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5 Fixed

… and 5 more packages.

Affected products

ProductAffected versionsFixed in
debian/curl(Debian:12) < 7.79.1-1 7.79.1-1
debian/curl(Debian:13) < 7.79.1-1 7.79.1-1
debian/curl(Debian:14) < 7.79.1-1 7.79.1-1
alpine/curl(Alpine:v3.12) >= 7.27.0, < 7.78.0-r0 7.78.0-r0
alpine/curl(Alpine:v3.13) >= 7.27.0, < 7.78.0-r0 7.78.0-r0
alpine/curl(Alpine:v3.14) >= 7.27.0, < 7.78.0-r0 7.78.0-r0
alpine/curl(Alpine:v3.15) >= 7.27.0, < 7.78.0-r0 7.78.0-r0
alpine/curl(Alpine:v3.16) >= 7.27.0, < 7.78.0-r0 7.78.0-r0
alpine/curl(Alpine:v3.17) >= 7.27.0, < 7.78.0-r0 7.78.0-r0
alpine/curl(Alpine:v3.18) >= 7.27.0, < 7.78.0-r0 7.78.0-r0
alpine/curl(Alpine:v3.19) >= 7.27.0, < 7.78.0-r0 7.78.0-r0
alpine/curl(Alpine:v3.20) >= 7.27.0, < 7.78.0-r0 7.78.0-r0
alpine/curl(Alpine:v3.21) >= 7.27.0, < 7.78.0-r0 7.78.0-r0
alpine/curl(Alpine:v3.22) >= 7.27.0, < 7.78.0-r0 7.78.0-r0
alpine/curl(Alpine:v3.23) >= 7.27.0, < 7.78.0-r0 7.78.0-r0
alpine/curl(Alpine:v3.24) >= 7.27.0, < 7.78.0-r0 7.78.0-r0
Siemens SIMATIC S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
Siemens SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
Siemens SIPLUS S7-1500 CPU 1518-4 PN/DP MFP >= V3.1.0, < V3.1.5 V3.1.5
haxx curl >= 7.27.0, < 7.78.0 7.78.0
fedoraproject fedora = 33 No fix listed
netapp cloud backup All versions No fix listed
netapp clustered data ontap All versions No fix listed
netapp hci management node All versions No fix listed
netapp solidfire All versions No fix listed
Show 13 more
ProductAffected versionsFixed in
oracle mysql server >= 5.7.0, <= 5.7.35 No fix listed
oracle mysql server >= 8.0.0, <= 8.0.26 No fix listed
Siemens sinec infrastructure network services < 1.0.1.1 1.0.1.1
netapp h300s firmware All versions No fix listed
netapp h500s firmware All versions No fix listed
netapp h700s firmware All versions No fix listed
netapp h300e firmware All versions No fix listed
netapp h500e firmware All versions No fix listed
netapp h700e firmware All versions No fix listed
netapp h410s firmware All versions No fix listed
Splunk Universal Forwarder >= 8.2.0, < 8.2.12 8.2.12
Splunk Universal Forwarder >= 9.0.0, < 9.0.6 9.0.6
Splunk Universal Forwarder = 9.1.0 No fix listed

References