5.3medium
Automatic referer leaks credentials
- Severity
- 5.3medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 5.30% (higher than 92% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- hackerone
- Also known as
- CURL-CVE-2021-22876
Description
curl 7.1.1 to and including 7.75.0 is vulnerable to an "Exposure of Private Personal Information to an Unauthorized Actor" by leaking credentials in the HTTP Referer: header. libcurl does not strip off user credentials from the URL when automatically populating the Referer: HTTP request header field in outgoing HTTP requests, and therefore risks leaking sensitive data to the server that is the target of the second HTTP request.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| https://github.com/curl/curl | 7.1.1 to and including 7.75.0 | CVE List |
| https://github.com/curl/curl.git | from 7.1.1 before 7.76.0, from f30ffef477636dc10a72eb30590a84a0218e5935 before 7214288898f5625a6cc196e22a74232eada7861c | curl |
| haxx libcurl | from 7.1.1 up to 7.75.0 | NVD |
| fedoraproject fedora | 32, 33, 34 | NVD |
| netapp hci_management_node | Not specified | NVD |
| netapp solidfire | Not specified | NVD |
| netapp hci_compute_node | Not specified | NVD |
| netapp hci_storage_node | Not specified | NVD |
| broadcom fabric_operating_system | Not specified | NVD |
| debian debian_linux | 9.0 | NVD |
| siemens sinec_infrastructure_network_services | before 1.0.1.1 | NVD |
| oracle communications_billing_and_revenue_management | 12.0.0.3.0 | NVD |
| oracle essbase | 21.2 | NVD |
| splunk universal_forwarder | from 8.2.0 before 8.2.12, from 9.0.0 before 9.0.6, 9.1.0 | NVD |
All scores
| CISA-ADP | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| curl | low rating | |
| NVD | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| NVD | 5.0medium CVSS:2.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Classification
What each source says
CVE List
curl 7.1.1 to and including 7.75.0 is vulnerable to an "Exposure of Private Personal Information to an Unauthorized Actor" by leaking credentials in the HTTP Referer: header. libcurl does not strip off user credentials from the URL when automatically populating the Referer: HTTP request header field in outgoing HTTP requests, and therefore risks leaking sensitive data to the server that is the target of the second HTTP request.
curl
libcurl does not strip off user credentials from the URL when automatically
populating the Referer: HTTP request header field in outgoing HTTP requests,
and therefore risks leaking sensitive data to the server that is the target of
the second HTTP request.
libcurl automatically sets the Referer: HTTP request header field in
outgoing HTTP requests if the CURLOPT_AUTOREFERER option is set. With the
curl tool, it is enabled with --referer ";auto".
NVD (es)
curl versiones 7.1.1 hasta 7.75.0 incluyéndola, es vulnerable a una "Exposure of Private Personal Information to an Unauthorized Actor" al filtrar credenciales en el encabezado HTTP Referer:. libcurl no elimina las credenciales de usuario de la URL cuando completa automáticamente el campo de encabezado de petición HTTP Referer: en peticiones HTTP salientes y, por lo tanto, corre el riesgo de filtrar datos confidenciales al servidor que es el objetivo de la segunda petición HTTP.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2021-22876 changed 2026-10-14 | CVE Terms of Use |
| curl | CURL-CVE-2021-22876 changed 2026-10-25 | MIT |
| NVD | CVE-2021-22876 changed 2026-10-14 | Public domain |