Public Date:
1537125: CVE-2018-1000007 curl: HTTP authentication leak in redirects
It was found that curl and libcurl might send their Authentication header to a third party HTTP server upon receiving an HTTP REDIRECT reply. This could leak authentication token to external entities.

Find out more about CVE-2018-1000007 from the MITRE CVE dictionary dictionary and NIST NVD.


This issue affects the versions of curl as shipped with Red Hat Enterprise Linux 5, 6, and 7, as well as the versions of httpd24-curl as shipped with Red Hat Software Collections. Red Hat Product Security has rated this issue as having Moderate security impact. A future update may address this issue. For additional information, refer to the Issue Severity Classification:

CVSS v3 metrics

NOTE: The following CVSS v3 metrics and score provided are preliminary and subject to review.

CVSS3 Base Score 4.3
CVSS3 Base Metrics CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality Low
Integrity Impact None
Availability Impact None

Affected Packages State

Platform Package State
Red Hat Software Collections for Red Hat Enterprise Linux httpd24-curl Affected
Red Hat JBoss Core Services 1 curl Affected
Red Hat Enterprise Linux 7 curl Affected
Red Hat Enterprise Linux 6 curl Will not fix
Red Hat Enterprise Linux 5 curl Will not fix
Red Hat Ceph Storage 2 curl Not affected
.NET Core 2.0 on Red Hat Enterprise Linux rh-dotnet20-curl Under investigation
.NET Core 1.0 on Red Hat Enterprise Linux rh-dotnetcore10-curl Under investigation
.NET Core 1.0 on Red Hat Enterprise Linux rh-dotnetcore11-curl Under investigation


Red Hat would like to thank the Curl project for reporting this issue. Upstream acknowledges Craig de Stigter as the original reporter.


By default, curl and libcurl will not follow redirect requests.
This flaw happens only when curl or libcurl are explicitly requested to follow redirects (option --location in curl, and CURLOPT_FOLLOWLOCATION in libcurl).
To mitigate this, it is possible to prevent the automated following of redirects, replacing it by manual redirects (and remove the authentication header), for example.

External References

Last Modified

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.