VDB

CVE-2021-22876

CVE-2021-22876 PUBLISHED CVSS 5.300000190734863 MEDIUM

Reported by hackerone · Published April 1, 2021

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
libcurlconan.io7.75.0
curlAmazon Linux7.61.1-12.amzn2.0.4
libcurl-compatArch Linux7.76.0-1
libcurlAmazon Linux7.61.1-12.amzn2.0.4
lib32-libcurl-compatArch Linux7.76.0-1
SIPLUS S7-1500 CPU 1518-4 PN/DP MFPSiemens3.1.5

Risk scores

CVSS 3.1
5.300000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected products

VendorProductVersions
n/ahttps://github.com/curl/curl7.1.1 to and including 7.75.0
ConanCenterlibcurl7.1.1
amazon:2curl0
SiemensSIPLUS S7-1500 CPU 1518-4 PN/DP MFP3.1.0
archlibcurl-compat0
amazon:2libcurl0
archlib32-libcurl-compat0
n/ahttps://github.com/curl/curl7.1.1
archlib32-libcurl-gnutls0
amazon:2libcurl-devel0
SiemensSIMATIC S7-1500 CPU 1518F-4 PN/DP MFP3.1.0
alpinecurl0
archlib32-curl0
archcurl0
archlibcurl-gnutls0
SiemensSIMATIC S7-1500 CPU 1518-4 PN/DP MFP3.1.0

Timeline

  • Apr 1, 2021 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Apr 30, 2021 PoC Published (2 in total, the first dated here)
  • Mar 7, 2026 Distribution Patch (25 in total, the first dated here)
  • Mar 7, 2026 Security Advisory (32 in total, the first dated here)
  • Aug 25, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-22876
vulnetix vdb fixes CVE-2021-22876

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-22876/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›