CVE-2021-22876
published medium CVSS 3.1 · 5.3curl: Leak of authentication credentials in URL via automatic Referer
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | https://github.com/curl/curl7.1.1 to and including 7.75.0 | Affected | Not stated | hackerone |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Amazon Linux | AL2 | Release evaluationALAS2-2021-1653 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | curl | Advisory build | 7.61.1-22.el8 | ALSA-2021:4511 |
| Alpine Linux | edge | curl | Fixed | 7.76.0-r0 | Package fix record |
| Debian | buster | curl | Advisory build | 7.64.0-4+deb10u2 | DSA-4881-1 |
Show 99 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Siemens | — | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Siemens | — | SIPLUS S7-1500 CPU 1518-4 PN/DP MFPV3.1.0 to < V3.1.5 · Other versions: unknown | Affected | Not stated | siemens-SADP |
| Oracle Linux | 8 | curlaarch64 | Advisory build | 0:7.61.1-22.el8 | ELSA-2021-4511 |
| Red Hat Enterprise Linux | RHEL-7 | rh-dotnet31-curlsrc | Advisory build | 7.61.1-22.el7_9 | RHSA-2022:1354 |
| SUSE / openSUSE | SLE-11 | curl-openssl1i586 | Advisory build | 7.37.0-70.60.1 | SUSE-SU-2021:14707-1 |
| AlmaLinux | 8 | libcurl | Advisory build | 7.61.1-22.el8 | ALSA-2021:4511 |
| AlmaLinux | 8 | libcurl-devel | Advisory build | 7.61.1-22.el8 | ALSA-2021:4511 |
| AlmaLinux | 8 | libcurl-minimal | Advisory build | 7.61.1-22.el8 | ALSA-2021:4511 |
| Alpine Linux | v3.12 | curl | Fixed | 7.76.0-r0 | Package fix record |
| Alpine Linux | v3.13 | curl | Fixed | 7.76.0-r0 | Package fix record |
| Alpine Linux | v3.14 | curl | Fixed | 7.76.0-r0 | Package fix record |
| Alpine Linux | v3.15 | curl | Fixed | 7.76.0-r0 | Package fix record |
| Alpine Linux | v3.16 | curl | Fixed | 7.76.0-r0 | Package fix record |
| Alpine Linux | v3.17 | curl | Fixed | 7.76.0-r0 | Package fix record |
| Alpine Linux | v3.18 | curl | Fixed | 7.76.0-r0 | Package fix record |
| Alpine Linux | v3.19 | curl | Fixed | 7.76.0-r0 | Package fix record |
| Alpine Linux | v3.20 | curl | Fixed | 7.76.0-r0 | Package fix record |
| Alpine Linux | v3.21 | curl | Fixed | 7.76.0-r0 | Package fix record |
| Alpine Linux | v3.22 | curl | Fixed | 7.76.0-r0 | Package fix record |
| Alpine Linux | v3.23 | curl | Fixed | 7.76.0-r0 | Package fix record |
| Alpine Linux | v3.24 | curl | Fixed | 7.76.0-r0 | Package fix record |
| Debian | stretch | curl | Advisory build | 7.52.1-5+deb9u14 | DLA-2664-1 |
| Oracle Linux | 8 | curlx86_64 | Advisory build | 0:7.61.1-22.el8 | ELSA-2021-4511 |
| Oracle Linux | 8 | libcurlaarch64 | Advisory build | 0:7.61.1-22.el8 | ELSA-2021-4511 |
| Oracle Linux | 8 | libcurlx86_64 | Advisory build | 0:7.61.1-22.el8 | ELSA-2021-4511 |
| Oracle Linux | 8 | libcurl-develaarch64 | Advisory build | 0:7.61.1-22.el8 | ELSA-2021-4511 |
| Oracle Linux | 8 | libcurl-develx86_64 | Advisory build | 0:7.61.1-22.el8 | ELSA-2021-4511 |
| Oracle Linux | 8 | libcurl-minimalaarch64 | Advisory build | 0:7.61.1-22.el8 | ELSA-2021-4511 |
| Oracle Linux | 8 | libcurl-minimalx86_64 | Advisory build | 0:7.61.1-22.el8 | ELSA-2021-4511 |
| Red Hat Enterprise Linux | RHEL-7 | rh-dotnet31-curlx86_64 | Advisory build | 7.61.1-22.el7_9 | RHSA-2022:1354 |
| Red Hat Enterprise Linux | RHEL-7 | rh-dotnet31-curl-debuginfox86_64 | Advisory build | 7.61.1-22.el7_9 | RHSA-2022:1354 |
| Red Hat Enterprise Linux | RHEL-7 | rh-dotnet31-libcurlx86_64 | Advisory build | 7.61.1-22.el7_9 | RHSA-2022:1354 |
| Red Hat Enterprise Linux | RHEL-7 | rh-dotnet31-libcurl-develx86_64 | Advisory build | 7.61.1-22.el7_9 | RHSA-2022:1354 |
| Red Hat Enterprise Linux | RHEL-8 | curlaarch64 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | curlppc64le | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | curls390x | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | curlsrc | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | curlx86_64 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debuginfoaarch64 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debuginfoi686 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debuginfoppc64le | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debuginfos390x | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debuginfox86_64 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debugsourceaarch64 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debugsourcei686 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debugsourceppc64le | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debugsources390x | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | curl-debugsourcex86_64 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | curl-minimal-debuginfoaarch64 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | curl-minimal-debuginfoi686 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | curl-minimal-debuginfoppc64le | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | curl-minimal-debuginfos390x | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | curl-minimal-debuginfox86_64 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | libcurlaarch64 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | libcurli686 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | libcurlppc64le | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | libcurls390x | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | libcurlx86_64 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-debuginfoaarch64 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-debuginfoi686 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-debuginfoppc64le | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-debuginfos390x | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-debuginfox86_64 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-develaarch64 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-develi686 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-develppc64le | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-devels390x | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-develx86_64 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-minimalaarch64 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-minimali686 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-minimalppc64le | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-minimals390x | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-minimalx86_64 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-minimal-debuginfoaarch64 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-minimal-debuginfoi686 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-minimal-debuginfoppc64le | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-minimal-debuginfos390x | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| Red Hat Enterprise Linux | RHEL-8 | libcurl-minimal-debuginfox86_64 | Advisory build | 7.61.1-22.el8 | RHSA-2021:4511 |
| SUSE / openSUSE | SLE-11 | curl-openssl1ia64 | Advisory build | 7.37.0-70.60.1 | SUSE-SU-2021:14707-1 |
| SUSE / openSUSE | SLE-11 | curl-openssl1ppc64 | Advisory build | 7.37.0-70.60.1 | SUSE-SU-2021:14707-1 |
| SUSE / openSUSE | SLE-11 | curl-openssl1s390x | Advisory build | 7.37.0-70.60.1 | SUSE-SU-2021:14707-1 |
| SUSE / openSUSE | SLE-11 | curl-openssl1x86_64 | Advisory build | 7.37.0-70.60.1 | SUSE-SU-2021:14707-1 |
| SUSE / openSUSE | SLE-11 | libcurl4-openssl1i586 | Advisory build | 7.37.0-70.60.1 | SUSE-SU-2021:14707-1 |
| SUSE / openSUSE | SLE-11 | libcurl4-openssl1ia64 | Advisory build | 7.37.0-70.60.1 | SUSE-SU-2021:14707-1 |
| SUSE / openSUSE | SLE-11 | libcurl4-openssl1ppc64 | Advisory build | 7.37.0-70.60.1 | SUSE-SU-2021:14707-1 |
| SUSE / openSUSE | SLE-11 | libcurl4-openssl1s390x | Advisory build | 7.37.0-70.60.1 | SUSE-SU-2021:14707-1 |
| SUSE / openSUSE | SLE-11 | libcurl4-openssl1x86_64 | Advisory build | 7.37.0-70.60.1 | SUSE-SU-2021:14707-1 |
| SUSE / openSUSE | SLE-11 | libcurl4-openssl1-32bitppc64 | Advisory build | 7.37.0-70.60.1 | SUSE-SU-2021:14707-1 |
| SUSE / openSUSE | SLE-11 | libcurl4-openssl1-32bits390x | Advisory build | 7.37.0-70.60.1 | SUSE-SU-2021:14707-1 |
| SUSE / openSUSE | SLE-11 | libcurl4-openssl1-32bitx86_64 | Advisory build | 7.37.0-70.60.1 | SUSE-SU-2021:14707-1 |
| SUSE / openSUSE | SLE-11 | libcurl4-openssl1-x86ia64 | Advisory build | 7.37.0-70.60.1 | SUSE-SU-2021:14707-1 |
| SUSE / openSUSE | SLE-12-SP4 | curlaarch64 | Advisory build | 7.60.0-4.20.1 | SUSE-SU-2021:1786-1 |
| SUSE / openSUSE | SLE-12-SP4 | curlppc64le | Advisory build | 7.60.0-4.20.1 | SUSE-SU-2021:1786-1 |
| SUSE / openSUSE | SLE-12-SP4 | curls390x | Advisory build | 7.60.0-4.20.1 | SUSE-SU-2021:1786-1 |
| SUSE / openSUSE | SLE-12-SP4 | curlx86_64 | Advisory build | 7.60.0-4.20.1 | SUSE-SU-2021:1786-1 |
| SUSE / openSUSE | SLE-12-SP4 | libcurl4aarch64 | Advisory build | 7.60.0-4.20.1 | SUSE-SU-2021:1786-1 |
| SUSE / openSUSE | SLE-12-SP4 | libcurl4ppc64le | Advisory build | 7.60.0-4.20.1 | SUSE-SU-2021:1786-1 |
| SUSE / openSUSE | SLE-12-SP4 | libcurl4s390x | Advisory build | 7.60.0-4.20.1 | SUSE-SU-2021:1786-1 |
| SUSE / openSUSE | SLE-12-SP4 | libcurl4x86_64 | Advisory build | 7.60.0-4.20.1 | SUSE-SU-2021:1786-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | https://github.com/curl/curl | 7.1.1 to and including 7.75.0 (affected) | hackerone · cna |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIMATIC S7-1500 CPU 1518F-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
| Siemens | SIPLUS S7-1500 CPU 1518-4 PN/DP MFP | V3.1.0 to < V3.1.5 (affected · custom)Default: unknown | siemens-SADP · adp |
Weaknesses
1- CWE-359 Privacy Violation (CWE-359)
References
12- https://cert-portal.siemens.com/productcert/html/ssa-389290.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
- https://cert-portal.siemens.com/productcert/pdf/ssa-389290.pdf
- https://curl.se/docs/CVE-2021-22876.html
- https://hackerone.com/reports/1101882
- [debian-lts-announce] 20210517 [SECURITY] [DLA 2664-1] curl security update https://lists.debian.org/debian-lts-announce/2021/05/msg00019.html
- FEDORA-2021-26a293c72b https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2ZC5BMIOKLBQJSFCHEDN2G2C2SH274BP/
- FEDORA-2021-cab5c9befb https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ITVWPVGLFISU5BJC2BXBRYSDXTXE2YGC/
- FEDORA-2021-065371f385 https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KQUIOYX2KUU6FIUZVB5WWZ6JHSSYSQWJ/
- GLSA-202105-36 https://security.gentoo.org/glsa/202105-36
- https://security.netapp.com/advisory/ntap-20210521-0007/
- https://www.oracle.com//security-alerts/cpujul2021.html
Provider assertions
4hackerone · cna
siemens-SADP · adp
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- cc6cceed5332c814b916a9be902e1f8e051d39b1ba7b64ef7fcdf706e4c949d0
- Ingested
- 14 Oct 2026, 14:23:10 UTC
- Source record
- Official CVE record