---
title: "CVE-2021-22876"
canonical_url: "https://pkgseek.com/security/CVE-2021-22876"
locale: "en"
source: "pkgseek"
entity_type: "cve"
severity: "medium"
---

# CVE-2021-22876

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.

CVE-2021-22876 is rated MEDIUM (5.3), with 12 indexed affected package builds across 2 distributions.

- **Severity / Score**: MEDIUM (5.3)
- **Affected builds**: 12
- **Affected distros**: 2
- **Distros with fixed_in**: Oracle Linux, Ubuntu

## Affected Packages

| Distribution | Release | Package | Version | Fixed In |
| --- | --- | --- | --- | --- |
| Oracle Linux | 8 | curl | 7.61.1-18.el8_4.2 | 7.61.1-22.el8 |
| Oracle Linux | 8 | libcurl | 7.61.1-18.el8_4.2 | 7.61.1-22.el8 |
| Oracle Linux | 8 | libcurl-devel | 7.61.1-18.el8_4.2 | 7.61.1-22.el8 |
| Oracle Linux | 8 | libcurl-minimal | 7.61.1-18.el8_4.2 | 7.61.1-22.el8 |
| Ubuntu | focal | curl | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.5 |
| Ubuntu | focal | libcurl3-gnutls | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.5 |
| Ubuntu | focal | libcurl3-nss | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.5 |
| Ubuntu | focal | libcurl4 | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.5 |
| Ubuntu | focal | libcurl4-doc | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.5 |
| Ubuntu | focal | libcurl4-gnutls-dev | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.5 |
| Ubuntu | focal | libcurl4-nss-dev | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.5 |
| Ubuntu | focal | libcurl4-openssl-dev | 7.68.0-1ubuntu2 | 7.68.0-1ubuntu2.5 |
