Loading HuntDB...

GHSA-g7x2-hrfp-pv5f

GitHub Security Advisory

⚠ Unreviewed CRITICAL Has CVE

Advisory Details

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.

Related CVEs

Key Information

GHSA ID
GHSA-g7x2-hrfp-pv5f
Published
April 30, 2022 12:02 AM
Last Modified
April 30, 2022 12:02 AM
CVSS Score
9.0 /10
Primary Ecosystem
Unknown
Primary Package
Unknown
GitHub Reviewed
✗ No

Dataset

Last updated: September 28, 2025 6:29 AM

Data from GitHub Advisory Database. This information is provided for research and educational purposes.