CVE-2021-22876

State
Published
Severity
5.3 Medium
Published
Apr 1, 2021
Updated
Oct 14, 2026
Reserved
Jan 6, 2021

Read the record on cve.org

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

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:NCISA-ADP

Weaknesses

  • CWE-359 Privacy Violation (CWE-359)

Affected Products

ProductVersions
https://github.com/curl/curln/a
  • 7.1.1 to and including 7.75.0Affected

References

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.