cve.bz

CVE-2018-1000007

9.8 criticalEPSS 9.9%Fix available

Critical (9.8). EPSS 9.9% estimated probability of exploitation activity in the next 30 days.

On this page
libcurl 7.1 through 7.57.0 might accidentally leak authentication data to third parties. When asked to send custom headers in its HTTP requests, libcurl will send that set of headers first to the host in the initial URL but also, if asked to follow redirects and a 30X HTTP response code is returned, to the host mentioned in URL in the `Location:` response header value. Sending the same set of headers to subsequent hosts is in particular a problem for applications that pass on custom `Authorization:` headers, as this header often contains privacy sensitive information or data that could allow others to impersonate the libcurl-using client's request.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
9.9% (unchanged from 9.9% a week ago; 6.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 96th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2018-1000007 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2018-1000007?via=ask-ai-copy and https://cve.bz/cve/CVE-2018-1000007?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2018-1000007 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
haxx:curlfrom 7.1 through 7.57.0
debian:debian_linux7.0
debian:debian_linux8.0
debian:debian_linux9.0
canonical:ubuntu_linux12.04
canonical:ubuntu_linux14.04
canonical:ubuntu_linux16.04
canonical:ubuntu_linux17.10
redhat:enterprise_linux_desktop7.0
redhat:enterprise_linux_server7.0
redhat:enterprise_linux_server_aus7.4
redhat:enterprise_linux_server_eus7.4
redhat:enterprise_linux_server_eus7.5
redhat:enterprise_linux_workstation7.0
fujitsu:m10-1_firmwarebefore xcp2361
fujitsu:m10-4_firmwarebefore xcp2361
fujitsu:m10-4s_firmwarebefore xcp2361
fujitsu:m12-1_firmwarebefore xcp2361
fujitsu:m12-2_firmwarebefore xcp2361
fujitsu:m12-2s_firmwarebefore xcp2361
fujitsu:m10-1_firmwarebefore xcp3070
fujitsu:m10-4_firmwarebefore xcp3070
fujitsu:m10-4s_firmwarebefore xcp3070
fujitsu:m12-1_firmwarebefore xcp3070
fujitsu:m12-2_firmwarebefore xcp3070
fujitsu:m12-2s_firmwarebefore xcp3070

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian7curl7.26.0-1+wheezy24DLA-1263-1
Debian8curl7.38.0-4+deb8u9DSA-4098-1
Debian9curl7.52.1-5+deb9u4DSA-4098-1
Debian12, 13, 14curl7.58.0-1DEBIAN-CVE-2018-1000007
Ubuntu14.04:LTScurl7.35.0-1ubuntu2.14UBUNTU-CVE-2018-1000007 USN-3554-1
Ubuntu16.04:LTScurl7.47.0-1ubuntu2.6UBUNTU-CVE-2018-1000007 USN-3554-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morecurl, libcurl, libcurl-devel and 1 more0:7.29.0-51.el7RHSA-2018:3157
Red Hatenterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 morenss-pem, nss-pem-debuginfo0:1.0.3-5.el7RHSA-2018:3157
Red Hatrhel_aus:7.4::server, rhel_e4s:7.4::server, rhel_tus:7.4::servercurl, libcurl, libcurl-devel and 1 more0:7.29.0-42.el7_4.2RHSA-2020:0594
Red Hatrhel_eus:7.5::computenode, rhel_eus:7.5::servercurl, libcurl, libcurl-devel and 1 more0:7.29.0-46.el7_5.1RHSA-2020:0544
Red Hatrhel_software_collections:3::el6httpd24-curl, httpd24-libcurl, httpd24-libcurl-devel and 1 more0:7.61.1-1.el6RHSA-2018:3558
Red Hatrhel_software_collections:3::el6httpd24-httpd, httpd24-mod_ldap, httpd24-httpd-devel and 4 more0:2.4.34-7.el6RHSA-2018:3558
Red Hatrhel_software_collections:3::el6httpd24-mod_ssl, httpd24-mod_proxy_html1:2.4.34-7.el6RHSA-2018:3558
Red Hatrhel_software_collections:3::el6httpd24-nghttp2, httpd24-libnghttp2, httpd24-libnghttp2-devel and 1 more0:1.7.1-7.el6RHSA-2018:3558
Red Hatrhel_software_collections:3::el7httpd24-curl, httpd24-libcurl, httpd24-libcurl-devel and 1 more0:7.61.1-1.el7RHSA-2018:3558
Red Hatrhel_software_collections:3::el7httpd24-httpd, httpd24-mod_md, httpd24-mod_ldap and 5 more0:2.4.34-7.el7RHSA-2018:3558
Red Hatrhel_software_collections:3::el7httpd24-mod_ssl, httpd24-mod_proxy_html1:2.4.34-7.el7RHSA-2018:3558
Red Hatrhel_software_collections:3::el7httpd24-nghttp2, httpd24-libnghttp2, httpd24-libnghttp2-devel and 1 more0:1.7.1-7.el7RHSA-2018:3558
SUSELinux Enterprise Desktop 12 SP2, Linux Enterprise Desktop 12 SP3, Linux Enterprise Server 12 SP2 and 6 morecurl7.37.0-37.14.1SUSE-SU-2018:0217-1
SUSELinux Enterprise Server 11 SP4, Linux Enterprise Server for SAP Applications 11 SP4, Linux Enterprise Software Development Kit 11 SP4curl7.19.7-1.70.13.1SUSE-SU-2018:0230-1
SUSELinux Enterprise Server 11-SECURITYcurl-openssl17.19.7-1.70.13.1SUSE-SU-2018:0230-1
SUSEStudio Onsite 1.3curl7.19.7-1.20.53.13.1SUSE-SU-2018:0214-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

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: https://access.redhat.com/security/updates/classification/.

Red Hat's mitigation

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.

ProductPackageStateAdvisory
JBoss Core Services Apache HTTP Server 2.4.29 SP2jbcs-httpd24-curlFixed 2019-06-18RHSA-2019:1543
Red Hat Enterprise Linux 7curl-0:7.29.0-51.el7Fixed 2018-10-30RHSA-2018:3157
Red Hat Enterprise Linux 7nss-pem-0:1.0.3-5.el7Fixed 2018-10-30RHSA-2018:3157
Red Hat Enterprise Linux 7.4 Advanced Update Supportcurl-0:7.29.0-42.el7_4.2Fixed 2020-02-25RHSA-2020:0594
Red Hat Enterprise Linux 7.4 Telco Extended Update Supportcurl-0:7.29.0-42.el7_4.2Fixed 2020-02-25RHSA-2020:0594
Red Hat Enterprise Linux 7.4 Update Services for SAP Solutionscurl-0:7.29.0-42.el7_4.2Fixed 2020-02-25RHSA-2020:0594
Red Hat Enterprise Linux 7.5 Extended Update Supportcurl-0:7.29.0-46.el7_5.1Fixed 2020-02-19RHSA-2020:0544
Red Hat Software Collections for Red Hat Enterprise Linux 6httpd24-curl-0:7.61.1-1.el6Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 6httpd24-httpd-0:2.4.34-7.el6Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 6httpd24-nghttp2-0:1.7.1-7.el6Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 7httpd24-curl-0:7.61.1-1.el7Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 7httpd24-httpd-0:2.4.34-7.el7Fixed 2018-11-13RHSA-2018:3558
Red Hat Software Collections for Red Hat Enterprise Linux 7httpd24-nghttp2-0:1.7.1-7.el7Fixed 2018-11-13RHSA-2018:3558
.NET Core 1.0 on Red Hat Enterprise Linuxrh-dotnetcore10-curlOut of support scope
.NET Core 1.1 on Red Hat Enterprise Linuxrh-dotnetcore11-curlOut of support scope
.NET Core 2.0 on Red Hat Enterprise Linuxrh-dotnet20-curlOut of support scope
.NET Core 2.1 on Red Hat Enterprise Linuxrh-dotnet21-curlWill not fix
Red Hat Ceph Storage 2curlNot affected
Red Hat Enterprise Linux 5curlOut of support scope
Red Hat Enterprise Linux 6curlOut of support scope
9 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2018-1000007.

References

Check your stackJSON