CVE-2018-1000007

NameCVE-2018-1000007
Descriptionlibcurl 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1263-1, DSA-4098-1
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
curl (PTS)stretch7.52.1-5+deb9u10fixed
stretch (security)7.52.1-5+deb9u11fixed
buster, buster (security)7.64.0-4+deb10u1fixed
bullseye, sid7.68.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
curlsourcewheezy7.26.0-1+wheezy24DLA-1263-1
curlsourcejessie7.38.0-4+deb8u9DSA-4098-1
curlsourcestretch7.52.1-5+deb9u4DSA-4098-1
curlsource(unstable)7.58.0-1

Notes

https://curl.haxx.se/docs/adv_2018-b3bf.html
Patch: https://github.com/curl/curl/commit/af32cd3859336ab.patch

Search for package or bug name: Reporting problems