~ / search / GHSA-v6v8-xj6m-xwqh

GHSA-v6v8-xj6m-xwqh

go-retryablehttp can leak basic auth credentials to log files

Source: GitHub Advisory Database (reviewed) Moderate CVE-2024-6104

Packages

EcosystemPackageAffectedFixed in
Go github.com/hashicorp/go-retryablehttp < 0.7.7 0.7.7

Details

As written in the advisory (Markdown source, shown as plain text).

go-retryablehttp prior to 0.7.7 did not sanitize urls when writing them to its log file. This could lead to go-retryablehttp writing sensitive HTTP basic auth credentials to its log file. This vulnerability, CVE-2024-6104, was fixed in go-retryablehttp 0.7.7.

References

External links from the advisory. They lead to third-party sites.