CVE-2021-22876
- State
- Published
- Severity
- 5.3 Medium
- Published
- Apr 1, 2021
- Updated
- Oct 14, 2026
- Reserved
- Jan 6, 2021
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 5.3 Medium | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | CISA-ADP |
Weaknesses
- CWE-359 Privacy Violation (CWE-359)
Affected Products
| Product | Versions |
|---|---|
https://github.com/curl/curln/a |
|
References
- https://hackerone.com/reports/1101882
- https://curl.se/docs/CVE-2021-22876.html
- FEDORA-2021-cab5c9befbvendor-advisory
- FEDORA-2021-065371f385vendor-advisory
- FEDORA-2021-26a293c72bvendor-advisory
- [debian-lts-announce] 20210517 [SECURITY] [DLA 2664-1] curl security updatemailing-list
- GLSA-202105-36vendor-advisory
- https://www.oracle.com//security-alerts/cpujul2021.html
- https://security.netapp.com/advisory/ntap-20210521-0007/
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://cert-portal.siemens.com/productcert/html/ssa-389290.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.