Vulnerabilities / CVE-2018-1000007

critical

CVE-2018-1000007

curl: HTTP authentication leak in redirects

Published Modified
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat6.5CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Trivy's own label is CRITICAL. Rated critical by NVD, Photon OS. Rated lower by Red Hat (medium), Amazon (medium), Oracle (medium), Ubuntu (medium).

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.

Affected packages and fixed versions

SourcePackageFixed in
Photon OS 1.0curl7.58.0-1.ph1
Photon OS 2.0curl7.58.0-1.ph2
amazon linux 1curl, curl-debuginfo, libcurl and 1 more7.53.1-14.81.amzn1
amazon linux 2curl, curl-debuginfo, libcurl and 3 more7.55.1-9.amzn2.0.1 and 1 more
debian 11curl7.58.0-1
debian 12curl7.58.0-1
debian 13curl7.58.0-1
debian 14curl7.58.0-1
debian 7curl7.26.0-1+wheezy24
debian 8curl7.38.0-4+deb8u9
debian 9curl7.52.1-5+deb9u4
echocurl7.58.0-1
Show all 38 entries from 22 sources
SourcePackageFixed in
Photon OS 1.0curl7.58.0-1.ph1
Photon OS 2.0curl7.58.0-1.ph2
amazon linux 1curl7.53.1-14.81.amzn1
amazon linux 1curl-debuginfo7.53.1-14.81.amzn1
amazon linux 1libcurl7.53.1-14.81.amzn1
amazon linux 1libcurl-devel7.53.1-14.81.amzn1
amazon linux 2curl7.55.1-9.amzn2.0.1
amazon linux 2curl-debuginfo7.55.1-9.amzn2.0.1
amazon linux 2libcurl7.55.1-9.amzn2.0.1
amazon linux 2libcurl-devel7.55.1-9.amzn2.0.1
amazon linux 2nss-pem1.0.3-5.amzn2
amazon linux 2nss-pem-debuginfo1.0.3-5.amzn2
debian 11curl7.58.0-1
debian 12curl7.58.0-1
debian 13curl7.58.0-1
debian 14curl7.58.0-1
debian 7curl7.26.0-1+wheezy24
debian 8curl7.38.0-4+deb8u9
debian 9curl7.52.1-5+deb9u4
echocurl7.58.0-1
Oracle Linux 7curl7.29.0-51.el7
Oracle Linux 7libcurl7.29.0-51.el7
Oracle Linux 7libcurl-devel7.29.0-51.el7
Oracle Linux 7nss-pem1.0.3-5.el7
Red Hatcurlno fix listed
Red Hatlibcurlno fix listed
Red Hatlibcurl-develno fix listed
Red Hatrh-dotnet21-curlno fix listed
Red Hatrh-dotnet21-libcurlno fix listed
Red Hatrh-dotnet21-libcurl-develno fix listed
root.io debian 11rootio-curl7.58.0-1
root.io debian 12rootio-curl7.58.0-1
root.io debian 13rootio-curl7.58.0-1
ubuntu 14.04curl7.35.0-1ubuntu2.14
ubuntu 14.04-ESMcurl7.35.0-1ubuntu2.14
ubuntu 16.04curl7.47.0-1ubuntu2.6
ubuntu 16.04-ESMcurl7.47.0-1ubuntu2.6
ubuntu 17.10curl7.55.1-1ubuntu2.3

References

All 21 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.