{"id":"CVE-2018-1000007","aliases":["CVE-2018-1000007","CURL-CVE-2018-1000007"],"related":[],"kind":"vulnerability","state":"published","title":"HTTP authentication leak in redirects","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"curl might leak authentication data to third parties.\n\nWhen asked to send custom headers in its HTTP requests, curl sends that set of\nheaders first to the host in the initial URL but also, if asked to follow\nredirects and a 30X HTTP response code is returned, to the host mentioned in\nURL in the `Location:` response header value.\n\nSending the same set of headers to subsequent hosts is in particular a problem\nfor applications that pass on custom `Authorization:` headers, as this header\noften contains privacy sensitive information or data that could allow others\nto impersonate the curl-using client's request.","format":"markdown","source":"curl"},{"lang":"es","text":"libcurl, desde la versión 7.1 hasta la 7.57.0, podría filtrar accidentalmente datos de autenticación a terceros. Cuando se le solicita que envíe cabeceras personalizadas en sus peticiones HTTP, libcurl enviará primero ese conjunto de cabeceras al host en la URL inicial pero también, si se le pide que siga redirecciones y se devuelve un código de respuesta HTTP 30X al host mencionado en la URL en el valor de la cabecera de respuesta \"Location:\". El envío de la misma serie de cabeceras a hosts subsecuentes es un problema en particular para las aplicaciones que pasan cabeceras \"Authorization:\" personalizadas, ya que esta cabecera suele contener información sensible de privacidad o datos que podrían permitir que otros suplanten la petición del cliente que emplea libcurl.","source":"nvd"}],"published":"2018-01-24T08:00:00.000Z","modified":"2026-10-25T01:04:49.290Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"curl","scheme":"rating","rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:N/C:P/I:N/A:N","score":5,"rating":"MEDIUM"}],"cwes":[],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"6.0","status":"affected","fixed":"7.58.0"},{"type":"git","introduced":"ae1912cb0d494b48d514d937826c9fe83ec96c4d","status":"affected","fixed":"af32cd3859336ab963591ca0df9b1e33a7ee066b"}],"repo":"https://github.com/curl/curl.git","source":"curl"},{"ranges":[{"status":"affected","introduced":"7.1","lastAffected":"7.57.0"}],"vendor":"haxx","product":"curl","cpe":"cpe:2.3:a:haxx:curl:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.0"},{"status":"affected","version":"8.0"},{"status":"affected","version":"9.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"12.04"},{"status":"affected","version":"14.04"},{"status":"affected","version":"16.04"},{"status":"affected","version":"17.10"}],"vendor":"canonical","product":"ubuntu_linux","cpe":"cpe:2.3:o:canonical:ubuntu_linux:12.04:*:*:*:esm:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.0"}],"vendor":"redhat","product":"enterprise_linux_desktop","cpe":"cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.0"}],"vendor":"redhat","product":"enterprise_linux_server","cpe":"cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.4"}],"vendor":"redhat","product":"enterprise_linux_server_aus","cpe":"cpe:2.3:o:redhat:enterprise_linux_server_aus:7.4:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.4"},{"status":"affected","version":"7.5"}],"vendor":"redhat","product":"enterprise_linux_server_eus","cpe":"cpe:2.3:o:redhat:enterprise_linux_server_eus:7.4:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"7.0"}],"vendor":"redhat","product":"enterprise_linux_workstation","cpe":"cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"xcp2361"},{"status":"affected","fixed":"xcp3070"}],"vendor":"fujitsu","product":"m10-1_firmware","cpe":"cpe:2.3:o:fujitsu:m10-1_firmware:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"xcp2361"},{"status":"affected","fixed":"xcp3070"}],"vendor":"fujitsu","product":"m10-4_firmware","cpe":"cpe:2.3:o:fujitsu:m10-4_firmware:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"xcp2361"},{"status":"affected","fixed":"xcp3070"}],"vendor":"fujitsu","product":"m10-4s_firmware","cpe":"cpe:2.3:o:fujitsu:m10-4s_firmware:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"xcp2361"},{"status":"affected","fixed":"xcp3070"}],"vendor":"fujitsu","product":"m12-1_firmware","cpe":"cpe:2.3:o:fujitsu:m12-1_firmware:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"xcp2361"},{"status":"affected","fixed":"xcp3070"}],"vendor":"fujitsu","product":"m12-2_firmware","cpe":"cpe:2.3:o:fujitsu:m12-2_firmware:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"xcp2361"},{"status":"affected","fixed":"xcp3070"}],"vendor":"fujitsu","product":"m12-2s_firmware","cpe":"cpe:2.3:o:fujitsu:m12-2s_firmware:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://usn.ubuntu.com/3554-2/","tags":["third-party-advisory","vendor-advisory","x-refsource-ubuntu","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://usn.ubuntu.com/3554-1/","tags":["third-party-advisory","vendor-advisory","x-refsource-ubuntu","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3558","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.debian.org/security/2018/dsa-4098","tags":["third-party-advisory","vendor-advisory","x-refsource-debian","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://curl.haxx.se/docs/adv_2018-b3bf.html","tags":["patch","vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://www.securitytracker.com/id/1040274","tags":["third-party-advisory","vdb-entry","x-refsource-sectrack","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2018:3157","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2018/01/msg00038.html","tags":["mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHBA-2019:0327","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2019:1543","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.oracle.com/technetwork/security-advisory/cpuoct2019-5072832.html","tags":["patch","third-party-advisory","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0544","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://access.redhat.com/errata/RHSA-2020:0594","tags":["third-party-advisory","vendor-advisory","x-refsource-redhat","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2022/04/27/4","tags":["mailing-list","third-party-advisory","x-refsource-mlist","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["Craig de Stigter","Daniel Stenberg"],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2018-1000007","url":"https://www.cve.org/CVERecord?id=CVE-2018-1000007","licence":"CVE Terms of Use","modified":"2024-08-05T12:33:48.439Z"},{"source":"curl","name":"curl","id":"CURL-CVE-2018-1000007","url":"https://osv.dev/vulnerability/CURL-CVE-2018-1000007","licence":"MIT","modified":"2026-10-25T01:04:49.290Z"},{"source":"nvd","name":"NVD","id":"CVE-2018-1000007","url":"https://nvd.nist.gov/vuln/detail/CVE-2018-1000007","licence":"Public domain","modified":"2026-06-17T01:32:11.740Z"}],"updatedAt":"2026-11-25T22:57:36.514Z","epss":{"score":0.09906,"percentile":0.95683,"date":"2026-12-01T12:00:22.000Z"}}