CVE-2018-1000007
Description
libcurl <=7.57.0 leaks custom HTTP headers, including Authorization, to redirect targets.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
libcurl <=7.57.0 leaks custom HTTP headers, including Authorization, to redirect targets.
Vulnerability
In libcurl versions 7.1 through 7.57.0, when an application sets custom HTTP headers (including Authorization headers) and enables automatic redirection following, the headers are sent not only to the initial host but also to any host specified in a Location: header during a 30x redirect. This behavior leaks potentially sensitive authentication data to unintended third parties [1][2].
Exploitation
An attacker needs only to control a URL that the libcurl-using client follows or to have a redirect chain that points to a server under the attacker's control. The client must be configured to follow HTTP redirects (via CURLOPT_FOLLOWLOCATION) and to send custom headers (e.g., via CURLOPT_HTTPHEADER). The attacker receives the leaked headers in the incoming request, including any Authorization header [2].
Impact
Successful exploitation results in the disclosure of sensitive authentication data—such as bearer tokens, basic authentication credentials, or other custom authentication information—to a third-party server. This can lead to impersonation of the client or unauthorized access to protected resources [1][2].
Mitigation
A fix was introduced in libcurl version 7.58.0 [2]. Red Hat backported the fix to httpd24-curl in RHSA-2018:3558 and to curl in RHSA-2018:3157, RHSA-2020:0544, and RHSA-2020:0594 [1][2][3][4]. Users should update to the patched version or avoid sending sensitive custom headers in combination with automatic redirect following.
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
15- osv-coords14 versionspkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP2pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Desktop%2012%20SP3pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2011%20SP4pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP2pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP3pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20Raspberry%20Pi%2012%20SP2pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2011%20SP4pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP2pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2012%20SP3pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2011%20SP4pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP2pkg:rpm/suse/curl&distro=SUSE%20Linux%20Enterprise%20Software%20Development%20Kit%2012%20SP3pkg:rpm/suse/curl&distro=SUSE%20Studio%20Onsite%201.3pkg:rpm/suse/curl-openssl1&distro=SUSE%20Linux%20Enterprise%20Server%2011-SECURITY
< 7.37.0-37.14.1+ 13 more
- (no CPE)range: < 7.37.0-37.14.1
- (no CPE)range: < 7.37.0-37.14.1
- (no CPE)range: < 7.19.7-1.70.13.1
- (no CPE)range: < 7.37.0-37.14.1
- (no CPE)range: < 7.37.0-37.14.1
- (no CPE)range: < 7.37.0-37.14.1
- (no CPE)range: < 7.19.7-1.70.13.1
- (no CPE)range: < 7.37.0-37.14.1
- (no CPE)range: < 7.37.0-37.14.1
- (no CPE)range: < 7.19.7-1.70.13.1
- (no CPE)range: < 7.37.0-37.14.1
- (no CPE)range: < 7.37.0-37.14.1
- (no CPE)range: < 7.19.7-1.20.53.13.1
- (no CPE)range: < 7.19.7-1.70.13.1
Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
14- access.redhat.com/errata/RHBA-2019:0327mitrevendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2018:3157mitrevendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2018:3558mitrevendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2019:1543mitrevendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2020:0544mitrevendor-advisoryx_refsource_REDHAT
- access.redhat.com/errata/RHSA-2020:0594mitrevendor-advisoryx_refsource_REDHAT
- usn.ubuntu.com/3554-1/mitrevendor-advisoryx_refsource_UBUNTU
- usn.ubuntu.com/3554-2/mitrevendor-advisoryx_refsource_UBUNTU
- www.debian.org/security/2018/dsa-4098mitrevendor-advisoryx_refsource_DEBIAN
- www.openwall.com/lists/oss-security/2022/04/27/4mitremailing-listx_refsource_MLIST
- www.securitytracker.com/id/1040274mitrevdb-entryx_refsource_SECTRACK
- curl.haxx.se/docs/adv_2018-b3bf.htmlmitrex_refsource_CONFIRM
- lists.debian.org/debian-lts-announce/2018/01/msg00038.htmlmitremailing-listx_refsource_MLIST
- www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.htmlmitrex_refsource_MISC
News mentions
0No linked articles in our index yet.