{"schema_version":"1.7.3","id":"GO-2024-2947","published":"2024-06-25T19:47:45Z","modified":"2026-02-04T04:30:23.096308Z","aliases":["CVE-2024-6104","GHSA-v6v8-xj6m-xwqh"],"related":["CGA-4cjm-rhx9-jc8w"],"summary":"Leak of sensitive information to log files in github.com/hashicorp/go-retryablehttp","details":"URLs were not sanitized when writing them to log files. This could lead to writing sensitive HTTP basic auth credentials to the log file.","affected":[{"package":{"name":"github.com/hashicorp/go-retryablehttp","ecosystem":"Go","purl":"pkg:golang/github.com/hashicorp/go-retryablehttp"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.7.7"}]}],"ecosystem_specific":{"imports":[{"path":"github.com/hashicorp/go-retryablehttp","symbols":["Client.Do","Client.Get","Client.Head","Client.Post","Client.PostForm","Get","Head","Post","PostForm","RoundTripper.RoundTrip"]}]},"database_specific":{"source":"https://vuln.go.dev/ID/GO-2024-2947.json"}}],"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-v6v8-xj6m-xwqh"},{"type":"FIX","url":"https://github.com/hashicorp/go-retryablehttp/commit/a99f07beb3c5faaa0a283617e6eb6bcf25f5049a"},{"type":"WEB","url":"https://discuss.hashicorp.com/t/hcsec-2024-12-go-retryablehttp-can-leak-basic-auth-credentials-to-log-files/68027"}],"database_specific":{"review_status":"REVIEWED","url":"https://pkg.go.dev/vuln/GO-2024-2947"}}