cbcvebase.
CVE-2021-22922
published 2021-08-05

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…

PriorityP335medium6.5CVSS 3.1
AVNACLPRNUIRSUCNIHAN
EPSS
4.31%
89.9th percentile
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.

Affected

15 ranges
VendorProductVersion rangeFixed in
debiancurl< curl 7.79.1-1 (bookworm)curl 7.79.1-1 (bookworm)
fedoraprojectfedora
haxxcurl>= 0 < 7.79.1-17.79.1-1
haxxcurl>= 0 < 7.79.1-17.79.1-1
haxxcurl>= 0 < 7.79.1-17.79.1-1
haxxcurl>= 7.27.0 < 7.78.07.78.0
httpsgithub.com_curl_curl
msrccbl2_curl_7.76.0-5_on_cbl_mariner_2.0
msrccm1_curl_7.76.0-5_on_cbl_mariner_1.0
oraclemysql_server5.7.0 – 5.7.35
oraclemysql_server8.0.0 – 8.0.26
siemenssinec_infrastructure_network_services< 1.0.1.11.0.1.1
splunkuniversal_forwarder
splunkuniversal_forwarder>= 8.2.0 < 8.2.128.2.12
splunkuniversal_forwarder>= 9.0.0 < 9.0.69.0.6

CVSS provenance

nvdv3.16.5MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
nvdv2.04.3MEDIUMAV:N/AC:M/Au:N/C:N/I:P/A:N
osv6.5MEDIUM
vendor_debian6.5LOW
vendor_msrc6.5MEDIUM
vendor_redhat6.5MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.