CVE-2021-22876
Summary
| CVE | CVE-2021-22876 |
|---|---|
| State | PUBLISHED |
| Assigner | hackerone |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2021-04-01 18:15:12 UTC |
| Updated | 2026-10-14 11:16:52 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 5.3 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Problem Types: CWE-359 | CWE-200 | CWE-359 Privacy Violation (CWE-359)
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Primary | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| 3.1 | ADP | DECLARED | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| 3.1 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | Secondary | 5.3 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N |
| 2.0 | [email protected] | Primary | 5 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
UnchangedConfidentiality
LowIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
CVSS v2.0 Breakdown
Access Vector
NetworkAccess Complexity
LowAuthentication
NoneConfidentiality
PartialIntegrity
NoneAvailability
NoneAV:N/AC:L/Au:N/C:P/I:N/A:N
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Broadcom | Fabric Operating System | - | All | All | All |
| Operating System | Debian | Debian Linux | 9.0 | All | All | All |
| Operating System | Fedoraproject | Fedora | 32 | All | All | All |
| Operating System | Fedoraproject | Fedora | 33 | All | All | All |
| Operating System | Fedoraproject | Fedora | 34 | All | All | All |
| Application | Haxx | Libcurl | All | All | All | All |
| Hardware | Netapp | Hci Compute Node | - | All | All | All |
| Application | Netapp | Hci Management Node | - | All | All | All |
| Hardware | Netapp | Hci Storage Node | - | All | All | All |
| Application | Netapp | Solidfire | - | All | All | All |
| Application | Oracle | Communications Billing And Revenue Management | 12.0.0.3.0 | All | All | All |
| Application | Oracle | Essbase | 21.2 | All | All | All |
| Application | Siemens | Sinec Infrastructure Network Services | All | All | All | All |
| Application | Splunk | Universal Forwarder | All | All | All | All |
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Na | Https//github.com/curl/curl | affected 7.1.1 to and including 7.75.0 | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
| ADP | Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | affected V3.1.0 V3.1.5 custom | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| cert-portal.siemens.com/productcert/html/ssa-398330.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| April 2021 cURL/libcURL Vulnerabilities in NetApp Products | NetApp Product Security | af854a3a-2127-422b-91ae-364da2661108 | security.netapp.com | Third Party Advisory |
| Oracle Critical Patch Update Advisory - July 2021 | af854a3a-2127-422b-91ae-364da2661108 | www.oracle.com | Third Party Advisory |
| cert-portal.siemens.com/productcert/html/ssa-389290.html | 0b142b55-0307-4c5a-b3c9-f314f3fb7c5e | cert-portal.siemens.com | |
| [SECURITY] Fedora 32 Update: curl-7.69.1-8.fc32 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | Mailing List, Third Party Advisory |
| [SECURITY] [DLA 2664-1] curl security update | af854a3a-2127-422b-91ae-364da2661108 | lists.debian.org | Mailing List, Third Party Advisory |
| [SECURITY] Fedora 33 Update: curl-7.71.1-9.fc33 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | Mailing List, Third Party Advisory |
| cURL: Multiple vulnerabilities (GLSA 202105-36) — Gentoo security | af854a3a-2127-422b-91ae-364da2661108 | security.gentoo.org | Third Party Advisory |
| HackerOne | af854a3a-2127-422b-91ae-364da2661108 | hackerone.com | Exploit, Issue Tracking, Patch, Third Party Advisory |
| curl - Automatic referer leaks credentials - CVE-2021-22876 | af854a3a-2127-422b-91ae-364da2661108 | curl.se | Patch, Vendor Advisory |
| cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf | af854a3a-2127-422b-91ae-364da2661108 | cert-portal.siemens.com | Patch, Third Party Advisory |
| [SECURITY] Fedora 34 Update: curl-7.76.0-1.fc34 - package-announce - Fedora Mailing-Lists | af854a3a-2127-422b-91ae-364da2661108 | lists.fedoraproject.org | Mailing List, Third Party Advisory |
| [SECURITY] Fedora 34 Update: curl-7.76.0-1.fc34 - package-announce - Fedora Mailing-Lists | MITRE | lists.fedoraproject.org | |
| [SECURITY] Fedora 32 Update: curl-7.69.1-8.fc32 - package-announce - Fedora Mailing-Lists | MITRE | lists.fedoraproject.org | |
| [SECURITY] Fedora 33 Update: curl-7.71.1-9.fc33 - package-announce - Fedora Mailing-Lists | MITRE | lists.fedoraproject.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 159520 Oracle Enterprise Linux Security Update for curl (ELSA-2021-4511)
- 174942 SUSE Enterprise Linux Security Update for curl (SUSE-SU-2021:1006-1)
- 174951 SUSE Enterprise Linux Security Update for curl (SUSE-SU-2021:14707-1)
- 174956 SUSE Enterprise Linux Security Update for curl (SUSE-SU-2021:1396-1)
- 178522 Debian Security Update for curl (DSA 4881-1)
- 178600 Debian Security Update for curl (DLA 2664-1)
- 180068 Debian Security Update for curl (CVE-2021-22876)
- 198316 Ubuntu Security Notification for Curl Vulnerabilities (USN-4898-1)
- 239451 Red Hat Update for Red Hat JBoss Core Services Apache HTTP Server 2.4.37 SP8 (RHSA-2021:2472)
- 239832 Red Hat Update for curl (RHSA-2021:4511)
- 240217 Red Hat Update for rh-dotnet31-curl (RHSA-2022:1354)
- 281384 Fedora Security Update for curl (FEDORA-2021-cab5c9befb)
- 281385 Fedora Security Update for curl (FEDORA-2021-065371f385)
- 281386 Fedora Security Update for curl (FEDORA-2021-26a293c72b)
- 296059 Oracle Solaris 11.4 Support Repository Update (SRU) 36.0.1.101.2 Missing (CPUJUL2021)
- 352402 Amazon Linux Security Advisory for curl: ALAS2-2021-1653
- 352482 Amazon Linux Security Advisory for curl: ALAS-2021-1509
- 378599 Splunk Enterprise Third Party Package Updates for June (SVD-2023-0613)
- 378883 Splunk Enterprise August Third Party Package Updates (SVD-2023-0808)
- 500134 Alpine Linux Security Update for curl
- 503785 Alpine Linux Security Update for curl
- 591406 Siemens SIMATIC S7-1500 CPU GNU/Linux subsystem Multiple Vulnerabilities (SSB-439005, ICSA-22-104-13)
- 670440 EulerOS Security Update for curl (EulerOS-SA-2021-2060)
- 670451 EulerOS Security Update for curl (EulerOS-SA-2021-2049)
- 670699 EulerOS Security Update for curl (EulerOS-SA-2021-2457)
- 670903 EulerOS Security Update for curl (EulerOS-SA-2021-2060)
- 690175 Free Berkeley Software Distribution (FreeBSD) Security Update for curl (b1194286-958e-11eb-9c34-080027f515ea)
- 710078 Gentoo Linux cURL Multiple vulnerabilities (GLSA 202105-36)
- 730155 McAfee Web Gateway Multiple Vulnerabilities(WP-3580, WP-3656, WP-3815, WP-3878, WP-3882, WP-3934,WP-3935, WP-3936, WP-3999)
- 750055 SUSE Enterprise Linux Security Update for curl (SUSE-SU-2021:1786-1)
- 750081 SUSE Enterprise Linux Security Update for curl (SUSE-SU-2021:1809-1)
- 750283 OpenSUSE Security Update for curl (openSUSE-SU-2021:0510-1)
- 900252 CBL-Mariner Linux Security Update for curl 7.76.0
- 940095 AlmaLinux Security Update for curl (ALSA-2021:4511)