Curl
sending old referer
A vulnerability in libcurl caused the HTTP `Referer:` header to persist even when explicitly cleared. While the documentation states that passing NULL to `CURLOPT_REFERER` suppresses the header, the option failed to clear the internal state. As a result, the previous referrer string was erroneously reused and sent in subsequent requests, potentially leaking sensitive information to unintended servers.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.5high · scored by CISA ADP · CWE-200
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
curl curl
- >= 8.18.0, < 8.20.1
Fixed in 8.20.1
curl curl
- >= 2cb868242dc2ac9cd52ee64987ef51d5964a56f9, < 862e8a74a84478d82973471b4f49dc2746c1780e
Fixed in 862e8a74a84478d82973471b4f49dc2746c1780e
curl curl
- 8.20.0
- 8.19.0
- 8.18.0
Mitigation
Upgrade curl to 8.20.1 or later.
Upgrade curl to 862e8a74a84478d82973471b4f49dc2746c1780e or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.