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 (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
curl (PTS)jessie7.38.0-4+deb8u11fixed
jessie (security)7.38.0-4+deb8u16fixed
stretch (security), stretch7.52.1-5+deb9u9fixed
buster7.64.0-4fixed
bullseye, sid7.66.0-1fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
curlsource(unstable)7.58.0-1medium
curlsourcejessie7.38.0-4+deb8u9mediumDSA-4098-1
curlsourcestretch7.52.1-5+deb9u4mediumDSA-4098-1
curlsourcewheezy7.26.0-1+wheezy24mediumDLA-1263-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