Skip to content
OpenAdvisories
Unscored CVE-2018-1000007 EUVD-2018-1778GHSA-g7x2-hrfp-pv5f

libcurl 7.1 through 7.57.0 might accidentally leak authentication data to third parties. When asked to send custom headers in its HTTP requ…

Published Jan 24, 2018 · Updated Aug 5, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 curl 7.58.0-1 —
Debian 13 curl 7.58.0-1 —
Debian 12 curl 7.58.0-1 —
Debian 9 curl 7.52.1-5+deb9u4 DSA-4098-1
Debian 8 curl 7.38.0-4+deb8u9 DSA-4098-1
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Debian 7 curl 7.26.0-1+wheezy24 DLA-1263-1
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS curl 7.47.0-1ubuntu2.6 USN-3554-1
Ubuntu 14.04 LTS curl 7.35.0-1ubuntu2.14 USN-3554-1
ReleasePackageFixed inAdvisory
RHEL 7 curl +2 7.29.0-51.el7 RHSA-2018:3157
RHEL 7 nss-pem 1.0.3-5.el7 RHSA-2018:3157
RHEL 3 httpd24-curl +2 7.61.1-1.el6 RHSA-2018:3558
RHEL 3 httpd24-httpd +5 2.4.34-7.el6 RHSA-2018:3558
RHEL 3 httpd24-mod_md 2.4.34-7.el7 RHSA-2018:3558
RHEL 3 httpd24-mod_ssl +1 1:2.4.34-7.el6 RHSA-2018:3558
RHEL 3 httpd24-nghttp2 +2 1.7.1-7.el6 RHSA-2018:3558
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 7.5 EUS curl +2 7.29.0-46.el7_5.1 RHSA-2020:0544
RHEL 7.4 TUS curl +2 7.29.0-42.el7_4.2 RHSA-2020:0594
RHEL 7.4 E4S curl +2 7.29.0-42.el7_4.2 RHSA-2020:0594
RHEL 7.4 AUS curl +2 7.29.0-42.el7_4.2 RHSA-2020:0594
ReleasePackageFixed inAdvisory
SLES 12 SP3 curl 7.37.0-37.14.1 SUSE-SU-2018:0217-1
SLES 12 SP2 curl 7.37.0-37.14.1 SUSE-SU-2018:0217-1
SLES 11 SP4 curl 7.19.7-1.70.13.1 SUSE-SU-2018:0230-1
SLES 11 curl-openssl1 7.19.7-1.70.13.1 SUSE-SU-2018:0230-1
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SUSE Studio Onsite 1.3 curl 7.19.7-1.20.53.13.1 SUSE-SU-2018:0214-1
SLES for SAP 12 SP3 curl 7.37.0-37.14.1 SUSE-SU-2018:0217-1
SLES for SAP 12 SP2 curl 7.37.0-37.14.1 SUSE-SU-2018:0217-1
SLES for SAP 11 SP4 curl 7.19.7-1.70.13.1 SUSE-SU-2018:0230-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 curl +2 7.55.1-9.amzn2.0.1 ALAS2-2018-951
Amazon Linux 2 nss-pem 1.0.3-5.amzn2 ALAS2-2019-1139

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 curl +2 7.29.0-51.el7 ELSA-2018-3157
Oracle Linux 7 nss-pem 1.0.3-5.el7 ELSA-2018-3157

Advisories 15

References