{"id":"GHSA-v6v8-xj6m-xwqh","revision":"4583f8cd3cc34c0b86ba2fc10a06ffce","records":[{"revision":"4583f8cd3cc34c0b86ba2fc10a06ffce","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-v6v8-xj6m-xwqh","aliases":["CVE-2024-6104","GO-2024-2947"],"title":"go-retryablehttp can leak basic auth credentials to log files","description":"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.","state":0,"publishedAt":"2024-06-24T18:31:37+00:00","modifiedAt":"2026-09-10T03:50:15.8414528+00:00","affected":[{"ecosystem":"Go","name":"github.com/hashicorp/go-retryablehttp","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.7.7"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://nvd.nist.gov/vuln/detail/CVE-2024-6104","https://github.com/hashicorp/go-retryablehttp/commit/a99f07beb3c5faaa0a283617e6eb6bcf25f5049a","https://discuss.hashicorp.com/c/security","https://discuss.hashicorp.com/t/hcsec-2024-12-go-retryablehttp-can-leak-basic-auth-credentials-to-log-files/68027","https://github.com/advisories/GHSA-v6v8-xj6m-xwqh","https://github.com/hashicorp/go-retryablehttp"],"sourceUrl":"https://github.com/advisories/GHSA-v6v8-xj6m-xwqh","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-v6v8-xj6m-xwqh","identifiers":["GHSA-v6v8-xj6m-xwqh","CVE-2024-6104","GO-2024-2947"]},"retained":false,"historicalAffected":[]}],"coverage":[]}