CVE-2021-22923
JSON

5.3medium

Metalink download sends credentials

Severity
5.3medium CVSS:3.1 by NVD
Exploit likelihood
2.00% (higher than 81% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
hackerone
Also known as
CURL-CVE-2021-22923

Description

When curl is instructed to get content using the metalink feature, and a user name and password are used to download the metalink XML file, those same credentials are then subsequently passed on to each of the servers from which curl will download or try to download the contents from. Often contrary to the user's expectations and intentions and without telling the user it happened.

Affected

Product or packageVersionsReported by
https://github.com/curl/curlcurl 7.27.0 to and including 7.77.0CVE List
https://github.com/curl/curl.gitfrom 7.27.0 before 7.78.0, from b5fdbe848bc3d088445817aa890d3f2f74ac5b02 before 265b14d6b37c4298bd5556fabcbc37d36f911693curl
haxx curlfrom 7.27.0 before 7.78.0NVD
fedoraproject fedora33NVD
netapp cloud_backupNot specifiedNVD
netapp clustered_data_ontapNot specifiedNVD
netapp hci_management_nodeNot specifiedNVD
netapp solidfireNot specifiedNVD
oracle mysql_serverfrom 5.7.0 up to 5.7.35, from 8.0.0 up to 8.0.26NVD
siemens sinec_infrastructure_network_servicesbefore 1.0.1.1NVD
netapp h300s_firmwareNot specifiedNVD
netapp h500s_firmwareNot specifiedNVD

All scores

curlmedium rating
NVD5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
NVD2.6low CVSS:2.0AV:N/AC:H/Au:N/C:P/I:N/A:N

Classification

CWE-319CWE-522

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

When curl is instructed to get content using the metalink feature, and a user name and password are used to download the metalink XML file, those same credentials are then subsequently passed on to each of the servers from which curl will download or try to download the contents from. Often contrary to the user's expectations and intentions and without telling the user it happened.

curl

When curl is instructed to get content using the Metalink feature, and a user name and password are used to download the Metalink XML file, those same credentials are then subsequently passed on to each of the servers from which curl downloads or tries to download the contents from. Often contrary to the user's expectations and intentions and without telling the user it happened.

NVD (es)

Cuando es instruido a curl de obtener contenidos usando la funcionalidad metalink, y se usan un nombre de usuario y una contraseña para descargar el archivo XML metalink, esas mismas credenciales se pasan subsecuentemente a cada uno de los servidores de los que curl descargará o intentará descargar los contenidos. A menudo, en contra de las expectativas e intenciones del usuario y sin avisarle de lo sucedido

References

Sources

SourceRecordLicence
CVE ListCVE-2021-22923 changed 2026-10-14CVE Terms of Use
curlCURL-CVE-2021-22923 changed 2026-10-25MIT
NVDCVE-2021-22923 changed 2026-10-14Public domain