{"id":"GO-2024-2947","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.","aliases":["CVE-2024-6104","GHSA-v6v8-xj6m-xwqh"],"modified":"2026-07-17T21:17:28.819731838Z","published":"2024-06-25T19:47:45Z","database_specific":{"url":"https://pkg.go.dev/vuln/GO-2024-2947","review_status":"REVIEWED"},"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"}],"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"}}],"schema_version":"1.7.5"}